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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-22-2003, 08:08 PM
|
#1
|
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Rep:
|
Updated Kernel - Choosing at boot
I just installed Red Hat 9 2 days ago, and I downloaded all the updated recommended by the Red Hat updater. One was the new kernal "kernel-2.4.20-20.9" I installed it successfully, but after I restarted there were 2 kernels in my GRUB boot list. The new one was on the top, and "kernel-2.4.20-8" was on the bottom. The older was was also highlighted as the default one to use, for some reason. Can I change it so the newer one always boots? Anyone know why this would happen?
Thanks,
link
|
|
|
|
11-22-2003, 08:14 PM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Edit which one you want as the default in your grub.conf file.
|
|
|
|
11-23-2003, 12:27 PM
|
#3
|
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Original Poster
Rep:
|
Ok, here is what my grub.conf says:
Code:
# 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/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/
initrd /initrd-2.4.20-20.9.img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
~
I would assume "default" is the line I need to change...but it's already at 1, shouldn't that say to boot off the top listing?
|
|
|
|
11-24-2003, 10:03 PM
|
#4
|
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Original Poster
Rep:
|
Anyone have suggestions?
|
|
|
|
11-25-2003, 10:41 AM
|
#5
|
|
Member
Registered: Oct 2003
Distribution: Slackware
Posts: 388
Rep:
|
The info page for grub conf says you need default=0 to boot the first entry.
Alternativly you could move the four lines of the second entry to before the other one.
Disclaimer: make sure you have a boot disk that you can use to sort it out if you change somthing that stops the system booting.
|
|
|
|
11-25-2003, 07:38 PM
|
#6
|
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Original Poster
Rep:
|
Thanks man, that should do the trick 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:36 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|