On 7/1/10, Andrew Benton <b3n...@gmail.com> wrote:

> Why would we say that? You've not shown any meaningful use for the
> search lines on an LFS system.


Rather than stating "The search lines are not meaningful ...",
this exercise has revealed that the next 2 lines are equivalent in their effect:

search --no-floppy --fs-uuid --set 11b62acd-ee91-43f7-a619-c4b5cb5fa5e7
set root=UUID=11b62acd-ee91-43f7-a619-c4b5cb5fa5e7

and either of the above 2 lines supercede a line like this:
set root=(hd4,10)

whichever one occurs last.

So I found that I can have it like this if I choose:
menuentry "GNU/Linux, with Linux 2.6.33 (UUID)" {
        insmod ext2
        set root=UUID=11b62acd-ee91-43f7-a619-c4b5cb5fa5e7
        linux   /boot/vmlinux-2.6.33
}

In the LFS spirit of learning how linux works, I found learning
something about how the esoteric grub2 works to be meaningful. Anyone
is welcome to disagree.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to