[nflug] Erasing MBRs

David J. Andruczyk djandruczyk at yahoo.com
Wed Feb 22 15:05:40 EST 2006


dd if=/dev/zero of=/dev/hda bs=512 count=1 

will also wipe just the mbr. bs = block size (512, in bytes) count=1
means only wipe out only 1 block (512 bytes) worth



--- Cyber Source <peter at thecybersource.com> wrote:

> Tommy Rogers wrote:
> > Hello,
> >
> > The master boot records both of my IDE hard drives are messed up. 
> Is 
> > there a way to reset them, erase them, or do something so they can 
> > work again?
> >
> > Thanks!
> >
> > _______________________________________________
> > nflug mailing list
> > nflug at nflug.org
> > http://www.nflug.org/mailman/listinfo/nflug
> >
> 98ebd = fdisk /mbr
> 2000/xp = console fix mbr
> Linux = rescue cd/os = dd bs=1k if=/dev/zero of=/dev/xxx? (this will 
> write zeros to the entire drive and blank the mbr.
> Linux = grub-install /dev/xxx will overwrite the mbr.
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 


Dave J. Andruczyk

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list