Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 02-15-2004, 09:08 PM   #1
Registered: Oct 2003
Location: Manila
Distribution: Fedora Core 2, FreeBSD 5.2.1
Posts: 46

Rep: Reputation: 15
Angry grub.conf missing

My fedora installation was not completed fully because of a corrupt media (disc 3 to be specific, my CD drive cannot fully read the media's last part), and as a result, i think my bootloader was not configured properly, but everything else works fine. I've already tried "grub-install <device>" but to no avail. The grub.conf file is nowhere to be found in /etc, and its link on /boot/grub. I still need to use my bootdisk in order to boot Fedora. Someone suggested that I should create a new grub.conf file. Is there a way I can fix my bootloader without reinstalling the system? Could someone make a correct configuration file using these conditions:

1. Fedora is in a dualboot environment with Win2k bootloader (NTLDR) on the MBR

2. My Fedora system uses only 2 partitions, root partition (ext3fs) on /dev/hda3, and a swap partition on /dev/hda4.

3. The bootloader is installed on the first sector of /boot (located on /dev/hda3 of course).

In fact, I've tried creating one, with the help of a sample config file I found in the web, and when I tried to boot, "GRUB" is displayed on my screen (just like the LILO error message, not a grub shell). Honestly, I'm a newbie regarding that GRUB stuff because I've been using LILO eversince I started using Linux.

Thanks a lot to those who can help.

Last edited by flipboi; 02-15-2004 at 09:16 PM.
Old 02-16-2004, 03:34 AM   #2
LQ Newbie
Registered: Feb 2004
Location: Australia
Distribution: Debian unstable
Posts: 19

Rep: Reputation: 0

I am not an expert, but I read that the grub.conf file is optional.

Basic information regarding your kernel image location goes into the file /boot/grub/menu.lst

Grub doesn't need info about swap partition etc, only your root partition and your window partition.

Here is an extract from my menu.lst file. It might give you some hints about whats going on.

title Linux, kernel 2.6.2oss
root (hd0,2)
kernel /boot/vmlinuz-2.6.2oss root=/dev/hda3 ro

title Windows on /dev/hda1
root (hd0,0)
chainloader +1

Hope this helps
Old 02-16-2004, 08:53 AM   #3
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30

U must login into rescue mode this is done through by booting with your cd. Once that is done and u get the installer prompt type linux rescue follow the instructions given and mount sysimage. Once u have got a login prompt cd /mnt/sysimage, then /sbin/grub-install <device> this will rebuild your grub. It might sound the same in the way u have mentioned above but with this option u must be in rescue mode.



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
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 04:40 AM
Missing grub.conf & other oddnesses JMCraig Fedora 10 02-25-2005 03:43 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 04:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:25 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