Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hi, Can anybody give me the steps to patch Kernel inorder for Kernel Upgradation ? I need steps to upgrade Kernel in Linux Server. Please give me the steps and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2012
    Posts
    110

    Kernel Upgrade Patching , How ?....Need Help.


    Hi,

    Can anybody give me the steps to patch Kernel inorder for Kernel Upgradation ?

    I need steps to upgrade Kernel in Linux Server.

    Please give me the steps and also Backout plan if the applied patch fails.

    Regards,
    Aparna.

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    First, you'll want to make a backup of your system. That way, you can restore everything if something goes wrong.
    Then, as root: yum update
    If you want to update just the kernel: yum update kernel

    This page may help: yum command: Update / Install Packages Under Redhat Enterprise / CentOS Linux
    Also this one: http://linux.die.net/man/8/yum
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Linux Newbie
    Join Date
    May 2012
    Posts
    110
    [root@ist ~]# uname -a
    Linux ist 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 x86_64 x86_64 GNU/Linux

    Now I want to update 2.6.18-238.9.1 to 2.6.18-274.7.1 .

    How to do this ?

    Need your help, please....

    And also backout plan for this if any error occurs.

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Are you using RHEL? If so, then you should be able to download it from Red Hats' repos. Otherwise you could get it from another online source.
    Here's 2 links that should help you:
    Upgrading the Linux Kernel on Red Hat Linux systems
    https://access.redhat.com/knowledge/...he_Kernel.html

    I would greatly advise updating your kernel via yum, as this will help avoid any issues.
    And also backout plan for this if any error occurs.
    That's why I was suggesting you make a back-up of your data. That is the backout plan.
    Last edited by jayd512; 01-08-2013 at 06:33 AM.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #5
    Linux Newbie
    Join Date
    May 2012
    Posts
    110
    Hi,

    Can I get the steps to work on it please...

    First time i am working on it.

    Hence want to know the steps in using YUM to upgrade the Kernel.

    Regards,
    Aparna.

  7. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    jayd512 already gave you the commands to update the system or specifically the kernel.
    As for backup plan:
    - *Usually* updates within a major version of centos/redhat just work. As one would expect from an enterprise OS.
    - But before updating a production system, it is also good practice to look at the Release and Technical Notes for your current version up to the most recent one.
    Then judge, if the own installations could be affected.
    - A kernel update will install an additonal kernel. It will not delete the previous one.
    So, if the machine really shouldnt boot with the new kernel, then you can always choose the previous one in the grub menu while booting.
    - Using the grub menu requires access to a local console either via direct access to the machine or via out-of-band management hardware/tools.
    - Contrary to jayd512 I dont see a strong need for a backup just for a minor update. Backup in general should be there, of course.
    You must always face the curtain with a bow.

  8. #7
    Linux Newbie
    Join Date
    May 2012
    Posts
    110
    How to download patch in redhat website ?

    kernel-2.6.18-274.7.1.el5

    I have to download the patch : kernel-2.6.18-274.7.1.el5

    After Logging into redhat , I could see some options:

    Knowledge Group Supports Downloads Security Subscription


    Which of the options i need to select ?

    How to download the patch : kernel-2.6.18-274.7.1.el5



    Regards,
    Aparna.

  9. #8
    Linux Newbie
    Join Date
    May 2012
    Posts
    110
    Hi,

    Should I Download source package ?

    kernel-2.6.18-274.7.1.el5.x86_64.rpm (21,552,666 bytes) Download Package
    kernel-2.6.18-274.7.1.el5.src.rpm (65,750,681 bytes) Download Source Package
    Associated Debug Info Package(s) Debug Info Package(s)



    Among these 3, which I should download for Kernel Patching ? Download Package (or) Download Source Package ?



    Regards,
    Aparna.

  10. #9
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    In many of your previous threads, you already got the informations *multiple* times about
    - redhat commercial subscriptions
    - redhat Update policies
    - yum usage
    My suggestion is to look at these threads again.
    You must always face the curtain with a bow.

  11. #10
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Agreed. The information has been given to you.
    Have you looked at the links posted above? They outline the steps for what you're asking.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Page 1 of 2 1 2 LastLast

Posting Permissions

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