2008/3/17, Alexander E. Patrakov <[EMAIL PROTECTED]>:
> 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
Spoke too soon. Today this virtual machine refused to boot, for no
apparent reason. Grub2 drops to the rescue mode, and typing these two
commands brings the menu back:
insmod normal
normal
...even though, according to the source (kern/main.c, functions
grub_main() and grub_load_normal_mode()), loading the "normal" module
and switching to the normal mode are the first things that are
supposed to be done automatically and unconditionally.
I really don't want this to happen with your computer. Thus, please,
no Grub2 in LFS for now.
Also its ./configure script looks for ruby as an optional build-time
dependency, in order to convert unifont to a format that Grub
understands (required for graphical booting).
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page