Ask Your Question
0

This is interesting, why does Fedora have both kernels as boot options?

asked 2017-12-12 17:18:00 -0500

byerlythomas2 gravatar image

updated 2017-12-12 17:21:26 -0500

Hi,

I recently upgraded my system and rebooted my system. I barely noticed it but I did, I noticed that there were three boot options for Fedora instead of two.

Fedora (4.14.3-300.fc27.x86_64) 27 (Workstation Edition)
Fedora (4.14.9-300.fc27.x86_64) 27 (Workstation Edition)
Fedora (0-rescue-blahblahblahblahblah) 27 (Workstation Edition)

I looked at it once again and thought ok the first two are almost the exact same. I had no idea what the "4.14.3-300" was or why they were different. I thought to myself "maybe that has something to do with the linux kernel". So i booted into one of them and ran the command uname -r and sure enough 4.13.9-300.fc27.x86_64 was the output. I tried booting with both of em and I am required to enter my encryption passphrase for both so I figure everythings okay. I knew that upgrading my system caused this. But the question is why didn't my system delete the old or "obsolete" kernel? It kept the old one. Thanks a lot!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2017-12-12 17:26:21 -0500

fcomida gravatar image

If something goes wrong with the new kernel and cannot boot, you can boot with the old kernel that you know is working.

edit flag offensive delete link more

Comments

That's pretty smart! Thanks!

byerlythomas2 gravatar imagebyerlythomas2 ( 2017-12-12 17:32:03 -0500 )edit

By default, dnf will keep the latest 3 kernel versions. Also, the rescue kernel option will stay there forever, unless you take to specific steps to replace it.

ssieb gravatar imagessieb ( 2017-12-12 18:23:59 -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: 2017-12-12 17:18:00 -0500

Seen: 99 times

Last updated: Dec 12 '17