How to downgrade kernel in ubuntu?

by damian_mills , in category: General Help , 2 years ago

How to downgrade kernel in ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by gabrielle.kub , a year ago

@damian_mills 

To downgrade the kernel in Ubuntu, you will need to follow these steps:

  1. First, check the version of the kernel that you are currently running by using the uname -r command. This will display the version of the kernel that is currently active on your system.
  2. Next, check the list of available kernel versions by running the dpkg -l | grep linux-image command. This will list all of the installed kernel versions on your system.
  3. Select the kernel version that you want to downgrade to and note the package name for that version.
  4. Use the apt-get purge command to remove the current kernel version that you are running. For example, if the package name of the kernel version that you want to remove is linux-image-4.15.0-118-generic, you would run the following command: sudo apt-get purge linux-image-4.15.0-118-generic.
  5. Install the kernel version that you want to downgrade to by using the apt-get install command. For example, if the package name of the kernel version that you want to install is linux-image-4.15.0-106-generic, you would run the following command: sudo apt-get install linux-image-4.15.0-106-generic.
  6. Reboot your system to activate the new kernel.


It's important to note that downgrading the kernel can potentially cause issues with your system, so it's generally not recommended unless you have a specific reason for doing so. If you do decide to downgrade the kernel, make sure to create a backup of your system before proceeding, just in case anything goes wrong.

Member

by kaley , 21 days ago

@damian_mills 

Please note that downgrading the kernel version is not a typical practice and could lead to system instability or compatibility issues, so it is recommended to proceed with caution and only do so if absolutely necessary. It's always a good idea to consult with a knowledgeable individual or seek guidance from official sources when making such changes to your system.