How to Boot into an Older Kernel By Default in Ubuntu and Other Linux

Want to boot into an older available Linux kernel version by default? Here's how to downgrade the Linux kernel.
Warp Terminal

Here’s a possible scenario. Your system received a kernel update, but somehow things are not working as smoothly as previously.

You realized that if you boot into the older kernel (yes, you can downgrade kernel), things are back to normal.

That makes you happy with a little inconvenience. You have to manually select the older kernel at each boot.

This problem was faced by an elderly It’s FOSS reader. The new kernel update in Linux Mint wasn’t working as expected. Booting into the older kernel ‘fixed’ the issues, but choosing the older kernel at each boot was a problem.

Removing the new kernel (while using the older kernel) is not a good idea because the new kernel will be installed and used with the next system updates.

So, I suggested booting into the older Linux kernel by default. How to do that? That’s what I am going to show you in this tutorial.

Booting into the older Linux kernel

If you are not already familiar with it, your Linux distribution keeps more than one Linux kernel installed on your system. Don’t believe me? List the installed kernels in Ubuntu with this command:

apt list --installed | grep linux-image
List of available kernels in Ubuntu
List of available kernels in Ubuntu

When you get a new kernel version with the system updates, your system automatically chooses to boot into the latest available kernel.

From the grub screen, you can go to the Advanced options (or older Linux versions):

Grub screen for Ubuntu
Grub screen for Ubuntu

Here, you can see the available kernels to boot into. Choose the older one (without recovery option):

Advanced options in Grub allow you to boot into older Linux kernels

You won’t notice any visual difference. Your files and applications remain the same.

Suggested Read 📖

What is Grub in Linux? What is it Used for?
If you ever used a desktop Linux system, you must have seen this screen. This is called the GRUB screen. Learn what is GRUB in Linux and what is it used for?

Now that you have booted into the older kernel, it’s time to make your system boot into it automatically.

Making older kernel the default

If you are comfortable with Linux terminal and commands, you can modify the /etc/default/grub file and add the following lines to it:

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

And then update grub with:

sudo update-grub

What you did here is to tell your system to save the currently used entry as the default entry for the future runs of GRUB.

However, not everyone is okay with the command line, and hence I’ll focus on a GUI tool called Grub Customizer.

Installing Grub Customizer

Use the official PPA to install Grub Customizer in Ubuntu-based distributions:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt update
sudo apt install grub-customizer

For other distributions, please use your package manager to install this tool.

Using Grub Customizer to change the default boot entry

When you run Grub Customizer, it shows the available boot entries.

Grub Customizer List Configuration
Grub Customizer List Configuration

You have two options here.

Option 1: Select the desired kernel entry and use the arrow (displayed on the top menu) to move it up the order.

Move older kernel up the boot order
Move older kernel up the boot order

Option 2: Make the ‘previously booted entry’ the ‘default entry’.

Make previously booted entry the default
Make previously booted entry the default

I would suggest going with option 2 because it will work even when there are new kernel updates.

This way, you downgrade the kernel in Ubuntu or other distributions without removing the older version.

Note that most distributions like Ubuntu only keep two kernel versions simultaneously. So eventually, your preferred older kernel will be removed with the newer kernel versions.

This neat trick helped me when I installed the latest Linux kernel in Ubuntu, and it had issues with my audio system for some reason.

Whatever may be the reason, you now know how to boot into an older kernel automatically.

Grub Customizer is an excellent tool. It can do several more things to change your boot experience. You can read more about its capabilities here:

Customize Grub to Get a Better Experience With Linux
Couple of Grub configuration tweaks to get better experience with multi-boot Linux system using Grub Customizer GUI tool.

Questions? Suggestions? The comment section is all yours.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.