LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 07-08-2004, 12:09 PM   #1
sp!d3rm@n
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora C1, Redhat 9
Posts: 15

Rep: Reputation: 0
GRUB version 0.93 - Howto


When I load my redhat 9 box a screen pops up with 6 different kernels. I want the one at the bottom of the list but the default is "Red Hat Linux (2.4.20-31.9smp)"

How can I select the desired kernel by default after reboot. I know this may seem like a n00b question but I'm new to Linux in general.

Thanks
 
Old 07-08-2004, 12:37 PM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi sp!d3rm@n,
how to do that depends on your boot loader.
The least complicated way is doing it from the command line (press [ctrl+f1] to get to a terminal. Get back to your graphical login with [ctrl+f7] or similar f-key. Try them, if 7 doesnt work).

If you are using lilo you need to become root (su -) and edit "/etc/lilo.conf" (it may not be in "/etc" but this is your best bet). Look for a line that starts with "default":
default = label
label is one of the names you are prompted with at boot. (These are the values of the lines starting with "label" below.)
Change the label to the one of the kernel you want to be your standard. After that run "lilo" for the changes to take effect.
You may want to read about the lilo.conf file in your man-pages. Use this command: man lilo.conf to view

If you are using GRUB on the other hand, you need to edit "/etc/grub.conf" (again, maybe it's some place else). Here the line you want also starts with "default", but this time the value is a number. Choose the one you want (i.e. the last would be "number of entries - 1", because the numbering starts with 0).
Again, you may want to read a little more about this file: man grub.conf

Good luck with these informations. Feel free to ask more questions, this is a little difficult if you have not done anything like that before.
- drowstar

Last edited by drowstar; 07-08-2004 at 12:43 PM.
 
Old 07-08-2004, 01:53 PM   #3
sp!d3rm@n
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora C1, Redhat 9
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks a lot drowstar. I'm using grub and the conf file was the key. Thanks again for helping out a noob.
 
  


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
GRUB HOWTO and troubleshooter aus9 LinuxQuestions.org Member Success Stories 15 03-17-2008 07:41 AM
HOWTO BURN GRUB to CDR aus9 LinuxQuestions.org Member Success Stories 3 01-05-2005 07:45 AM
Grub Splashimage Howto Part A aus9 Linux - Software 3 10-01-2004 10:34 AM
Kernel Howto for version 2.4.21????? Sammy2ooo Linux - Newbie 1 07-01-2003 12:17 PM
grub howto Meatwad Linux - General 2 01-07-2003 09:17 PM


All times are GMT -5. The time now is 09:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration