Techie Notes‎ > ‎

Nuking the MBR using linux

posted Mar 18, 2010 11:13 AM by Tedman Leung
I always seem to have a need to nuke the MBR on disks... don't ask why, I just do. For those of us who use linux exclusively, we can't really use "fdisk /mbr" anymore. Here's a linux version of nuking the mbr.
               
dd if=/dev/zero of=/dev/sdb bs=512 count=1

Where sdb is the drive you want to nuke. Seems to always be a usb drive for me, that's why it's my example.