Usage: sgdisk [OPTION...] -A, --attributes=list|[partnum:show|or|nand|xor|=|set|clear|toggle|get[:bitnum|hexbitmask]] operate on partition attributes -a, --set-alignment=value set sector alignment -b, --backup=file backup GPT to file -B, --byte-swap-name=partnum byte-swap partition's name -c, --change-name=partnum:name change partition's name -C, --recompute-chs recompute CHS values in protective/hybrid MBR -d, --delete=partnum delete a partition -D, --display-alignment show number of sectors per allocation block -e, --move-second-header move second/backup header to end of disk -E, --end-of-largest show end of largest free block -f, --first-in-largest show start of the largest free block -F, --first-aligned-in-largest show start of the largest free block, aligned -g, --mbrtogpt convert MBR to GPT -G, --randomize-guids randomize disk and partition GUIDs -h, --hybrid=partnum[:partnum...][:EE] create hybrid MBR -i, --info=partnum show detailed information on partition -I, --align-end align partition end points -j, --move-main-table=sector change the start sector of the main partition table -k, --move-backup-table=sector change the start sector of the second/backup partition table -l, --load-backup=file load GPT backup from file -L, --list-types list known partition types -m, --gpttombr=partnum[:partnum...] convert GPT to MBR -n, --new=partnum:start:end create new partition -N, --largest-new=partnum create largest possible new partition -o, --clear clear partition table -O, --print-mbr print MBR partition table -p, --print print partition table -P, --pretend make changes in memory, but don't write them -r, --transpose=partnum:partnum transpose two partitions -R, --replicate=device_filename replicate partition table -s, --sort sort partition table entries -S, --resize-table=numparts resize partition table -t, --typecode=partnum:{hexcode|GUID} change partition type code -T, --transform-bsd=partnum transform BSD disklabel partition to GPT -u, --partition-guid=partnum:guid set partition GUID -U, --disk-guid=guid set disk GUID -v, --verify check partition table integrity -V, --version display version information -z, --zap zap (destroy) GPT (but not MBR) data structures -Z, --zap-all zap (destroy) GPT and MBR data structures Help options: -?, --help Show this help message --usage Display brief usage message