On 2010年06月28日 10:51, Bruce Dubbs wrote: > > The discussion is made a bit complicated because the same term is used > for grub's root (set root= or perhaps search) and the kernel's root > (root=/dev/sda7 in this example).
"root=/dev/sda7" after kernel's image belongs to kernel's parameters. It's passed to kernel without any changes. we can get kernel's parameters by parsing file /proc/cmdline. I think initrd image get root partition by parsing that file. I don't think grub cares about kernel's parameters. file systems' uuid and root variable used by grub is irrelevant to "root=/dev/sdax" or "root=UUID=xxxxxxx-xxxxxx" used by kernel's parameters or initrd image. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page