kernel fallback to older version - Ubuntu
Kernel upgrade is a simple and smooth process. However, there are a few cases for which all ways need a fallback kernel available.
NOTE: Test changes first in using #1 before making the permanent changes to the system.
Temporary: Boot into the previous version of Kernel:
Interrupting the boot process using ESC key keep will splash the available kernel version on the system. Select the kernel.
2) Permanent
Method 1:
- sudo view /boot/grub/grub.cfg and copy the full name of your old kernel.
- sudo vi /etc/default/grub and, at the top, change GRUB_DEFAULT=0 to instead read GRUB_DEFAULT=your_kernel_name_from_grub.cfg, and save the change (you may like to keep a copy of the original file for safety).
- sudo update-grub
Method 2:
1. grep -A100 submenu /boot/grub/grub.cfg |grep menuentry
2. update GRUB_DEFAULT=gnulinux-advanced-version>gnukernl-kernel-version in /etc/default/grub
3. sudo update-grub
Comments
Post a Comment