LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Who stole my grub.conf? (https://www.linuxquestions.org/questions/linux-newbie-8/who-stole-my-grub-conf-101304/)

mrodrigo 10-07-2003 01:32 PM

Who stole my grub.conf?
 
A cookie to who can help me with this.

I recently upgraded to RH 9, and since have gotten errors related to my modules.dep. I have tracked it down to the wrong kernel being loaded on startup(or so I believe). The Grub options on startup are RH 2.4.18-4 or DOS. However, under my lib/modules the kernel there is the 2.4.20-8. In reading, I find that I can updated the grub.conf to take care of this, but it seems to be nowhere to be found. I have a /etc/grub.conf that is a link to /boot/grub/grub.conf which does not exist? I have done the whereis grub.conf. Where the heck is that? Oh, and by the way, am I thinking correctly about the Kernel repathing?

Thanks

M

Demonbane 10-07-2003 04:56 PM

check your boot folder there's probably a vmlinuz-2.4.20-8
I suppose you upgraded your kernel through up2date, but somehow it didn't update the boot menu correctly, check if there's a menu.lst in /boot/grub then check out its content, if it matches what you see on boot, rename it to grub.conf, modify it so that it loads the correct kernel and initrd, then make a symlink /boot/grub/menu.lst pointing to /boot/grub/grub.conf, you can't go wrong this way.

mrodrigo 10-07-2003 06:40 PM

Well, I definitely see the vmlinuz-2.4.20-8 and a Initrd in that boot folder, but there is no menu.lst under boot/grub or anywhere to be found. Any other options...maybe I should just re-load RH 9 again?


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