I have just successfully booted a pure64 system using grub2 with no
modifications to the source code. The only catch is that a few of the
tests can't be run without a 32bit libgcc.a. The easiest way to work
around this is with a few config.cache entries.
cat > config.cache < "EOF"
grub_cv_check_edata_symbol=yes
grub_cv_check_end_symbol=yes
grub_cv_check_uscore_edata_symbol=yes
grub_cv_check_uscore_end_symbol=yes
grub_cv_check_uscore_start_symbol=yes
grub_cv_check_uscore_uscore_bss_start_symbol=yes
grub_cv_i386_check_nested_functions=no
EOF
To compile and install the package.
./configure --prefix=/usr --cache-file=config.cache &&
make &&
make install
The bootloader configuration.
mkdir -p /boot/grub &&
cat > /boot/grub/grub.cfg << "EOF"
set timeout=30
set default=0
menuentry "Linux 2.6.22.1" {
linux (hd0,1)/kernel-2.6.22.1 root=/dev/hda1
}
EOF
Installing the bootsector.
grub-setup --directory=/boot/grub --device-map=/boot/grub/device.map /dev/hda
Everything I learned came from this wiki: http://grub.enbug.org/
I'd like to see if we can move away from lilo and towards grub2 before
the next release. I have not built grub2 for anything besides x86 /
x86_64, but if those other architectures seem stable It might not be a
bad idea to use it there either. Comments?
-Joe
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev