From owner-freebsd-questions Mon Jan 21 15:48:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 304F137B402 for ; Mon, 21 Jan 2002 15:48:36 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 21 Jan 2002 23:48:35 +0000 (GMT) To: Ray Kohler Cc: Philip Pereira , freebsd-questions@FreeBSD.ORG Subject: Re: Boot Loader? In-Reply-To: Your message of "Mon, 21 Jan 2002 17:51:59 EST." <0a3135548221512FE4@Mail4.mgfairfax.rr.com> Date: Mon, 21 Jan 2002 23:48:35 +0000 From: Ian Dowse Message-ID: <200201212348.aa85001@salmon.maths.tcd.ie> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <0a3135548221512FE4@Mail4.mgfairfax.rr.com>, Ray Kohler writes: >> Currently my system uses the standard MBR to point to the hard >> disk for booting, but I want to go a step further.... >> >> (A) How can I install the 'FreeBSD Boot Loader' at this late >> stage without damaging my current installation? > >Run "disklabel -B ad0" (substitute another disk for ad0 if >appropriate.) You can do this now or after installing linux, it >doesn't matter. The disklabel program is normally used to replace the boot code within the FreeBSD slice, not the MBR (with "dangerously dedicated" disks it does touch the MBR). The utility that you want is "boot0cfg", which installs and configures the "F1 FreeBSD" style MBR boot manager. Just run boot0cfg -Bv ad0 and this will replace the standard MBR code with the boot0 boot manager. Type "man boot0cfg" for more information. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message