Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Posts
    466

    Server does not boot new kernel...why ?

    Hi,

    on a RHE 3 system I installed a new Kernel. I did update lilo.conf and grub.conf but they are still booting an old kernel: 2.4.21-27.ELsmp. Please have a look at my files below and if you have any idea why please let me know.

    lilo.conf:
    Code:
    prompt
    timeout=50
    default=2.4.21-53.ELsmp
    boot=/dev/hda
    map=/boot/map
    install=/boot/boot.b
    message=/boot/message
    linear
    image=/boot/vmlinuz-2.4.21-53.ELsmp
            label=2.4.21-53.ELsmp
            initrd=/boot/initrd-2.4.21-53.ELsmp.img
            read-only
            append="root=/dev/hda3"
    image=/boot/vmlinuz-2.4.21-47.ELsmp
            label=2.4.21-47.ELsmp
            initrd=/boot/initrd-2.4.21-47.ELsmp.img
            read-only
            append="root=/dev/hda3"
    image=/boot/vmlinuz-2.4.21-47.EL
            label=2.4.21-47.EL
            initrd=/boot/initrd-2.4.21-47.EL.img
            read-only
            append="root=/dev/hda3"
    image=/boot/vmlinuz-2.4.21-27.ELsmp
            label=linux
            initrd=/boot/initrd-2.4.21-27.ELsmp.img
            read-only
            append="root=/dev/hda3"
    image=/boot/vmlinuz-2.4.21-27.EL
            label=linux-up
            initrd=/boot/initrd-2.4.21-27.EL.img
            read-only
            append="root=/dev/hda3"
    grub.conf:
    Code:
    default=0
    timeout=10
    splashimage=(hd0,0)/grub/splash.xpm.gz
    title Red Hat Enterprise Linux ES (2.4.21-53.ELsmp)
            root (hd0,0)
            kernel /vmlinuz-2.4.21-53.ELsmp ro root=/dev/hda3
            initrd /initrd-2.4.21-53.ELsmp.img
    title Red Hat Enterprise Linux ES (2.4.21-47.ELsmp)
            root (hd0,0)
            kernel /vmlinuz-2.4.21-47.ELsmp ro root=/dev/hda3
            initrd /initrd-2.4.21-47.ELsmp.img
    title Red Hat Enterprise Linux ES (2.4.21-47.EL)
            root (hd0,0)
            kernel /vmlinuz-2.4.21-47.EL ro root=/dev/hda3
            initrd /initrd-2.4.21-47.EL.img
    title Red Hat Enterprise Linux ES (2.4.21-27.ELsmp)
            root (hd0,0)
            kernel /vmlinuz-2.4.21-27.ELsmp ro root=LABEL=/
            initrd /initrd-2.4.21-27.ELsmp.img
    title Red Hat Enterprise Linux ES-up (2.4.21-27.EL)
            root (hd0,0)
            kernel /vmlinuz-2.4.21-27.EL ro root=LABEL=/
            initrd /initrd-2.4.21-27.EL.img

  2. #2
    Join Date
    Nov 2005
    Posts
    352
    Is your server configured to boot with LILO or GRUB? (Only one bootloader can be active at one time.) If your box is using GRUB, then editing grub.conf should be the only thing that needs to be done. If your server is booting LILO, then you must run "lilo" after you edit lilo.conf before the kernel change takes effect.

  3. #3
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,686
    RHEL3 uses lilo, not grub
    Did you run lilo after editing the configuration ? To do so, just type lilo in the command line, that should do it for you.

    Grub doesn't have to be run, because it's cool like that. Lilo must manually be run after every edit that you want to affect the server. Simply type lilo in ssh and you should be good to go, UNLESS it shows some errors
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

  4. #4
    Join Date
    Feb 2006
    Posts
    466
    Yay that did it : ) Thanks guys !

  5. #5
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,686
    Quote Originally Posted by glace View Post
    Yay that did it : ) Thanks guys !
    BTW: rhel3 is kind of old and smelly. You might want to consider upgrading server/hardware. Not that you're going to be too vulnerable, but you might get better performance.
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •