Solved How to change default kernel for boot

Hi,
The upgrade to 14.0 failed but the new kernel is installed already. Right now I have to press 6 to load the kernel.old when the boot menu shows. I would like to boot the kernel.old by default, and even better to remove the problematic kernel from the menu.
How?

Thanks.
 
Hi. The old kernel is being moved to /boot/kernel.old and new kernel is installed in /boot/kernel. I don't know if it's recommended but you can delete new kernel from there.

Code:
# rm -rf /boot/kernel
# mv /boot/kernel.old /boot/kernel
 
Yep. That's what I do too. Every time you do a kernel install you might overwrite the 'original' kernel.old though. You can also make a copy of a known good kernel, for example cp -R /boot/kernel /boot/kernel.good for safe keeping.
 
Hi. The old kernel is being moved to /boot/kernel.old and new kernel is installed in /boot/kernel. I don't know if it's recommended but you can delete new kernel from there.

Code:
# rm -rf /boot/kernel
# mv /boot/kernel.old /boot/kernel
Very straightforward. Nice.
 
Back
Top