LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-05-2004, 08:10 PM   #1
SweetPete
LQ Newbie
 
Registered: Jan 2003
Posts: 5

Rep: Reputation: 0
Unhappy RH9 won't boot latest kernel - help!


Guys,

Newbie here running RH9. I've been installing all the updates via up2date. However, when I run up2date, the first window says:

"Your system is currently running kernel-2.4.20-8, but the newest installed kernel is kernel-2.4.20-28.9. It is recommended that you reboot at the first opportunity to test this new kernel."

So I did reboot - many times. Version 2.4.20-8 continues to load. How do I get RH (using GRUB) to boot the latest downloaded/installed(?) version?
 
Old 01-05-2004, 08:21 PM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Post the output of
ls /boot;
and
cat /etc/grub.conf
and I will edit it for you and re-post.
 
Old 01-05-2004, 10:10 PM   #3
SweetPete
LQ Newbie
 
Registered: Jan 2003
Posts: 5

Original Poster
Rep: Reputation: 0
G-Rod,

Thanks for much! First:

[root@BlueBullet root]# ls /boot
boot.b module-info-2.4.20-18.9 vmlinux-2.4.20-18.9
chain.b module-info-2.4.20-19.9 vmlinux-2.4.20-19.9
config-2.4.20-18.9 module-info-2.4.20-20.9 vmlinux-2.4.20-20.9
config-2.4.20-19.9 module-info-2.4.20-24.9 vmlinux-2.4.20-24.9
config-2.4.20-20.9 module-info-2.4.20-27.9 vmlinux-2.4.20-27.9
config-2.4.20-24.9 module-info-2.4.20-28.9 vmlinux-2.4.20-28.9
config-2.4.20-27.9 module-info-2.4.20-8 vmlinux-2.4.20-8
config-2.4.20-28.9 os2_d.b vmlinuz
config-2.4.20-8 System.map vmlinuz-2.4.20-18.9
grub System.map-2.4.20-18.9 vmlinuz-2.4.20-19.9
initrd-2.4.20-8.img System.map-2.4.20-19.9 vmlinuz-2.4.20-20.9
kernel.h System.map-2.4.20-20.9 vmlinuz-2.4.20-24.9
lost+found System.map-2.4.20-24.9 vmlinuz-2.4.20-27.9
message System.map-2.4.20-27.9 vmlinuz-2.4.20-28.9
message.ja System.map-2.4.20-28.9 vmlinuz-2.4.20-8
module-info System.map-2.4.20-8
[root@BlueBullet root]#


Second:

[root@BlueBullet root]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hde=noprobe hdf=noprobe hdg=noprobe hdh=noprobe
initrd /initrd-2.4.20-8.img
[root@BlueBullet root]#
 
Old 01-06-2004, 06:18 PM   #4
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
You are missing the initial root device for this kernel and have a whole bunch of other kernels that are not used.
Did you do a
make install;
When building the kernel?

Your new grub conf would be something like the following. The one listed first is boot by default.

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hde=noprobe hdf=noprobe hdg=noprobe hdh=noprobe
initrd /initrd-2.4.20-8.img
title New Kernel
root (hd0,0)
kernel /vmlinuz-2.4.20-28.9 ro root=LABEL=/ hde=noprobe hdf=noprobe hdg=noprobe hdh=noprobe
initrd /initrd-2.4.20-28.9.img
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to upgrade to latest RHEL WS from RH9 wf00202 Linux - Enterprise 4 07-10-2005 10:15 PM
How to set FC2 to default boot from the latest kernel simke Fedora 2 09-07-2004 08:44 PM
latest kernel WITHOUT Kernel Panic issues??? timsch75 Linux - General 7 04-28-2004 04:15 PM
latest RH9 kernel & wlan-ng drivers robson8112 Linux - Wireless Networking 0 02-21-2004 11:24 AM
Latest PHP rpm for RH9 ducky Linux - Software 3 11-09-2003 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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