Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 11:43:51 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        algould@datawok.com (Andrew L. Gould)
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Undo MBR
Message-ID:  <200309041543.h84Fhq7L012846@clunix.cl.msu.edu>
In-Reply-To: <200309041041.11669.algould@datawok.com> from "Andrew L. Gould" at Sep 04, 2003 10:41:11 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
> 
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309041543.h84Fhq7L012846>