Ask Your Question
0

How do i remove entries from the OS boot menu?

asked 2016-08-10 03:29:02 -0500

sigurdsk gravatar image

Hi! I have lots of old fedora entries when i boot my machine. Not that it matters too much but i want to remove the old versions if it is possible to do this safetly without risking any data loss or boot failures.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-10 09:17:00 -0500

florian gravatar image

updated 2016-08-10 10:44:58 -0500

How many do you have there? I'd recommend to keep at least three kernels (in case one doesn't work after upgrade you can fallback to older ones). The number of kernels to keep is set in /etc/dnf/dnf.conf (installonly_limit=). I usually keep 5 kernels on my Fedora machines - doesn't cost anything.

If you really need to remove them manually now, remove the kernels you think you don't need (dnf remove kernel...), then re-write your grub config (grub2-mkconfig -o /boot/.../grub.cfg).

If you want something graphical, you could use a program called grub-customizer - but be careful...

edit flag offensive delete link more

Comments

Ok. I will keep them there just in case then :)

sigurdsk gravatar imagesigurdsk ( 2016-08-10 12:32:55 -0500 )edit

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

Stats

Asked: 2016-08-10 03:29:02 -0500

Seen: 2,070 times

Last updated: Aug 10 '16