Hi Mart,
I was locked out of the forum for 24 hours as I only joined today and am bound to 20 replies for the first day.
I had issues.
Still, the newly loaded Kernel was not listed in advanced options.
A few thoughts come to me, I am booting with UEFI and I am using the ZFS file system offered in Ubuntu 20.04.
This is the output from the terminal from all your suggested commands-
len@len-Z390-AORUS-ULTRA:~$ sudo apt purge linux-image-5.4.0-53-generic
[sudo] password for len:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
linux-image-unsigned-5.4.0-53-generic
Suggested packages:
fdutils linux-doc | linux-source-5.4.0 linux-tools
The following packages will be REMOVED:
linux-image-5.4.0-53-generic* linux-modules-extra-5.4.0-53-generic*
The following NEW packages will be installed:
linux-image-unsigned-5.4.0-53-generic
0 to upgrade, 1 to newly install, 2 to remove and 0 not to upgrade.
Need to get 8,951 kB of archives.
After this operation, 190 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 Index of /ubuntu focal-updates/main amd64 linux-image-unsigned-5.4.0-53-generic amd64 5.4.0-53.59 [8,951 kB]
Fetched 8,951 kB in 5s (1,719 kB/s)
(Reading database … 304372 files and directories currently installed.)
Removing linux-modules-extra-5.4.0-53-generic (5.4.0-53.59) …
Removing linux-image-5.4.0-53-generic (5.4.0-53.59) …
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-54-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-54-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-53-generic
Selecting previously unselected package linux-image-unsigned-5.4.0-53-generic.
(Reading database … 299000 files and directories currently installed.)
Preparing to unpack …/linux-image-unsigned-5.4.0-53-generic_5.4.0-53.59_amd64.deb
…
Unpacking linux-image-unsigned-5.4.0-53-generic (5.4.0-53.59) …
Setting up linux-image-unsigned-5.4.0-53-generic (5.4.0-53.59) …
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-53-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-53-generic
(Reading database … 299003 files and directories currently installed.)
Purging configuration files for linux-modules-extra-5.4.0-53-generic (5.4.0-53.59) .
…
Purging configuration files for linux-image-5.4.0-53-generic (5.4.0-53.59) …
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-54-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-54-generic
/var/lib/dpkg/info/linux-image-5.4.0-53-generic.postrm … removing pending trigger
rmdir: failed to remove ‘/lib/modules/5.4.0-53-generic’: Directory not empty
Processing triggers for linux-image-unsigned-5.4.0-53-generic (5.4.0-53.59) …
len@len-Z390-AORUS-ULTRA:~$ sudo apt purge linux-image-5.4.0-54-generic
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool thermald
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
linux-image-unsigned-5.4.0-54-generic
Suggested packages:
fdutils linux-doc | linux-source-5.4.0 linux-tools
The following packages will be REMOVED:
linux-generic* linux-image-5.4.0-54-generic* linux-image-generic*
linux-modules-extra-5.4.0-54-generic* linux-signed-generic*
The following NEW packages will be installed:
linux-image-unsigned-5.4.0-54-generic
0 to upgrade, 1 to newly install, 5 to remove and 0 not to upgrade.
Need to get 8,914 kB of archives.
After this operation, 190 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 Index of /ubuntu focal-updates/main amd64 linux-image-unsigned-5.4.0-54-generic amd64 5.4.0-54.60 [8,914 kB]
Fetched 8,914 kB in 5s (1,900 kB/s)
(Reading database … 299003 files and directories currently installed.)
Removing linux-signed-generic (5.3.0.45.38) …
Removing linux-generic (5.4.0.54.57) …
Removing linux-image-generic (5.4.0.54.57) …
Removing linux-modules-extra-5.4.0-54-generic (5.4.0-54.60) …
Removing linux-image-5.4.0-54-generic (5.4.0-54.60) …
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-53-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-53-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-54-generic
Selecting previously unselected package linux-image-unsigned-5.4.0-54-generic.
(Reading database … 293622 files and directories currently installed.)
Preparing to unpack …/linux-image-unsigned-5.4.0-54-generic_5.4.0-54.60_amd64.deb
…
Unpacking linux-image-unsigned-5.4.0-54-generic (5.4.0-54.60) …
Setting up linux-image-unsigned-5.4.0-54-generic (5.4.0-54.60) …
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-54-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-54-generic
(Reading database … 293625 files and directories currently installed.)
Purging configuration files for linux-modules-extra-5.4.0-54-generic (5.4.0-54.60) .
…
Purging configuration files for linux-image-5.4.0-54-generic (5.4.0-54.60) …
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-53-generic
/var/lib/dpkg/info/linux-image-5.4.0-54-generic.postrm … removing pending trigger
rmdir: failed to remove ‘/lib/modules/5.4.0-54-generic’: Directory not empty
Processing triggers for linux-image-unsigned-5.4.0-54-generic (5.4.0-54.60) …
len@len-Z390-AORUS-ULTRA:~$ for x in linux-headers-5.4.0-54-generic linux-image-5.4.0-54-generic; do sudo apt install $x; done
Reading package lists… Done
Building dependency tree
Reading state information… Done
linux-headers-5.4.0-54-generic is already the newest version (5.4.0-54.60).
linux-headers-5.4.0-54-generic set to manually installed.
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool thermald
Use ‘sudo apt autoremove’ to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool thermald
Use ‘sudo apt autoremove’ to remove them.
Suggested packages:
fdutils linux-doc | linux-source-5.4.0 linux-tools
The following packages will be REMOVED:
linux-image-unsigned-5.4.0-54-generic
The following NEW packages will be installed:
linux-image-5.4.0-54-generic
0 to upgrade, 1 to newly install, 1 to remove and 0 not to upgrade.
Need to get 8,883 kB of archives.
After this operation, 338 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 Index of /ubuntu focal-updates/main amd64 linux-image-5.4.0-54-generic amd64 5.4.0-54.60 [8,883 kB]
Fetched 8,883 kB in 4s (1,998 kB/s)
(Reading database … 293625 files and directories currently installed.)
Removing linux-image-unsigned-5.4.0-54-generic (5.4.0-54.60) …
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-54-generic
Selecting previously unselected package linux-image-5.4.0-54-generic.
(Reading database … 293622 files and directories currently installed.)
Preparing to unpack …/linux-image-5.4.0-54-generic_5.4.0-54.60_amd64.deb …
Unpacking linux-image-5.4.0-54-generic (5.4.0-54.60) …
Setting up linux-image-5.4.0-54-generic (5.4.0-54.60) …
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-54-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-54-generic
Processing triggers for linux-image-5.4.0-54-generic (5.4.0-54.60) …
/etc/kernel/postinst.d/dkms:
- dkms: running auto installation service for kernel 5.4.0-54-generic
Kernel preparation unnecessary for this kernel. Skipping…
applying patch disable_fstack-clash-protection_fcf-protection.patch…patching file
Kbuild
Hunk #1 succeeded at 84 (offset 13 lines).
Building module:
cleaning build area…
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 ‘make’
-j16 NV_EXCLUDE_BUILD_MODULES=‘’ KERNEL_UNAME=5.4.0-54-generic IGNORE_XEN_PRESENCE=1
IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.4.0-54-generic/build LD=/usr/bin/ld.bfd
modules…
Signing module:
-
/var/lib/dkms/nvidia/455.38/5.4.0-54-generic/x86_64/module/nvidia-modeset.ko
-
/var/lib/dkms/nvidia/455.38/5.4.0-54-generic/x86_64/module/nvidia-drm.ko
-
/var/lib/dkms/nvidia/455.38/5.4.0-54-generic/x86_64/module/nvidia-uvm.ko
-
/var/lib/dkms/nvidia/455.38/5.4.0-54-generic/x86_64/module/nvidia.ko
Secure Boot not enabled on this system.
cleaning build area…
DKMS: build completed.
nvidia.ko:
Running module version sanity check.
nvidia-modeset.ko:
Running module version sanity check.
nvidia-drm.ko:
Running module version sanity check.
nvidia-uvm.ko:
Running module version sanity check.
depmod…
DKMS: install completed.
…done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-54-generic
I: The initramfs will attempt to resume from /dev/nvme1n1p3
I: (UUID=60ce2056-9a7d-445f-91a0-38ba6ed74753)
I: Set the RESUME variable to override this.
len@len-Z390-AORUS-ULTRA:~$ dkms status
nvidia, 455.38, 5.3.0-42-generic, x86_64: installed
nvidia, 455.38, 5.4.0-21-generic, x86_64: installed
nvidia, 455.38, 5.4.0-54-generic, x86_64: installed
len@len-Z390-AORUS-ULTRA:~$ sudo update-grub
Sourcing file `/etc/default/grub’
Sourcing file `/etc/default/grub.d/init-select.cfg’
Generating grub configuration file …
grub-probe: error: unknown filesystem.
Found linux image: vmlinuz-5.4.0-21-generic in rpool/ROOT/ubuntu_q6zf8y
Found initrd image: initrd.img-5.4.0-21-generic in rpool/ROOT/ubuntu_q6zf8y
Found linux image: vmlinuz-5.3.0-45-generic in rpool/ROOT/ubuntu_q6zf8y
Found initrd image: initrd.img-5.3.0-45-generic in rpool/ROOT/ubuntu_q6zf8y
Found linux image: vmlinuz-5.3.0-42-generic in rpool/ROOT/ubuntu_q6zf8y
Found initrd image: initrd.img-5.3.0-42-generic in rpool/ROOT/ubuntu_q6zf8y
device-mapper: reload ioctl on osprober-linux-nvme1n1p5 failed: Device or resource busy
Command failed.
Adding boot menu entry for UEFI Firmware Settings
done
len@len-Z390-AORUS-ULTRA:~$