Jump to content

Removing old kernel


twistedcranium

Recommended Posts

twistedcranium

I'm preparing to update the kernel I'm using in RH 9 through the up2date package. I understand that after the setup I'll have two kernels installed on my machine. How do I go about removing the older kernel once I am comfy with the new one?

Link to comment
Share on other sites

B) I think it's just a matter of deleting the binaries and source code but you better wait for more expert advice in case you stuff it up.
Link to comment
Share on other sites

Hope you have a link to your new kernel in /boot. And it has a different number behind it as the old one. Then you can remove the old vmlinuz by ¨rm /boot/vmlinuz¨ ( or vmlinuz-xxx, where xxx is the number of the old kernel, but in most cases the old one does not have a number behind it )Removing it does not save that much space though, hardly 1 MB. B) Bruno

Link to comment
Share on other sites

Guest LilBambi

I usually leave the old kernel there and add the new one to lilo (or grub is that's what you use) as a separate entry.That way if there is a problem with the new kernel for some reason, you can still boot with a known good kernel and fix the problem.

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.

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.

×
×
  • Create New...