Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Fedora - Installation This forum is for the discussion of installation issues with Fedora.


  Search this Thread
Old 06-21-2005, 04:01 PM   #1
LQ Newbie
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
FC4 - Grub Can't Find Hard Drive

I just tried installing Fedora Core 4 for the first time, on an old 400 MHz computer. Initially, I selected "Autopartition" -> "Delete all Partitions," but it failed. So then I tried "Autopartition" -> "Delete all Linux Partitions." I'm not sure if that was what I was supposed to do, but it seemed to work. The (text only) install completed OK.

Then when I booted up it went to the grub screen, and I'm not sure how to get past it. I tried following the online instructions:

First, I typed "root (" and then hit tab so it would show me my partitions. The only one it found was "(fd0)", the stinking floppy drive!

Second, I tried "find /sbin/init", and it said File not found.

Next, I tried sticking the FC disk 1 into the CD drive (just to see if I could repair or re-install or something), and I went into the BIOS and told it to load from CD ROM. But it still went straight back to the grub shell.

So apparently grub can't see any partitions(?). But FC seemed to install OK... I don't know how to re-partition, or how to see the partition that FC installed on. Help! What can I do to get this working?
Old 06-22-2005, 10:29 AM   #2
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
If you want to fix the grub setup from the “grub>” prompt, try this:

grub> find /boot/grub/stage1
grub> find /grub/stage1

which will output something like: (hd0,2)

Only one of the “finds” will find the grub folder. Then:

grub> root (hd0, )

using whatever (hd0, ) was output in “find”. Then:

grub> setup (hd0)

-- OR --

Boot into FC4 Rescue mode from the first FC4 Installation CD (boot: linux rescue) or using the FC4 Rescue CD and follow the instructions about searching/mounting fedora installations.

Once you’re in, run:

fdisk -l

to show the partitions.

Then edit /boot/grub/grub.conf using:

vi /boot/grub/grub.conf

and check that “root (hd0,...)" points to the “/boot” partition and that “ root=LABEL=...” points to the root “/” partition. Grub-speak dictates that partitions and drives are numbered starting at zero (i.e., /dev/hda1 usual = (hd0,0) in grub-speak).

If that fails, then run:

grub-install (hd0)

If that fails, then run:


and follow the “find”, “root” and “setup” steps listed at the beginning of this post.

Last edited by WhatsHisName; 06-22-2005 at 10:30 AM.
Old 06-29-2005, 04:07 PM   #3
LQ Newbie
Registered: Jun 2005
Posts: 2

Original Poster
Rep: Reputation: 0
hey, thanks for the reply. i've been out of town so i'm just getting back to this.

i was able to go into rescue mode, but i wasn't totally sure of the changes that i should make to grub.conf, so if you could please clarify, here is all the data:

Output from fdisk -l:
Disk /dev/hda: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
units = cylinders of 16065 * 512 = 8225280

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 26 104422+ 83 Linux
/dev/hda3 27 1027 8040532+ 8e Linux LVM
content of /mnt/sysimage/boot/grub/grub.conf:
default = 0
timeout = 5
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,1)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.11-1.1369_FC4.img

So, from your instructions, my impression is that in grub.conf I should change
root(hd0,1) to root(hd0,0)? Is that right?

What should I change root=/dev/VolGroup00/LogVol00 to? What else needs to change? Should the boot device be hda3 (the one with all the disk space)?

Thanks for your help!
Old 07-01-2005, 12:52 AM   #4
LQ Newbie
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
Greetings.... I to am having the same problem, only excepting is I have two drives... my /dev/hda1 partition is the boot partition.. After the install I checked by booting with the rescue CD and discovered there was NO grub.conf file.. Also, the install re-booted without even asking... and I get the GRUB prompt, but not a prompt I can put command into.. just:


I attempted to create a grub.conf file almost exactly as the above example... and still nothing.. It almost appears that it's not seeing the hard drive at all... hence can't find the GRUB can't find the grub.conf file...

Any Ideas would be much appreciated...


The Gray Wizard
(aka: Matt)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
FC4 - I Cannot Find Grub.conf fortezza Fedora 11 11-21-2005 08:52 AM
FC4 and FreeBSD same Hard Drive RedHatCore *BSD 4 08-17-2005 07:49 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 09:34 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration