LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-20-2003, 10:32 PM   #1
SuperTeece
LQ Newbie
 
Registered: May 2003
Location: Alabama
Distribution: RedHat 8.0
Posts: 12

Rep: Reputation: 0
kernel-2.4.20-13.8 and how to tell grub to boot it


Ok so in a terminal I type rpm -q kernel. I get two responses: kernel-2.4.18-14 and kernel-2.4.20-13.8 -- this means the new kernel is installed right? If so I think I know how to access grub, type /sbin/grub into a terminal right? then I try kernel /kernel-2.4.20-13.8 root=/dev/hda0 and get a bad string error. What am I doind wrong. Am I doing anything right? Ohh, and just so you know, this is my 25th hour using linux. The only reason for the upgrade is so my sound built into my via southbridge will work.
Thanks ahead of time for any help.

TC
 
Old 05-20-2003, 11:51 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
How did you install the kernel? Did you just install the source and not compile it?
 
Old 05-21-2003, 12:17 AM   #3
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
I just did a variation of this the other day, when I ran the Update Agent. Like you, when I ran <<rpm -q kernel>>, I got 2 outputs. Thus. the new kernel is installed, but not necessarily running.

In my case, I had to make a separate boot disk to boot into the new kernel. You can tell which kernel is running at the login screen, just before RH progresses into the GUI.

Sorry I can't help you with the grub part. I'm still working out my hard drive boot.
 
Old 05-21-2003, 12:34 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well editing grub.conf is not hard I just don't understand why it was not done when the kernel was installed. If you do have the new kernel installed and this is just a grub issue then do a search on this site. There are a million threads on configuring grub.
 
Old 05-21-2003, 10:20 AM   #5
SuperTeece
LQ Newbie
 
Registered: May 2003
Location: Alabama
Distribution: RedHat 8.0
Posts: 12

Original Poster
Rep: Reputation: 0
I'm not sur if i compiled or not, I let RHN do all the work. How do you make the boot disk for the new kernel. And I have read all the articles I can on grub, I just cannot understand any of it. Thanks for the input thus far.

TC
 
Old 05-21-2003, 10:22 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
I had this from up2date, in theory, if you don't edit grub.conf you'll have hundreds of extra lines in grub.

As root (su) open a text editor, go to /etc and open grub.conf
either delete the unneeded lines or (as I did) use the # key to rem out the unwanted lines - this means that if you have problems, you can re edit and boot to the old kernel.
 
Old 05-21-2003, 10:36 AM   #7
SuperTeece
LQ Newbie
 
Registered: May 2003
Location: Alabama
Distribution: RedHat 8.0
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, this was wierd. I had a hard freeze just occure and whn I rebooted I was presentd with options for the old kernel, the nw kernel and the old kernel again. I picked the new one and now my sound works, YAY. I don't know what happened but it works. Now I just have o figue out how to remove the old kernel selections for my wives simplicity.

Thanks for all of the advice.
TC
 
Old 05-21-2003, 02:34 PM   #8
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
Quote:
Originally posted by SuperTeece
Now I just have o figue out how to remove the old kernel selections for my wives simplicity.
Experienced users will correct me if I'm wrong, but I read in the RH Reference Guide a suggestion that you hang on to your old, stable kernel at least until you're sure that the new kernel is functioning flawlessly.

In my case, I have both the old and the new installed, but always boot into the newer version. Having both hasn't hurt anything on my system.
 
  


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
How to get GRUB from MBR boot the kernel in CD? DrRider Linux - Software 5 03-01-2005 10:19 PM
Boot Linux Kernel from GRUB manudath Linux - Newbie 3 10-05-2004 08:54 AM
cannot boot compiled kernel in grub (SUSE 9.1) stupidloser Linux - Newbie 4 08-10-2004 04:22 AM
How do I pass noinitrd to kernel at boot (using GRUB) ragazzino Linux - Laptop and Netbook 3 03-05-2004 12:44 PM
kernel upgrade/boot error with grub c_gebers Linux - Software 2 07-09-2003 04:42 AM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration