From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 17:16:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7D8016A4BF for ; Thu, 4 Sep 2003 17:16:57 -0700 (PDT) Received: from webserver.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E873043FE1 for ; Thu, 4 Sep 2003 17:16:55 -0700 (PDT) (envelope-from oremanj@webserver.get-linux.org) Received: (qmail 27407 invoked by uid 1000); 5 Sep 2003 00:19:05 -0000 Date: Thu, 4 Sep 2003 17:19:05 -0700 From: Joshua Oreman To: Paul Murphy Message-ID: <20030905001905.GB27357@webserver> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030904175838.5e7d4e94.pnmurphy@cogeco.ca> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Undo MBR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 00:16:57 -0000 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 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