Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2001 13:50:59 +0100
From:      "Torfinn Ingolfsen" <torfinn.ingolfsen@oslo.online.no>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   Two FreeBSDs on same disk, booting secondary slice?
Message-ID:  <3BEE8243.1115.97AA66@localhost>

next in thread | raw e-mail | index | archive | help
I've tried out this question in the newsgroups with no answer, 
maybe some of you will know the answer.
My work laptop (an IBM ThinkPad X20) has serveral OS'es 
installed. I have Win2K, Mandrake Linux and FreeBSD.

For various reasons, I wish to have 2 FreeBSD installations on
this disk. FreeBSD 4.3 is installed on slice 3 (ad0s3), and 
FreeBSD 4.4 is installed on slice 4 (ad0s4). (This will have 
FreeBSD-current on it later, for testing purposes).

The problem is, when FreeBSD boots, it automatically takes the 
first FreeBSD slice and boots from that.
How do I make the boot process automatically boot from the slice 
I've choosen in the boot menu?
if I interrupt the boot process, I can always set curredev, unload and
load the kernel, but that isn't good enough.

For info, I'm using LILO as the boot loader, and I specify the correct
partition ("slice") there, slice 3 is hda3 and slice 4 is hda4. But,
when the FreeBSD boot loader starts, it still boots the first 
FreeBSD slice. For various reasons, I do not wish to use booteasy, 
if I can avoid it.

I've read all I can about /boot/loader.conf etc., but I can't seem to 
get this to work. Pointers to relevant info?
-- 
Torfinn Ingolfsen,
Norway

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BEE8243.1115.97AA66>