From owner-freebsd-hackers Mon Jul 1 21:23:54 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 B22AE37B400 for ; Mon, 1 Jul 2002 21:23:48 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E385F43E0A for ; Mon, 1 Jul 2002 21:23:46 -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 AAA14258; Tue, 2 Jul 2002 00:23:46 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g624NGA22687; Tue, 2 Jul 2002 00:23:16 -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: <15649.10932.4485.446071@grasshopper.cs.duke.edu> Date: Tue, 2 Jul 2002 00:23:16 -0400 (EDT) To: Chan Tur Wei Cc: freebsd-hackers@freebsd.org Subject: Re: dual booting current/stable on x86? In-Reply-To: <20020702080738.Q19609-100000@zaapth.twnet.org> References: <15648.54278.323659.18641@grasshopper.cs.duke.edu> <20020702080738.Q19609-100000@zaapth.twnet.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 Chan Tur Wei writes: > So unless someone specifically sets the active partition, the 1st FreeBSD > one, usually -stable, will get loaded. Since boot1+boot2 is loaded by the > partition boot boot0, or the standard DOS boot (or, even MS's multi boot > selector), the above may cause the 2nd FreeBSD slice to never get loaded. > > Incidentally, our booteasy (boot0.s) is one such someone. Maybe if lilo > or liloboot does the same thing, it will work too. Yep, it turns out that you can make lilo set a partition active and/or deactivate a partition via lilo's "change" keyword: other = /dev/hde2 label=stable alias=s table=/dev/hde loader=/boot/chain.b change partition=/dev/hde2 activate partition=/dev/hde3 deactivate other = /dev/hde3 label=current alias=c table=/dev/hde loader=/boot/chain.b change partition=/dev/hde3 activate partition=/dev/hde2 deactivate Thanks again for the pointer; I'm now booting directly to -current. Perhaps this should be a FAQ entry.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message