Set Default Kernel entry in GRUB2


After installing Wireguard in Ubuntu 18.04. the kernel vesrion (linux-image-gke-5.3) is automatically installed, as well. However on my system it broke several things like display-resolution and keyboard…

So i’d like to reset the former kernel linux-image-generic as the new default kernel in GRUB 2 again.


1) Backup grub config file:

> sudo cp /etc/default/grub /etc/default/grub.bak

2) Edit /etc/default/grub and set to:

GRUB_DEFAULT=”Advanced options for Ubuntu>Kernel description”


GRUB_DEFAULT=”Advanced options for Ubuntu>Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-106-generic””

3) Update grub

> sudo update-grub

see: Set older kernel as default grub entry


GRUB2 Configuration/
Delete a non-working kernel

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.