Greg Schafer wrote: > On Thu, 29 Oct 2009 00:48:05 -0500, Bruce Dubbs wrote: > >> I have updated the book to GRUB-1.97. > > Grub2 appears to have a major regression in that installing into the PBR > no longer works. Note - I'm talking about non-MBR installs, ie: > installing Grub into a Partition Boot Record. > > I haven't looked into this in any depth yet, as I only discovered it > while testing out Ubuntu 9.10 which has moved to Grub2. > > Background - I tend to have a zillion OS's installed (both Linux and non- > Linux) and use a thing called Smart Boot Manager to manage the MBR. For > example, if I install Ubuntu 9.04 on sda9, installing the Grub that comes > with Ubuntu 9.04 into the PBR of sda9 keeps things quite tidy and self- > contained. This scenario has worked well for years... > > I'd be interested in hearing about the Grub2 escapades of others who are > accustomed to installing Grub into a PBR.
Greg, I just updated LFS to GRUB-1.97.1 correcting a problem with password protection. LFS is not really designed to handle every possible booting scenerio. Indeed only installing the on the mbr with a boot partition of ext2/3 is really being addressed. Anything else requires additional software, e.g. reiserfsprogs, xfsprogs, cramfs, fat, hpfs, jfs, cdfs, zfs, etc. Looking at http://en.wikipedia.org/wiki/List_of_file_systems, there are more than a hundred file systems. In addition booting to a LVM based partition or via another boot loader are other issues altogether. I don't know for sure, but I think that install into a PBR is a configuration issue. For instance, I can put GRUB-0.97 (GRUB Legacy) on the mbr and then boot GRUB2 (1.97.1) from there by specifying /boot/grub/core.img as the kernel. You do know that partitions count from 1 (one) and not 0 (zero) in GRUB2, right? You might try asking a question on the GRUB irc channel: irc.freenode.org #grub. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page