Jump to content

Removing entries in Lilo [solved]


Gul Dukat
 Share

Recommended Posts

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

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 by jboy
Link to comment
Share on other sites

My advice is always keeping AT LEAST one older kernel revision as backup... so, even if you feckup, you could boot your old kernel.

 

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

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.

 

Thanks jboy. Thats all I needed to know.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...