Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KC9: Multiple Kernels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
phypor
n00b
n00b


Joined: 25 Jun 2002
Posts: 68
Location: Texas

PostPosted: Fri Dec 06, 2002 7:22 pm    Post subject: KC9: Multiple Kernels Reply with quote

Navigation: [prev KC8: Backup Kernel] [next KC10: .config reuse] [Kernel Compilation] [Table of Contents]


KC9: How do I install multiple kernel versions alongside one another without causing problems?

As root do the following:

Find your boot device and mount it
Code:

bash# grep boot /etc/fstab
# substitute the device that shows up from the grep in the ?? below
bash# mount /dev/hd?? /boot


Go into your grub directory, and edit menu.lst
Code:

bash# cd /boot/grub
bash# nano -w menu.lst


Duplicate a title, root, kernel block, then change
title= to have some relevant info about kernel you are adding, and
kernel= to the actual kernel file

An example of mine:

Code:

default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3 acpi=no-idle hdb=ide-scsi

title=Gentoo Linux - Fine
root (hd0,0)
kernel /boot/bzImage-fine-020909 root=/dev/hda3

title=Gentoo Linux - Vanilla
root (hd0,0)
kernel /boot/bzImage-vanilla root=/dev/hda3


Make sure your root is what you have in your menu.lst,
and that you have a timeout long enough to pick if you want to.
_________________
ALWAYS stay away from tanks enguled in fire.
- 2000 Emergency Response Guidebook, pg307
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Dec 06, 2002 8:27 pm    Post subject: Reply with quote

Feedback to [FAQF] KC: Kernel Compilation.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum