Date: Wed, 04 Dec 2002 11:14:30 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Wesley Morgan <morganw@chemikals.org> Cc: current@freebsd.org Subject: Re: GEOM + GRUB = ?? Message-ID: <3DEE5416.A740CAB7@mindspring.com> References: <20021204140452.L59464-100000@volatile.chemikals.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Wesley Morgan wrote: > Trying to install a new version of GRUB not having much success. I'm > wondering if GEOM is interacting with it in some strange way. I am fairly > certain grub reads the partitions itself, but this would be through the > geom layer would it not? The port might need to be marked broken for 5.0, > or someone with geom know-how submit a patch to the grub folks (if that is > really the problem). > > Can anyone else verify this? I'm using grub with a device-map file that > used to work just fine. GEOM is merely a byte array layout manager interface layer, of the type I first described BSD needing in about 1995 (according to Google). As such, GEOM is just an abstraction, and just for FreeBSD. The GRUB stuff does not use GEOM, because GEOM is an abstraction that lives in FreeBSD only. GRUB reads the data directly, itself. To do this, it has to have some knowledge of how to at least get at the code in the boot1/boot2 case (try booting one of the files in /boot instead of /kernel), and it needs to understand the FS layout for where the files are stored, and/or use a sector map. It will need to be updated for UFS2, when that becomes an issue. You need to provide a little more information about your failure to PHK or Bruce Evans, who will be able to better tell you how to deal with the FreeBSD boot code. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DEE5416.A740CAB7>