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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-23-2009, 05:17 PM
|
#1
|
LQ Newbie
Registered: Dec 2006
Posts: 8
Rep:
|
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
|
|
|
11-23-2009, 07:26 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
grub-mkconfig actually creates a file called grub.cfg not grub.conf. You may wanna check for that file.
|
|
|
11-24-2009, 12:09 PM
|
#3
|
LQ Newbie
Registered: Dec 2006
Posts: 8
Original Poster
Rep:
|
Bingo! You are correct. Once I changed the file name to grub.cfg, it now works fine. Thank you so much.
|
|
|
11-24-2009, 06:33 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
No worries I myself am crawling out of my grub cave and discovering grub2 :P
|
|
|
All times are GMT -5. The time now is 11:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|