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 |
grub-mkconfig actually creates a file called grub.cfg not grub.conf. You may wanna check for that file.
|
Bingo! You are correct. Once I changed the file name to grub.cfg, it now works fine. Thank you so much.
|
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:17 PM. |