Friday, October 16, 2009

Quick format -AKA:Wipe the MBR

A quick and easy way to format a disk/flash disk using unix "dd":

This one will wipe both partition table + The Master Boot Record:
dd if=/dev/zero of=/dev/sdb1 bs=512 count=1

If you want to wipe out only the MBR and keep the partition table:
dd if=/dev/zero of=/dev/sdb1 bs=446 count=1

No comments: