Trent Shea wrote: > On Saturday 12 September 2009 11:14:59 Bruce Dubbs wrote: >> I have written a GRUB2 hint at >> >> http://www.linuxfromscratch.org/hints/downloads/files/grub2.txt >> >> The intent was to prototype a change to the book's section 8.4. I'd >> appreciate it if some of you would try out the instructions and >> give me feedback. >> > > Looks good Bruce. I just followed your hint to boot into a fresh lfs-6.5 > system built on an ext4 partition. The only deviation I made from your > instructions was to append /dev/sda to the command in step four - no > biggie. > > Thanks for the hint, this saved me a lot of time today.
I'm glad it worked for you. I'm a bit confused about your change though: ./grub-setup --help Usage: grub-setup [OPTION]... DEVICE Set up images to boot from DEVICE. DEVICE must be a GRUB device (e.g. ``(hd0,1)''). -b, --boot-image=FILE use FILE as the boot image [default=boot.img] -c, --core-image=FILE use FILE as the core image [default=core.img] -d, --directory=DIR use GRUB files in the directory DIR [default=/boot/grub] -m, --device-map=FILE use FILE as the device map [default=/boot/grub/device.map] -r, --root-device=DEV use DEV as the root device [default=guessed] -f, --force install even if problems are detected -h, --help display this message and exit -V, --version print version information and exit -v, --verbose print verbose messages I guess the statement about 'DEVICE must be a GRUB device' is a bit too stringent. I am waiting for the 1.97 release and then I'll put it in the book as a replacement for 0.97. That will make LFS much more compatible with multiple architectures. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page