sgdisk
Verified for current stable LTS
Sgdisk Command: Delete Partition Entry By Number
Use for delete partition entry by number with Sgdisk. Exact CLI syntax to delete partition entry by number using Sgdisk.
When to use this: Use for delete partition entry by number with Sgdisk.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
sudo sgdisk -d <1> </dev/sdX> sudo sgdisk -d <1> </dev/sdX> Command Breakdown
-d- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to delete partition entry by number using Sgdisk.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Sgdisk Command: Convert Gpt Disk To Mbr
sudo sgdisk -m {1:2:3:4} </dev/sdX> Sgdisk Command: Display Partition Summary Data sudo sgdisk -p </dev/sdX> Sgdisk Command: List Available Partition Type Codes sgdisk -L Sgdisk Command: Load Gpt Data From Backup File sudo sgdisk -l </path/to/backup.gpt> </dev/sdX> Sgdisk Command: Save Gpt Data To Binary Backup File sudo sgdisk -b </path/to/backup.gpt> </dev/sdX>