the first "root" is pointed at where your grub is located the second "root" 
located in the "kernel" line is pointed at your "/" root file system to mount 
the partition 
 If you are booting from the first hard drive first partition then  root (hd0) 
is correct. then in the kernel line root= will be either /dev/sda1 or /dev/hda1 
most likely sda1 fdisk -l will list your partitions  also if your /etc/fstab is 
not correct you will not be able to boot. 

--- On Mon, 7/20/09, Bruce Dubbs <[email protected]> wrote:

From: Bruce Dubbs <[email protected]>
Subject: Re: GRUB error
To: "LFS Support List" <[email protected]>
Date: Monday, July 20, 2009, 4:31 AM

Russell Stockhammer wrote:
> Gday again,
>  
> Well I started again from scratch and got as far as configuring GRUB.  I 
> run the GRUB shell then attempt to set the root as follows:
>  
> grub> root (hd0,0)
> Error 21: Selected disk does not exist
> grub>
> 
> Even using the auto complete functionality it returns nothing:
>  
> grub> root (
> grub> root (
> grub> root (
> 
> In the host system GRUB works perfectly just not in the chroot environment.

What file system is hd0 using?

You should be doing this from within the chroot environment.
If you exited and reentered chroot, do you still have /dev mounted?  I.e. is 
has 
the `mount -v --bind /dev $LFS/dev` still valid?

What is the output of `ls /dev/?da*` ?

   -- Bruce

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



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

Reply via email to