LFS 6.1.1: chroot need to exited prior to running grub?

Angel Tsankov fn42551 at fmi.uni-sofia.bg
Tue May 2 02:37:48 PDT 2006

>>> Section 8.4. "Making the LFS System Bootable" says to start the grub shell and issue a command like "root (hd0,3)." The root 
>>> command, however, cannot mount the partition since we have not yet exited the chroot environment and grub cannot find any hard 
>>> drives. Is this right, or am I missing smth?
>> You probably didn't start udev. Run /sbin/udevstart and you should have your hard drive devices in /dev.
> Well, it appears that I have called /sbin/udevstart (as explained in section 6.58. Udev-056) but after shutdown (shutdown -hP now) 
> and restart I do not see any devices in /mnt/lfs/dev besides null and console. Any ideas why this happens?

Hmm, I guess that udevstart creates devices on the temp filesystem, mounted in 6.2. Mounting Virtual Kernel File Systems, and they 
get lost when the system is rebooted. Could this be the case? 

More information about the lfs-support mailing list