Sunday, February 19, 2017

boot - How to choose grub default OS entry without fixing it to a specific kernel version?

I have Ubuntu 16.04, Ubuntu 18.04, and Windows 10 installed on my machine. I want to update the order of entries in the grub menu so that the default (first) entry is Ubutnu 18.04. The solutions available online suggest manually changing the default to a specific entry, with a specific kernel version. However, after kernel update, won't I need to again change the order to put the latest version on top?


I notice I have this kind of "generic" entry (the first entry, called "Ubuntu") which always loads the last kernel version available of Ubuntu 16.04. How can I have an entry with the same behavior for Ubuntu 18.04 and move it to the top? Also, could someone explain how this entry works? I couldn't find anything online about it.


P.S: I tried changing the order and saving with Grub-customizer, but it didn't actually change it! Also, it seems to be inconsistent, because in the first entry named "Ubuntu", when I click edit, I find that it has this part "linux /boot/vmlinuz-4.18.0-25-generic". So, it seems to be referring to Ubuntu 18.04 kernel, but when I open the same entry from boot menu, it opens Ubuntu 16.04 instead.


Thank you.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...