Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 23:48:35 +0000
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Ray Kohler <rkohler1@cox.rr.com>
Cc:        Philip Pereira <info@wintellect.co.uk>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Boot Loader? 
Message-ID:   <200201212348.aa85001@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Mon, 21 Jan 2002 17:51:59 EST." <0a3135548221512FE4@Mail4.mgfairfax.rr.com> 

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




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