LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2009, 05:17 PM   #1
dbulka
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Question Grub2 ignoring my grub.conf?


I'm using Grub version 1.97 on Linux red hat 2.6.18.

The "menu.lst" had been retired by this version of Grub and replaced by grub.conf.

I'm confused about how this works. I used "grub-mkconfig -o grub.conf" to create a "grub.conf" file. The new file looked ok. Then I copied the file to "/boot/grub" where the menu.lst used to live. I followed this with a "grub-install /dev/sda" just in case the "grub.conf" file needs to be copied to the boot partition.

I followed with a reboot expecting to see Grub pop the new menu entries specified in "grub.conf", but instead, grub went straight to the command line interface as if it could not find the "grub.conf". There was no graphical menu.

Questions:

1. Is "grub-mkconfig" the right tool to use to create a new "grub.conf"?
2. Once a grub.conf has been created, where am I supposed to copy it to?
3. Do I need to run another "grub-install" for the new "grub.conf" to take effect?

TIA,

Dov
 
Old 11-23-2009, 07:26 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
grub-mkconfig actually creates a file called grub.cfg not grub.conf. You may wanna check for that file.
 
Old 11-24-2009, 12:09 PM   #3
dbulka
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Bingo! You are correct. Once I changed the file name to grub.cfg, it now works fine. Thank you so much.
 
Old 11-24-2009, 06:33 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
No worries I myself am crawling out of my grub cave and discovering grub2 :P
 
  


Reply


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
Help converting grub-legacy to grub2 ssenuta Linux - General 4 08-29-2009 10:04 AM
KDE ignoring xorg.conf... Xenithar Linux - Desktop 4 12-26-2007 10:26 AM
grub problem and looking for grub2 docs m-jackson Linux - Newbie 1 10-27-2006 02:18 AM
Grub Legacy or Grub2? RAVC Linux - Software 2 01-21-2006 09:43 AM
Error 18 when trying to boot with GRUB or GRUB2 DaneM Linux - Software 6 09-20-2005 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:24 AM.

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