From owner-freebsd-questions Mon Jan 21 17: 1:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Mail4.mgfairfax.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id 3471F37B402 for ; Mon, 21 Jan 2002 17:01:50 -0800 (PST) Received: from there ([24.163.115.240]) by Mail4.mgfairfax.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Mon, 21 Jan 2002 20:01:56 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Ray Kohler To: Ian Dowse Subject: Re: Boot Loader? Date: Mon, 21 Jan 2002 20:05:00 -0500 X-Mailer: KMail [version 1.3.2] Cc: Philip Pereira , freebsd-questions@FreeBSD.ORG References: <200201212348.aa85001@salmon.maths.tcd.ie> In-Reply-To: <200201212348.aa85001@salmon.maths.tcd.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <020ff5601011612FE4@Mail4.mgfairfax.rr.com> 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 On Monday 21 January 2002 06:48 pm, Ian Dowse wrote: > 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. My bad. I just hope the OP didn't go do it already. (Although I've run disklabel on non-dedicated disks before and had no problems from it. Huh.) -- Ray Kohler Every journalist has a novel in him, which is an excellent place for it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message