Grub can't find my hard drive

Stefan Hecker s.hecker at stud.uni-goettingen.de
Sun Jun 5 02:46:25 PDT 2005


Wiliam Harrington wrote:
> On Sat, 04 Jun 2005 10:35:08 -0400, curbyIII wrote:
> 
> 
>>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
>>
>>I ran grub in Knoppix and it behaved in exactly the same way.  I looked up
>>the grub documentation and it is not supposed to distinguish SCSI drives
>>from IDE drives.
>>
>>Any assistance would be greatly appreciated.
>>
>>Thank you
>>
>>__________________________________________________________________ Switch
>>to Netscape Internet Service.
>>As low as $9.95 a month -- Sign up today at
>>http://isp.netscape.com/register
>>
>>Netscape. Just the Net You Need.
>>
>>New! Netscape Toolbar for Internet Explorer Search from anywhere on the
>>Web and block those annoying pop-ups. Download now at
>>http://channels.netscape.com/ns/search/install.jsp
> 
> 
> ls /dev/and see if the devices actually exist? if not... run udevstart then see if they exist... you can also create the devices yourself with mknod. The character devices listing is in the linux source tree in Documentation/devices.txt

yes, this should do it. I had the same issue using knoppix. When you are 
  in the chmod environment, you do not have any devices in /dev, on 
which grub relies.

> 
> Sincerely,
> William Harrington (Ratrophy)




More information about the lfs-dev mailing list