Date: Mon, 1 Jul 2002 22:45:14 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Chan Tur Wei <twchan@singnet.com.sg> Cc: freebsd-hackers@freebsd.org Subject: Re: dual booting current/stable on x86? Message-ID: <15649.5050.486714.104483@grasshopper.cs.duke.edu> In-Reply-To: <20020702080738.Q19609-100000@zaapth.twnet.org> References: <15648.54278.323659.18641@grasshopper.cs.duke.edu> <20020702080738.Q19609-100000@zaapth.twnet.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Chan Tur Wei writes: > > I'm not sure how booting with lilo will work (never played with it). > > Instead, I dug around a bit previously, and I found that boot1.s reads: > # > # If we are on a hard drive, then load the MBR and look for the first > # FreeBSD slice. We use the fake partition entry below that points to > # the MBR when we call nread. The first pass looks for the first active > # FreeBSD slice. The second pass looks for the first non-active FreeBSD > # slice if the first one fails. > # > > 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. Excellent. Thanks for the pointer. Now I at least have some understanding of what's happening. Drew 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?15649.5050.486714.104483>