Date: Sun, 21 Jul 2002 02:09:52 -0400 From: Brad Laue <brad@brad-x.com> To: "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru> Cc: freebsd-hackers@freebsd.org Subject: Re: Booting FreeBSD from extended partitions Message-ID: <20020721020952.4e61aefc.brad@brad-x.com> In-Reply-To: <20020720174745.A33016@memphis.mephi.ru> References: <20020720174745.A33016@memphis.mephi.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Jul 2002 17:47:45 +0400 "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru> wrote: > Hi, people of freebsd-hackers@, > I'm currently trying to make FreeBSD boot from extended > partitions (of course, with help of boot mgr - in my case that's WinNT > loader), and not without any progress: After patching /boot/loader to > understand EXT_X partition type, I'm able to boot from /dev/ad4s9. > Now I'm trying to make boot1 traverse through that big number of > nested extendeds, feeding boot2 with the correct slice number, but my > not so big knowledge about asm programming (especially AT&T) made me > unable to do this correctly - now my version of boot1 takes a bit more > than sector length (548 bytes instead of 512). > Another way, which seems to me too ugly (but I'm forced to use > it for now) is to make boot1 recognize extended slices like a freebsd > ones, and place patched code of boot2 in free space of first extended > slice, which looks for freebsd slice itself. > If someone is interested, I can place my code somewhere on the > net to see whether one may optimize it more than I can. > p.s. I've also wrote a patch for fdisk which allowed it to see all > partitions of disk, but it didn't attract attention of anyone from > commiters, though. > Sinceherely yours, Artem 'Zazoobr' Ignatjev. I'd be very interested in seeing your progress on this, and I think Simon 'corecode' Schultz would be as well - looking forward to it! Attach it to your reply. -- // -- http://www.BRAD-X.com/ -- // 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?20020721020952.4e61aefc.brad>