From owner-freebsd-hackers Thu Aug 31 16:35:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 6004F37B423 for ; Thu, 31 Aug 2000 16:35:50 -0700 (PDT) Received: from bellatlantic.net (client-151-198-117-238.nnj.dialup.bellatlantic.net [151.198.117.238]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id TAA22366; Thu, 31 Aug 2000 19:28:49 -0400 (EDT) Message-ID: <39AEEAC6.1F832303@bellatlantic.net> Date: Thu, 31 Aug 2000 19:31:18 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Robert Nordier Cc: "Gary T. Corcoran" , freebsd-hackers@FreeBSD.ORG Subject: Re: Booting Linux with FreeBSD booter (hack needed) References: <200008310804.KAA19347@c3-dbn-108.dial-up.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert Nordier wrote: > > Gary T. Corcoran wrote: > > > Now since the MBR booter "knows" that you don't boot DOS/Windows > > from an "extended" partition (type 5), it doesn't offer it as > > a boot choice. Now I could probably hack the booter (boot0 ?) > > to accept type 5 as a valid choice. But before I risk losing > > my whole (work) disk by messing with the MBR :), does anyone know if > > I do this, and install LILO (the linux loader) into my "extended" > > partition, will the MBR booter find the LILO booter to really > > be able to boot Linux? Or will the "extended dos" partition > > still confuse the MBR booter - that is, not find LILO where it > > expects it? > > Unfortunately any hack based around allowing selection of type 5 > partitions won't work. There's really no simple fix to get boot0 > booting stuff from within extended partitions. What about installing the FreeBSD MBR into the boot sector of the extended partition and calling it recursively ? That would require some changes to the MBR: it should be able to receive somehow the knowledge that it's loaded from an extended partition and the exact geometry of that partition. No, I'm not volunteering :-) -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message