2008/3/17, Greg Schafer <[EMAIL PROTECTED]>:
> What about Grub2? The time must be getting near.. Anyone use it?

I was able to make it work in QEMU in the "new ext3 on LVM2 on
/dev/hda1, no /boot partition" case. But the lack of up-to-date
documentation in the tarball and incompleteness of the documentation
at http://grub.enbug.org/FrontPage are, IMHO, major obstacles, and due
to this, I would like LFS to be a bit more conservative (i.e., not
dump two problems on the reader--LFS itself and new GRUB; successful
education is always gradual education).

Instructions for the impatient:

lzo-2.02: ./configure --prefix=/usr && make && make install
grub-1.96: ./configure --prefix=/usr --sysconfdir=/etc && make && make install

# the need to add --modules="pc" is a bug,
# grub-install is advertised to be able to autodetect the needed modules
grub-install --modules="pc" /dev/hda

cat >/boot/grub/grub.cfg <<"EOF"
set default=0
set timeout=5
set root=(myvg-root)
terminal console

menuentry "LFS-6.3 on LVM" {
    linux /boot/linux root=/dev/myvg/root
    initrd /boot/initramfs_data.cpio.gz
}

EOF

Configuration can be adjusted to show a JPEG image in the background
and have a nice font, but I think that the above example is enough.

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to