View previous topic :: View next topic |
Author |
Message |
phypor n00b
Joined: 25 Jun 2002 Posts: 68 Location: Texas
|
Posted: Fri Dec 06, 2002 7:22 pm Post subject: KC9: Multiple Kernels |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Dec 06, 2002 8:27 pm Post subject: |
|
|
Feedback to [FAQF] KC: Kernel Compilation. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|
|
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
|
|