Ask Your Question

How do I remove rescue kernel from fedora 23

asked 2016-01-02 20:52:56 -0500

dmercer08 gravatar image

Im fairly new to the linux os, I just dual-booted my macbook pro with fedora 23, basically I want to know how to remove the rescue kernel from my system because the two linux icons in my refind menu is driving me nuts!!!! I understand the importance of having the rescue kernel but at this point I dont care, if something goes wrong I will just reinstall linux as Im just really trying to get a feel for the OS... So can somebody please tell me how to get rid of the rescue kernel from fedora 23 so my refind menu can look normal lol.....

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-01-03 14:12:39 -0500


As far as I know, rescue kernel does not belong to any package. If you really want to get rid of it, just remove file /boot/vmlinuz-0-rescue-* and file /boot/initramfs-0-rescue-* with rm command (as root user or with sudo) and recreate your rEFInd menu.

I am not running my Fedora on macbook, so I can not provide you with working command(s) for this part. I presume you know how to proceed to recreate rEFInd boot menu.

edit flag offensive delete link more


yea i know how to do everything with refind on my end..... and the rm command worked! Thanks!!

dmercer08 gravatar imagedmercer08 ( 2016-01-03 16:13:03 -0500 )edit

answered 2016-09-08 07:11:51 -0500

sergiomb gravatar image

To regenerate rescue you may delete the actual rescue images with rm and run:

/etc/kernel/postinst.d/ $(uname -r) /boot/vmlinuz-$(uname -r)

this command also runs after every new kernel installed, if you don't want have an rescue entry, edit:


and set:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-01-02 20:52:56 -0500

Seen: 1,674 times

Last updated: Sep 08 '16