-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Jun 28, 2010 at 10:07:08AM +0800, HouHongxun wrote: > > At first, the set command set "root" variable to partition (hd0,15) > which does not exist in my system. then grub uses search command to > find which partition has uuid > "ab00fa9d-6571-4c2a-bca2-f8d219a1ab91", then grub found that (hd0,7) > has uuid "ab00fa9d-6571-4c2a-bca2-f8d219a1ab91", so grub set "root" > variable to (hd0,7) > > now* > linux /boot/vmlinuz-2.6.34 root=/dev/sda7 > *is equivalent to* > linux (hd0,7)/boot/vmlinuz-2.6.34 root=/dev/sda7 > > *system boots successful.* > > > *so the sentence* "*The /search/ lines are not meaningful for LFS > systems as that command needs an initrd image for processing" is > wrong. HouHongxun is right, the search lines ARE meaningful for LFS, as GRUB uses them to find where the root partition is. I use an Initramfs, but it's still meaningful. So, the description should be reworked to:
"The search lines are used by GRUB to find the root partition where the kernel is located. Therefore, they should not be commented out." - -- William Immendorf Sent from Mutt 1.5.20. Please, no HTML formatted messages. GPG key id is AF6E5022 for reference. If it's not signed, it's not from me. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iQEcBAEBAgAGBQJMKAxrAAoJEHxJ3aivblAipG4H/3UwYthUfLn+w79ydQfaKSez p4WRGHpDEJO8zg+DpkahXZI8KLSeiHDFdeQRfZv+0Of1cc8IGLV3fLAbOGg9syIv b79fPY0lHsETw4g//Txly2Ua/EUFcg9N6yxv3qSDn5wSDdbtFs84egxvNM2w6YQq LExnuTHyxdw2pdpHkVhxd6bzVeCZuEZSkpVi3653Ty6HdOCtWilmY8wytBiFR90P 9CFHRgtu5XxrtMIuQI5NCrFXRKo975I/J6O5hm8uxocuDWMNvveX9xRyagi4YsA7 Ahmg3UGv4S6jI0MQYjlTxvTqO3tr5Qk/4+NUK5A5+/1aq0Jad8JB0eVecvEavRI= =NeiZ -----END PGP SIGNATURE----- -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page