Difference between revisions of "Sgdisk"
From Useful Things
(Created page with "== Wipe MTR and GPT partition tables == <pre> sgdisk -Z /dev/sdX </pre> <code>-Z</code> same as <code>--zap-all</code> — Zap (destroy) the GPT and MBR data structures an...") |
(→Wipe MBR and GPT partition tables) |
||
| Line 1: | Line 1: | ||
| − | == Wipe | + | == Wipe MBR and GPT partition tables == |
<pre> | <pre> | ||
sgdisk -Z /dev/sdX | sgdisk -Z /dev/sdX | ||
</pre> | </pre> | ||
<code>-Z</code> same as <code>--zap-all</code> — Zap (destroy) the GPT and MBR data structures and then exit. | <code>-Z</code> same as <code>--zap-all</code> — Zap (destroy) the GPT and MBR data structures and then exit. | ||
Latest revision as of 12:54, 22 March 2015
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.