LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-30-2011, 08:51 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
grub.conf isn't being read; I'm being thrown into a grub command prompt each time


Does anyone have a clue why my grub.conf doesn't seem to be read? See subject for full details

grub.conf is the same as menu.lst. It's a symlink. I also have /etc/grub.conf but it's also a symlink to the /boot/grub/grub.conf file.

I'm very confused, since I upgraded to Fedora 15 and ran
Code:
/sbin/grub-install BOOTDEVICE
properly, specifying the correct location for the BOOTDEVICE, and for some reason it's not working.

TIA!

Last edited by punt; 05-30-2011 at 09:23 PM.
 
Old 05-31-2011, 08:03 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Where did you install grub, and what does your grub.conf file look like? Here's a representative section of mine (located on /dev/sda3):
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,11)
#          kernel /boot/vmlinuz-version ro root=/dev/sda12
#          initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda25
timeout=65
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
#hiddenmenu

title Fedora 15-64 (Lovelock) sda5
	rootnoverify (hd0,4)
	chainloader +1
	

title -----------------------------------------
root 

title Windows 7 sda1 & sda10
	rootnoverify (hd0,0)
	chainloader +1
 
Old 05-31-2011, 09:52 AM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
I installed to the correct locations. /dev/sda - no errors.

My old grub.conf (which I backed up) is the same as my new grub.conf.

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda3
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=0
#splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
#title Fedora (2.6.38.6-27.fc15.i686)
#       root (hd0,0)
#       kernel /vmlinuz-2.6.38.6-27.fc15.i686 ro root=UUID=fcbb756b-c2c2-496d-99fd-eb32ab510973 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
#       initrd /initramfs-2.6.38.6-27.fc15.i686.img
title Fedora (2.6.35.13-91.fc14.i686)
        root (hd0,0)
        kernel /vmlinuz-2.6.35.13-91.fc14.i686 ro root=UUID=fcbb756b-c2c2-496d-99fd-eb32ab510973 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
        initrd /initramfs-2.6.35.13-91.fc14.i686.img
title Fedora (2.6.35.12-88.fc14.i686)
        root (hd0,0)
        kernel /vmlinuz-2.6.35.12-88.fc14.i686 ro root=UUID=fcbb756b-c2c2-496d-99fd-eb32ab510973 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
        initrd /initramfs-2.6.35.12-88.fc14.i686.img
title Fedora (2.6.33.6-147.fc13.i686)
        root (hd0,0)
        kernel /vmlinuz-2.6.33.6-147.fc13.i686 ro root=UUID=fcbb756b-c2c2-496d-99fd-eb32ab510973 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
        initrd /initramfs-2.6.33.6-147.fc13.i686.img
FWIW, this issue is not solved but I reinstalled Fedora and now don't encounter the issue anymore. My woes are now inittab related
 
Old 05-31-2011, 04:56 PM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Running F15, inittab shouldn't be a problem (famous last words) unless you're not using systemd.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
after reinstalling grub, grub comes in command prompt mode daudiam Linux - General 17 05-24-2010 03:54 AM
Problems with /boot/grub/grub.conf not being read properly on reboots cmeyer Linux - Software 1 10-11-2008 06:34 PM
correct grub.conf, reboot and cannot get grub prompt... sportivo888 Linux - Newbie 1 12-10-2007 11:47 PM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 04:04 AM
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:24 PM.

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