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.

Update Kernel

Discussion in 'General Discussion' started by mickalo, Jun 12, 2007.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    we've been advised, when updating kernels with up2date method, that we use the -i option instead of the -u option. My question is, if we do that, will it remove the existing backup kernel? This is our current grub.conf:
    Code:
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    # Primary kernel: default=0
    title Red Hat Enterprise Linux ES (2.6.9-42.0.10.ELsmp)
    	root (hd0,0)
    	kernel /vmlinuz-2.6.9-42.0.10.ELsmp ro root=/dev/sda5
    	initrd /initrd-2.6.9-42.0.10.ELsmp.img
    # Backup kernel: default=1
    title Red Hat Enterprise Linux ES (2.6.9-42.0.3.ELsmp)
    	root (hd0,0)
    	kernel /vmlinuz-2.6.9-42.0.3.ELsmp ro root=/dev/sda5
    	initrd /initrd-2.6.9-42.0.3.ELsmp.img
    
    this is on a RHEL ES release 4 (Nahant Update 5) Cpanel box.

    TIA,
    Mickalo
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    the -i will have the old kernel remain while the -U will not and just upgrade the existing to the new one. In case your server fail to boot up after the upgrade, you will not have a restore point to the old kernel with the -U
     
  3. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    that's what I thought, I just wanted to verify before proceeding ;)

    Thx's
    Mickalo
     
Loading...

Share This Page