From owner-freebsd-hackers Sat Jul 20 23:11:12 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 0DDAD37B400 for ; Sat, 20 Jul 2002 23:11:10 -0700 (PDT) Received: from TMA-1.brad-x.com (static-b2-191.highspeed.eol.ca [64.56.236.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CFBC43E4A for ; Sat, 20 Jul 2002 23:11:09 -0700 (PDT) (envelope-from brad@brad-x.com) Received: from brad-x.com (Odyssey.brad-x.com [201.64.15.24]) by TMA-1.brad-x.com (Postfix) with ESMTP id B8E0E22104A; Sun, 21 Jul 2002 02:12:03 -0400 (EDT) Date: Sun, 21 Jul 2002 02:09:52 -0400 From: Brad Laue To: "Artem 'Zazoobr' Ignatjev" 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> Organization: brad-x.com X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Sat, 20 Jul 2002 17:47:45 +0400 "Artem 'Zazoobr' Ignatjev" 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