Gul Dukat Posted November 30, 2005 Share Posted November 30, 2005 I'm running cooker 2006.1 currently. Ans I've upgaded my kernel to 2.6.12-13mdk. I've used it, I still have the old kernel on my hd as backup. But after running a few weeks with the new kernel I'm satisfied and would like to remove the old kernel and it's entries in Lilo. Could anyone explain, how I should do this? Thanks in advance.... Link to comment Share on other sites More sharing options...
jboy Posted November 30, 2005 Share Posted November 30, 2005 (edited) 1. To remove the kernel package, simply use the Remove Software (or Uninstall Software, I'm not in linux right now and don't remember which) menu option in MCC and specify the old kernel package, or use the CLI urpme command to remove it. 2. To remove the old entry from your lilo menu: Edit /etc/lilo.conf Remove the section referring to the old kernel Then as root from the console, execute the command: lilo -v This will write the updated boot loader info. Edited November 30, 2005 by jboy Link to comment Share on other sites More sharing options...
scarecrow Posted November 30, 2005 Share Posted November 30, 2005 My advice is always keeping AT LEAST one older kernel revision as backup... so, even if you feckup, you could boot your old kernel. Link to comment Share on other sites More sharing options...
Gul Dukat Posted November 30, 2005 Author Share Posted November 30, 2005 My advice is always keeping AT LEAST one older kernel revision as backup... so, even if you feckup, you could boot your old kernel. <{POST_SNAPBACK}> Thanks for the advice scarecrow. I'll keep that in mind next time I'm upgrading my kernel. I thought that after a few weeks succesfully using a newer kernel, you could just as easily remove the older kernel. Link to comment Share on other sites More sharing options...
Gul Dukat Posted November 30, 2005 Author Share Posted November 30, 2005 1. To remove the kernel package, simply use the Remove Software (or Uninstall Software, I'm not in linux right now and don't remember which) menu option in MCC and specify the old kernel package, or use the CLI urpme command to remove it. 2. To remove the old entry from your lilo menu: Edit /etc/lilo.conf Remove the section referring to the old kernel Then as root from the console, execute the command: lilo -v This will write the updated boot loader info. <{POST_SNAPBACK}> Thanks jboy. Thats all I needed to know. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now