Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
Hello, I just had a similar problem with my centOS right now. Sorry if I inserted this question here but it's kinda related so I dont think I have to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55

    centos 4.x kernel rollback


    Hello,

    I just had a similar problem with my centOS right now. Sorry if I inserted this question here but it's kinda related so I dont think I have to open a new thread unless nobody replies.

    Anyway, I tried searching the net on how to rollback the kernel that I updated. The kernel that's causing this 'kernel panic' is 2.6.9-55. I wanted to go back to 2.6.9-22.ELsmp. Is there a way to do it? I can still access the old one by selecting it from the GRUB menu though.

    I issued "rpm -Uvh --rollback 'november 13'" but it doesn't work. By the way, I'm a newbie so I would a appreciate if you could be more specific.

    Thanks a lot.

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    This is the Suse board You should post in a new thread under CentOS

    If you have installed a video driver it is most likely you need to reinstall it or drop back to the vesa driver. If you ran Suse I could tell you how but things are most likely arranged differently in CentOS

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    thread moved to proper forum...
    oz

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Set 2.6.9-22.ELsmp kernel as default in /boot/grub/grub.conf file and you wont have to select it manually in GRUB Menu. Uninstall newer version after that.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55
    First of all, I apologise for posting this under Suse and thanks for moving this.

    Quote Originally Posted by devils_casper View Post
    Set 2.6.9-22.ELsmp kernel as default in /boot/grub/grub.conf file and you wont have to select it manually in GRUB Menu. Uninstall newer version after that.
    So this is simply rpm -e "kernel to remove" right?

    Just out of curiosity. One of the system message was "NO VOLUME GROUPS FOUND. VolGroup00 not found." It seems like LVM related problem. Is there a fix to this problem without removing the new kernel. I was hoping to use the package unless there's no other way.

    Thank you very much.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the output of fdisk -l command and contents of grub.conf file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55
    fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 19457 156183930 8e Linux LVM

  8. #8
    Linux Enthusiast
    Join Date
    Aug 2006
    Location
    Portsmouth, UK
    Posts
    539
    Hi luv,

    Yes you can simply remove the offending kernel with rpm -e.

    devils_casper's suggestion will also work. Out of curiosity how did you update the kernel ?

  9. #9
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55
    Hi,

    I just typed "yum update". I just learned few days ago that there's an option so that I can perform rollback.

    Thanks.

    Quote Originally Posted by matonb View Post
    Hi luv,

    Yes you can simply remove the offending kernel with rpm -e.

    devils_casper's suggestion will also work. Out of curiosity how did you update the kernel ?

  10. #10
    Linux Enthusiast
    Join Date
    Aug 2006
    Location
    Portsmouth, UK
    Posts
    539
    Hmm, yum update is pretty reliable these days...


    Stupid question, but I assume you downloaded all the dependencies?

    As gogalthorp mentioned early on it's probably a hardware driver that is causing the problem.

    What hardware are you trying to install it on (Dell, HP, home brew)?

Page 1 of 3 1 2 3 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
  •