0

I installed 18.04 after 14.04. The default grub entry was 18.04 and 14.04 was displayed below. After a 14.04 update, things changed.

Instead of booting into 18.04 advanced options and choose the first kernel before last and then remove the last linux image and headers, reboot again in ubuntu 18.04 and make an update to the last kernel.... I tried to delete the unused linux image and headers hoping that will do the job. It didn't.

I tried 'sudo update-grub' in ubuntu 18.04 and then reboot, but no change. (I use 18.04 ubuntu-mate and 14.04 ubuntu).

Is there a way to put 18.04 as default, besides waiting for a new kernel update in 18.04?

marius-ciclistu
  • 262
  • 6
  • 19

1 Answers1

3

load up grub-customizer, and set the default boot entry.

In versions newer than 18.04 grub-customizer is in the repositories, and can be installed with

sudo apt install grub-customizer

For older versions

https://launchpad.net/~danielrichter2007/+archive/ubuntu/grub-customizer

Then right click on the ubuntu version you want to load by default and move up in first position. Then save and reboot.

Charles Green
  • 21,339
  • You're losing it Charles: You're showing up in the low quality review queue. ;-) But as this answer is complete as is, upvoted and voted to leave open... – Fabby Feb 10 '19 at 22:04
  • @Fabby - Dang! I suppose I could have verbosed that out some, to avoid the low-quality mark...... – Charles Green Feb 10 '19 at 22:28
  • Thank you. I installed grub-customizer in 14.04 with the tutorial from the url I wrote in your answer and moved the 18.04 ubuntu in the first position, then saved the change. After reboot, Ubuntu 18.04 appeared first, and I booted 18.04. Then made an update check and the grub was changed again with ubuntu in first position and ubuntu 14.04 in last. I don't know it it was a chance that the updater had 3mb of core updates solving this or not. The linux-image and headers were not updated, they still are 4.15.0-45. – marius-ciclistu Feb 11 '19 at 15:26
  • @marius-ciclistu Still working on that other answer - In the newer versions of Ubuntu, it is in the repositories, and I had forgotten to include the PPA bit. Thanks for that! – Charles Green Feb 11 '19 at 15:32
  • Long live Ubuntu ;) – marius-ciclistu Feb 11 '19 at 15:57