-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
sgdisk: add page #19290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
sgdisk: add page #19290
Conversation
|
The build for this PR failed with the following error(s) at commit Please fix the error(s) and push again. |
| @@ -0,0 +1,37 @@ | |||
| # sgdisk | |||
|
|
|||
| > Command-line tool for managing GUID Partition Tables (GPT) on Linux and Unix. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| > Command-line tool for managing GUID Partition Tables (GPT) on Linux and Unix. | |
| > Manage GUID Partition Tables (GPT). |
|
|
||
| - Convert a GPT disk to MBR format using up to four partitions: | ||
|
|
||
| `sgdisk {{[-m|--gpttombr]}}={{1:2:3:4}} {{/dev/sdX}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `sgdisk {{[-m|--gpttombr]}}={{1:2:3:4}} {{/dev/sdX}}` | |
| `sgdisk {{[-m|--gpttombr]}} {{1:2:3:4}} {{/dev/sdX}}` |
Does the command work without =?
|
|
||
| - Delete a partition entry by number (data in sectors remains untouched): | ||
|
|
||
| `sgdisk {{[-d|--delete]}}={{1}} {{/dev/sdX}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `sgdisk {{[-d|--delete]}}={{1}} {{/dev/sdX}}` | |
| `sgdisk {{[-d|--delete]}} {{1}} {{/dev/sdX}}` |
Same question here
|
|
||
| - Save the current in-memory GPT data (protective MBR, headers, and table) to a binary backup file: | ||
|
|
||
| `sgdisk {{[-b|--backup]}}={{/path/to/backup.gpt}} {{/dev/sdX}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `sgdisk {{[-b|--backup]}}={{/path/to/backup.gpt}} {{/dev/sdX}}` | |
| `sgdisk {{[-b|--backup]}} {{/path/to/backup.gpt}} {{/dev/sdX}}` |
|
|
||
| - Load GPT data from a backup file (restoring from a non-original disk is not recommended): | ||
|
|
||
| `sgdisk {{[-l|--load-backup]}}={{/path/to/backup.gpt}} {{/dev/sdX}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `sgdisk {{[-l|--load-backup]}}={{/path/to/backup.gpt}} {{/dev/sdX}}` | |
| `sgdisk {{[-l|--load-backup]}} {{/path/to/backup.gpt}} {{/dev/sdX}}` |
Checklist
common,linux,osx,windows,sunos,android, etc.Closes: #19275