From owner-freebsd-hackers Sun Jun 30 18:23:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C6D737B400 for ; Sun, 30 Jun 2002 18:23:53 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0207D43E09 for ; Sun, 30 Jun 2002 18:23:53 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id VAA06956 for ; Sun, 30 Jun 2002 21:23:52 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g611NMg20713; Sun, 30 Jun 2002 21:23:22 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15647.44810.349831.994344@grasshopper.cs.duke.edu> Date: Sun, 30 Jun 2002 21:23:22 -0400 (EDT) To: freebsd-hackers@freebsd.org Subject: dual booting current/stable on x86? X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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