The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Kernel Upgrade with Grub.

Discussion in 'General Discussion' started by vishal, Jul 15, 2003.

  1. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello All,

    I recently upgraded kernel on my server with
    up2date --nox -f kernel
    The kernel seems to be upgraded and also an entry has been added in /etc/grub.conf, after the reboot when i checked
    uname -r it still shows the older version of the kernel and even WHM show me the warning "Insecure Kernel"

    Help Me!!


    Thank You,

    cPanel.net Support Ticket Number:
     
  2. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    Check GRUB conf look for (default=1) it should be 0 to load the last installed kernel


    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/hda7
    # initrd /initrd-version.img
    #boot=/dev/hda
    default=1
    timeout=10
    splashimage=(hd0,0)/grub/splash.xpm.gz
    title Red Hat Linux (2.4.18-19.7.x)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-19.7.x ro root=/dev/hda7
    initrd /initrd-2.4.18-19.7.x.img
    title Red Hat Linux (2.4.18-3)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-3 ro root=/dev/hda7
    initrd /initrd-2.4.18-3.img

    cPanel.net Support Ticket Number:
     
    #2 Angel78, Jul 15, 2003
    Last edited: Jul 15, 2003
  3. johndoe

    johndoe Active Member

    Joined:
    May 26, 2002
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Upgrading the kernel

    Thanks Angel78, whoever you are...
    Your information ended a long search about this part of the kernel upgrade... after editing the grub.conf file as you suggested, BINGO... it worked...

    Regards,

    johndoe

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page