HouHongxun wrote:
> "root=/dev/sda7" after kernel's image belongs to kernel's parameters.

Right, but irrelevant here, see below.  :-)

> 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.

Correct, but also irrelevant.  :-)

Bruce's point (which I agree with) is that you don't need "search" if
you know the layout of the disk.  You can just use "root", like your
example did -- although you'll obviously have to use the correct partition.

If you *don't* know the layout, then you'll want to use both "search"
and an initramfs, both to find the root filesystem for grub (so it can
find its menu, etc.), and to find the filesystem to mount on / for the
rest of userspace.  But we do know the layout, so neither of those are
needed.

Yes, "search" will work.  But it's also completely pointless.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to