Date: Sat, 20 Jul 2002 17:47:45 +0400 From: "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru> To: freebsd-hackers@freebsd.org Subject: Booting FreeBSD from extended partitions Message-ID: <20020720174745.A33016@memphis.mephi.ru>
next in thread | raw e-mail | index | archive | help
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. 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?20020720174745.A33016>