Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-19-2006, 11:01 PM   #1
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
How to roll back kernel?

My nvidia drivers were installed correctly but the screen is quite choppy. I was informed that there is a compatibility issue with the 2.6.17-1.2157_FC5 and the drivers for nforce4 motherboard. The guy who experienced the same problem said he rolled back the kernel to the one previous and everything was fine.

How can I roll back the kernel to the previous version. Note that I just spent an hour yum updating so I hope there is a quick way to go one kernel backwards.
Old 07-20-2006, 01:25 AM   #2
Registered: Feb 2005
Location: Kansas
Distribution: RHEL 4, FC6, Ubuntu 6.06
Posts: 46

Rep: Reputation: 15
rollback the kernel

There is more than one way to skin a cat, but this works for me. Version 2 is easy, but Version 1 is good to know.

Version 1
You can use vi as I do in the example, or whatever your favorite editor is. gedit will do the trick to.

#vi /boot/grub/grub.conf
Change the line "default=0" to "default=1" (highlighted in red)

title Fedora Core (2.6.17-1.2142_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.17-1.2142_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb

The kernels are listed in order starting at 0. By changing this to "1" you are basically telling it to boot with the second kernel listed. After a reboot you can uninstall the kernel. Perhaps you used yum to update in which case you could use the command:

#yum remove kernel-2.6.17-1.2142_FC4 (replace with your kernel version)

Version 2
As the cpu is booting press any key when you see the kernel version listed and choose a different version. Continue to boot and uninstall the kernel using yum as described above or the following command:

#rpm -e kernel-2.6.17-1.2142_FC4 (replace with your kernel version)

Hopefully these instructions are complete. I'm sure someone will let us know if they are not.
Old 09-14-2006, 04:04 PM   #3
LQ Newbie
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0

The information within the notiones was right on.
I helped me remove the kernel and now when I get a chance I can update the kernel again and perhaps have some more success with the OS.

TY again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Roll back to stable ? tuxuser19 Debian 1 12-10-2005 06:59 AM
how to roll back kernal in suse10 nanjil SUSE / openSUSE 4 12-08-2005 01:12 PM
Any way to roll back? FKK Linux - Newbie 1 11-12-2005 03:44 AM
Kernel Roll Back jannino Linux - General 1 04-22-2005 11:11 AM
How to roll back to an old RPM source? scahrossar Linux - Newbie 1 10-08-2003 01:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration