Undo MBR

Jerry McAllister jerrymc at clunix.cl.msu.edu
Thu Sep 4 08:44:01 PDT 2003


> > Actually, the first dd sometimes fails, if the disk has never had
> > anything put on it.   If so, just ignore it and go on with the fdisk.
> >
> > ////jerry
> 
> If you have a bootable DOS disk with fdisk, you can clear the MBR without 
> destroying partitions by executing:
> 
> fdisk /mbr

You should be able to do something similar with FreeBSD fdisk and the
corresponding switches/parameters, but the questioner said there was 
nothing to save on the disk and wanted to wipe it, so...

////jerry

> 
> In my pre-FreeBSD days, I used to do this to clear LILO out after removing a 
> Linux installation so that it would boot to Windows.
> 
> Best of luck,
> 
> Andrew Gould
> 
> 
> 
> 



More information about the freebsd-questions mailing list