LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-04-2004, 02:50 PM   #1
arimus25
Member
 
Registered: Feb 2004
Location: Toledo, OH
Distribution: Mandrake 10.0
Posts: 50

Rep: Reputation: 15
Configuring Grub


I installed a new kernerl (2.6.3) and I am not sure how to set up Grub to boot up with the new kernel (I am using Red Hat 9). I would like to have the option to boot the original kernel (2.4.20) or the 2.6.3, it this possible?
 
Old 03-04-2004, 03:04 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
yes, it's easy...
Code:
title=Gentoo-2.4.22
root (hd0,0)
kernel (hd0,1)/vmlinuz-gentoo-2.4.22-29-12 root=/dev/hda1 hdc=ide-scsi vga=0x31A video=vesa:ywrap,mtrr
initrd (hd0,1)/initrd-1280x1024

title=Gentoo-2.6.0
root (hd0,0)
kernel (hd0,1)/vmlinuz-gentoo-2.6.0-01-01-2 root=/dev/hda1 vga=0x317 video=vesa:ywrap,mtrr acpi=off noapic
 
Old 03-04-2004, 03:46 PM   #3
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
When I got my 2.6 kernel I just did a make install and it put it in grub.conf for me. I think I had to make it default though...

my /etc/grub.conf
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 do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.6.2)
root (hd0,2)
kernel /boot/vmlinuz-2.6.2 ro root=LABEL=/
initrd /boot/initrd-2.6.2.img
title Red Hat Linux (2.6.0)
root (hd0,2)
kernel /boot/vmlinuz-2.6.0 ro root=LABEL=/
initrd /boot/initrd-2.6.0.img
title Red Hat Linux (2.4.20-24.9)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-24.9 ro root=LABEL=/
initrd /boot/initrd-2.4.20-24.9.img
title Red Hat Linux (2.4.20-20.9)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-20.9 ro root=LABEL=/
initrd /boot/initrd-2.4.20-20.9.img
title Red Hat Linux (2.4.20-19.9)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-19.9 ro root=LABEL=/
initrd /boot/initrd-2.4.20-19.9.img
title Red Hat Linux (2.4.20-18.9)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-18.9 ro root=LABEL=/
initrd /boot/initrd-2.4.20-18.9.img
 
  


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
configuring grub???!!! monkey_eater Linux - Newbie 2 09-27-2005 08:17 PM
configuring grub fosh1zzl3 Linux - Newbie 15 05-13-2004 04:45 AM
Configuring Grub blueplanet200 Linux - Newbie 2 04-11-2004 09:44 PM
Configuring Grub Leviathan Mandriva 5 10-17-2003 03:57 AM
configuring grub emjay Linux - Newbie 1 10-16-2002 08:21 AM


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