> So, regardless if you search or not, or set root manually, this has no
> effect once the kernel boots.  

That's my understanding too.

> You either need root=/dev/sda1, or you
> need to use rdev (used to be in util-linux) to set the root.  I
> believe when you compile the kernel, rdev is set automatically to
> whatever / is.

I tried setting the partition label.

dumpe2fs -h /dev/sda13
dumpe2fs 1.41.10 (10-Feb-2009)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          c2e3fa11-3ee5-41eb-a8e1-cc4c11c29044
Filesystem magic number:  0xEF53
...

e2label /dev/sda13 lfs-svn

dumpe2fs -h /dev/sda13
dumpe2fs 1.41.10 (10-Feb-2009)
Filesystem volume name:   lfs-svn
Last mounted on:          <not available>
Filesystem UUID:          c2e3fa11-3ee5-41eb-a8e1-cc4c11c29044
Filesystem magic number:  0xEF53
...

and then using

menuentry "LFS SVN 20100627, Linux 2.6.34-label" {
         linux   /linux-2.6.34 root=LABEL=lfs-svn ro
}

But that was not able to mount the root fs.  As you noted, fstab makes 
no difference, because it can't be read until the root fs is mounted.

   -- Bruce

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

Reply via email to