Berkeley CSUA MOTD:Entry 26947
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/10 [General] UID:1000 Activity:popular
7/10    

2002/12/31 [Computer/HW/Drives] UID:26947 Activity:high
12/30   What's the best way in linux to delete or wipe the Master Boot
        Record of a hard disk.  I want to send it somewhere with nothing
        on it. essentially the way a HDD comes from the factory.
        \_ cat </dev/zero >/dev/hda (or /dev/hdb, or whatever) will wipe
           \_ Is there a Linux equivalent?
           the entire disk, including the MBR.  Be careful.
        \_ run FDISK /MBR
           \_ What happens if i run "lilo -u" and I had no MBR backup?