Angel Tsankov | 2 May 2006 09:23
Picon
Favicon

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

>> 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? 

--

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

Angel Tsankov | 2 May 2006 11:37
Picon
Favicon

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

>>> 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? 

--

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


Gmane