Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 17:19:05 -0700
From:      Joshua Oreman <oremanj@get-linux.org>
To:        Paul Murphy <pnmurphy@cogeco.ca>
Cc:        questions@freebsd.org
Subject:   Re: Undo MBR
Message-ID:  <20030905001905.GB27357@webserver>
In-Reply-To: <20030904175838.5e7d4e94.pnmurphy@cogeco.ca>
References:  <20030903181348.5cbfcabb.pnmurphy@cogeco.ca> <200309031800.30413.dkelly@HiWAAY.net> <20030904121125.GC88888@happy-idiot-talk.infracaninophile.co.uk> <20030904173804.6000c9cb.pnmurphy@cogeco.ca> <20030904175838.5e7d4e94.pnmurphy@cogeco.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 04, 2003 at 05:58:38PM -0400 or thereabouts, Paul Murphy wrote:
> On Thu, 4 Sep 2003 17:38:04 -0400
> > Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
> > > Errr... That's a little excessive.  The quick way to remove the
> > > FreeBSd boot manager and restore a standard MBR is:
> > > 
> > >     # boot0cfg -B -b /boot/mbr ad0
> > > 
> > > (The OP might want to do that on his data disk ad2 as well).  No
> > > changes to the filesystems on those disks should be necessary.
> > > 
> > 
> >  THAT'S what I was looking for! I knew it should have something to do
> > with boot0cfg, just didn't read the man page closely enough I guess.
> > 
> 
>  Hmm, problems...
> 
> # boot0cfg -B -b /boot/mbr ad0
> # boot0cfg: /boot/mbr: unknown or incompatible boot code

You need
# fdisk -B -b /boot/mbr ad0

-- Josh



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