To wipe the entire disk clean you can type dd if=/dev/zero of=/dev/sdx but this will take a very long time, and is not necessary.
Instead, wipe just the first MB of each partition like so: dd if=/dev/zero of=/dev/sdx1 count=2048 (repeat for sdx2 ... etc).
Then use gdisk to wipe all traces of the GPT and MBR: gdisk -Z /dev/sdx (Run this command twice.)
Now your disk is clean, unformatted, and un-partitioned so you can install any OS you want.
Mac BoyMember Since 21 Mar 2006
Offline Last Active Nov 27 2016 07:12 PM
- Group Members
- Active Posts 98
- Profile Views 2,655
- Member Title InsanelyMac Protégé
- Age Age Unknown
- Birthday Birthday Unknown