From owner-freebsd-hackers Mon Jul 1 13:11:21 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 7231637B400 for ; Mon, 1 Jul 2002 13:11:18 -0700 (PDT) Received: from smtp.noos.fr (verlaine.noos.net [212.198.2.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6428A43E26 for ; Mon, 1 Jul 2002 13:11:17 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 26675658 invoked by uid 0); 1 Jul 2002 20:11:15 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.73 (qmail-ldap-1.03) with SMTP for ; 1 Jul 2002 20:11:15 -0000 Received: from gits.gits.dyndns.org (oiqxpvuut89dgr6g@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g61KBEtY067200; Mon, 1 Jul 2002 22:11:14 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g61KBAD0067199; Mon, 1 Jul 2002 22:11:10 +0200 (CEST) (envelope-from root) Date: Mon, 1 Jul 2002 22:11:10 +0200 From: Cyrille Lefevre To: Andrew Gallatin Cc: freebsd-hackers@freebsd.org Subject: Re: dual booting current/stable on x86? Message-ID: <20020701201110.GE63216@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , Andrew Gallatin , freebsd-hackers@freebsd.org References: <15647.44810.349831.994344@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15647.44810.349831.994344@grasshopper.cs.duke.edu> User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 what is the content of /boot/loader.conf and /boot/loader.conf.local for each FreeBSD ? did you tryed grub which is far better than lilo :P 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 ? Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message