LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-07-2003, 01:32 PM   #1
mrodrigo
LQ Newbie
 
Registered: Sep 2003
Location: Phoenix
Posts: 4

Rep: Reputation: 0
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
 
Old 10-07-2003, 04:56 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.
 
Old 10-07-2003, 06:40 PM   #3
mrodrigo
LQ Newbie
 
Registered: Sep 2003
Location: Phoenix
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
nano -w /boot/grub/grub.conf Tbagz Linux - Newbie 2 10-31-2005 06:42 PM
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 04:40 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 04:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

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

All times are GMT -5. The time now is 12:06 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