Grub Setup

Ken Moffat ken at linuxfromscratch.org
Wed Oct 26 05:12:40 PDT 2005


On Tue, 25 Oct 2005, Jedediah Klusman wrote:

>> From my understanding grub syntax for dectecting the neccisary files is 
>> root 
> (hdn,m) where n is the dev, and m is the partition.  /dev/hda1 is my lfs 
> partition.  However when i issue the command root (hd0,0) it come back with 
> no such drive or device.  is this because the partition is mounted? any body 
> else with this problem?  I had to shutdown after i had completed the build up 
> to the end of the bootscripts chapter, the next step was build kernel which i 
> did when i repowered a couple weeks later.  Before i  continued i set the 
> $LFS enviroment, mount -t ext2 /dev/hda1 $LFS, and then followed the CHROOT 
> that said i was suppose to use at the end of the second phase installation.
>
  It's because the device inside chroot no longer exists - first time 
through, it was created when you ran /sbin/udevstart at the end of 
installing udev.  Rerun /sbin/udevstart and grub should be able to ses 
it.

Ken
-- 
  das eine Mal als Tragödie, das andere Mal als Farce


More information about the lfs-support mailing list