Ubuntu 20.04.6 LTS apt problems - how to upgrade f/w?
Bo Berglund
bo.berglund at gmail.com
Wed Nov 27 09:43:22 UTC 2024
On Wed, 27 Nov 2024 10:31:16 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>There seems to be a setting hidden somewhere else that forces grub to always
>bring up the latest booted kernel (or grub entry)....
Additional question:
In my Linux notes I have a section about cleaning out /boot to save space (from
when I had a separate partition for boot and it was too small):
- List all existing kernels:
dpkg --list 'linux-image*' | grep ^ii
- delete the old kernels:
sudo apt remove linux-image-VERSION
(Where VERSION is from the listed name like linux-image-4.15.0-142-generic)
- sudo apt autoremove
- sudo update-grub
- sudo reboot
Can I use this method to remove linux-image-5.4.0-89-generic thereby making it
impossible to actually start with that kernel, but which will then be used?
Or is it not allowed to remove the running kernel?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list