[TriLUG] Grub configuration file
Justin Johnson
justin at deepbluesoftware.com
Tue Aug 12 19:47:19 EDT 2003
While updating my system via RHN I got a message indicating that I was
not running the most current kernel installed on my system. So I did a
rpm -q kernel and sure enough I have kernel-2.4.20-8 as well as kernel
2.4.20-19.9 installed. However my grub.conf file only shows entries for
2.4.20-8.
It looks pretty simple to edit grub.conf to add the entries for the
newer kernel by copying and pasting 2 new sections and changing the
references to the kernel specific files as appropriate. Unfortunately I
have a problem with this simplistic approach. The entries for the
2.4.20-8 kernel have a line that contains
"initrd/initrd-2.4.20-8smp.img".
This file does exist in /boot, along with the vmlinuz-2.4.20-8smp
My problem is that there is no initrd-2.4.20-19.9smp.img". in /boot,
although I do have the file vmlinuz-2.4.20-19.9.smp, which leaves me
wondering what to do wtht the line "initrd /_what goes here_"
Below is my grub.conf file. FYI I am running a dual proc machine hence
the entries for 2.4.20-8 as well as 2.4.20-8smp. Also the extra
parameters for each sections where required for the Promise RAID
controller I am running.
Thanks for the help. If the questions get too numerous, let me know an
maybe I can be a (partial at least)pizza sponsor for a meeting. :-)
Thanks again,
Justin
grub.conf contents:
title Red Hat Linux (2.4.20-8smp)
root (hd0,1)
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ ide0=0x1f0,0x3f6,14
ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0
ide9=0
initrd /initrd-2.4.20-8smp.img
title Red Hat Linux-up (2.4.20-8)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ ide0=0x1f0,0x3f6,14
ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0
ide9=0
initrd /initrd-2.4.20-8.img
--
More information about the TriLUG
mailing list