Am 01.07.2010 08:24, schrieb splotz90: > Am 01.07.2010 05:17, schrieb Bruce Dubbs: >> I'll ask the question again. How is search useful in an LFS >> environment where we don't have initrd available? > As I already said: > > The search command is only useful if we're using a seperate boot > partition ... > > With help of the search line, GRUB can find the boot partition, even > if the device of the boot partition has changed (for example /dev/sda3 > --> /dev/sda4). > After that, GRUB will boot the kernel. The kernel can mount the root > partition. > > If the device of the root partition has changed (for example /dev/sda1 > --> /dev/sda2) the boot process will fail (the kernel won't be able to > boot the root partition). > > But we have to use a LABEL or UUID entry for the boot partition in > /etc/fstab (if we're using something like /dev/sda1 if fstab, the > mount of the boot partition will fail). > > > This means: If the LFS-User changes the device for the boot partition, > the system will still boot (with help of the search line). > > So I suggest that we are writing the following: > > > "The search lines are only meaningful for LFS systems if a separate > boot partition and a LABEL or UUID entry for this partition in > /etc/fstab is used." > > > > I think, I've started a big discussion with just one small ticket ;-)
There are some mistakes in my mail ... "the kernel won't be able to boot the root partition" --> "boot" should be "mount" "If the LFS-User changes the device for the boot partition" --> "for" should be "of" -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page