From owner-freebsd-hackers Mon Jul 1 15:14: 2 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 B55D537B400 for ; Mon, 1 Jul 2002 15:13:57 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0646943E09 for ; Mon, 1 Jul 2002 15:13:57 -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 SAA06878; Mon, 1 Jul 2002 18:13:56 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g61MDQn22403; Mon, 1 Jul 2002 18:13:26 -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: <15648.54278.323659.18641@grasshopper.cs.duke.edu> Date: Mon, 1 Jul 2002 18:13:26 -0400 (EDT) To: Cyrille Lefevre Cc: freebsd-hackers@freebsd.org Subject: Re: dual booting current/stable on x86? In-Reply-To: <20020701201110.GE63216@gits.dyndns.org> References: <15647.44810.349831.994344@grasshopper.cs.duke.edu> <20020701201110.GE63216@gits.dyndns.org> 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 Cyrille Lefevre writes: > On Sun, Jun 30, 2002 at 09:23:22PM -0400, Andrew Gallatin wrote: > > > > 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.. > > what is the problem w/ the following entries ? > > other=/dev/hde2 > label=stable > alias=s > table=/dev/hde > loader=/boot/chain.b > other=/dev/hde3 > label=current > alias=c > table=/dev/hde > loader=/boot/chain.b Just that it behaves exactly as described above -- they both boot -stable. > what is the content of /boot/loader.conf and /boot/loader.conf.local > for each FreeBSD ? /boot/loader.conf: -stable: hw.ata.wc=1 -current: console="comconsole" /boot/loader.conf.local is empty both places. > did you tryed grub which is far better than lilo :P x86 bootloaders terrify me, so I have not tried grub. Does grub understand reiserfs? > you could also take a look at /usr/share/examples/bootforth then > have something like : > > /boot/stable.conf > currdev="disk1s2a" > rootdev="disk1s2a" > > /boot/current.conf > currdev="disk1s3a" > rootdev="disk1s3a" > > hope this help ? Thanks.. it did help. I just discovered liloboot. I may just hack myself together a custom liloboot and forget about it. That seems to be the most straightforward solution. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message