Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2002 21:23:22 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-hackers@freebsd.org
Subject:   dual booting current/stable on x86?
Message-ID:  <15647.44810.349831.994344@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

How do I dual boot -current and -stable from different slices on the
same IDE disk? (and linux too.) 

When I tell lilo to boot "hde3", I get the -stable boot2 and
/boot/loader from "hde2" (ad4s2a).  I can then monkey around setting
currdev and hints and unloading the -stable kernel & then boot
-current, but I'd like to just pop right into -current on ad4s3a if I
choose it.

Is there a magic bullet?  I'd like to continue using lilo so that I
can choose what OS to load via a serial console..

Thanks,

Drew

The data for partition 1 is:
sysid 131 (0x83),(Linux native)
    start 63, size 10522512 (5137 Meg), flag 0
    beg: cyl 0/ head 1/ sector 1;
    end: cyl 654/ head 254/ sector 63
The data for partition 2 is:		<<<--- STABLE
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 12578895, size 12562830 (6134 Meg), flag 80 (active)
    beg: cyl 783/ head 0/ sector 1;
    end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:		<<<--- CURRENT
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 25141725, size 13960485 (6816 Meg), flag 80 (active)
    beg: cyl 1023/ head 255/ sector 63;
    end: cyl 1023/ head 254/ sector 63





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




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