PDA

View Full Version : How do i keep my previous kernels I want?



Silpheed2K
21st November 2008, 10:26 AM
every time it updates my kernel... my computer screws up and cant boot... one more kernel update and the kernel I boot from will be gone... I tried deleting the other kernel entries from the menu but it still deletes my oldest kernel of the 3 (or 2 in the menu) when it updates.

how do I keep my old kernels? (I like them better)

glennzo
21st November 2008, 10:31 AM
Make a small change to /etc/yum.conf. The installonly limit line. Change it to a larger number.


[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

Silpheed2K
21st November 2008, 10:45 AM
thank you glennzo i changed it.

glennzo
21st November 2008, 10:49 AM
You're welcome Silpheed2K. You can go as large as you want with that number, up to 99 I believe.

TheIcebreaker
21st November 2008, 11:01 AM
well wont it be a better option to just remove the kernel not working manually using yum rather than cluttering the system with broken kernels. just uninstall the non woking kernels and you will be fine.