HouHongxun wrote: > 于 2010/6/28 14:39, Bryan Kadzban 写é“: >> 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. >> > I'm not arguing about whether search command makes sense or not, I'm > just saying that search command and initrd image are irrelevant, they > don't need each other. so the sentence "search line needs initrd image" > is wrong. We should modify it, or consider that explaining what search > command dose is not necessary we could just simply delete it.
Yes, you convinced me. I'm asking for suggestions on wording. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page