Grub can't find my hard drive

Chakkaradeep C C chaks.lfs at
Sat Jun 4 12:43:35 PDT 2005


> This is my first LFS system.  I have completed most of the 6.0 LFS book but have hit a brick wall in section 8.4.  I am only a beginner-intermediate Linux user so I will describe what I have done in as much detail as I can (sorry if it's not relevant).
> I currently have windows xp, but I want to dual boot with LFS.  I partitioned my SATA hard drive (using partition magic) into 3 partitions:  windows (sda1), LFS (sda5), and swap (sda6).  I am using Knoppix 3.7 to build the LFS system.  Everything went relatively smoothly until I reached section 8.4.  I ran the grub shell and tried
> root (           followed by a TAB but grub just displayed
> root (
> without any other completions.  I tried
> root(hd0, + TAB
> root(hd1, + TAB
> ...
> root(hd7, + TAB
> and it always returned the same error message:
> Error 21: Selected disk does not exist
> Beyond hd7 grub returned
> root(hd8, + TAB
> Error 12: Invalid device requested

you have to mount and populate /dev . Check out Chpapter-6 from
Mounting Kernel Filesystems and Populating /dev.

with regards,

More information about the lfs-support mailing list