Sgdisk

From Useful Things
Jump to: navigation, search

Wipe MBR and GPT partition tables

sgdisk -Z /dev/sdX

-Z same as --zap-all — Zap (destroy) the GPT and MBR data structures and then exit.