[lug] hosing /mbr without a rescue disk

Jeff Schroeder jeff at neobox.net
Thu Dec 12 09:21:37 MST 2002


> > To hose just the mbr, you only need:
> >
> > dd if=/dev/zero of=/dev/hda bs=512 count=1
>
> Can that be right?  That's 512 *bytes*.  Less than 7 lines of text
> (or 7 punch cards ;-)

Yes, the MBR of a hard drive is 512 bytes.  It's really just a pointer 
to the actual boot sector on the drive, so it doesn't need to be a lot 
of data.

Jeff



More information about the LUG mailing list