sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub
steve-ubuntu@steveubuntu-desktop:~$ sudo apt-get install grub-efi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
dvdauthor fonts-adf-oldania fonts-beteckna fonts-summersby gimp-help-common libdap27 libepsilon1 libflashrom1 libftdi1-2 libhwy0 libicu67 libjxl libktorrent-l10n libllvm13:i386 liblua5.3-0 libpano13-3 libpano13-bin libwmf0.2-7 libx265-192 linux-headers-5.15.0-70-lowlatency
linux-headers-5.19.0-1018-lowlatency linux-image-5.15.0-69-lowlatency linux-image-5.19.0-1021-lowlatency linux-lowlatency-headers-5.15.0-69 linux-lowlatency-headers-5.15.0-70 linux-lowlatency-hwe-5.19-headers-5.19.0-1018 linux-modules-5.15.0-69-lowlatency
linux-modules-5.19.0-1021-lowlatency lsp-plugins-vst pdfshuffler python3-altgraph python3-astor python3-easywebdav python3-funcparserlib python3-gnupg python3-macholib python3-pefile python3-pyelftools python3-rply tcl-tls tcllib xul-ext-ubufox
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-efi-amd64
The following packages will be REMOVED
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed
grub-efi grub-efi-amd64
0 to upgrade, 2 to newly install, 2 to remove and 17 not to upgrade.
Need to get 49.3 kB of archives.
After this operation, 419 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1
http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-efi-amd64 amd64 2.06-2ubuntu14.1 [47.1 kB]
Get:2
http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-efi amd64 2.06-2ubuntu7.1 [2,234 B]
Fetched 49.3 kB in 0s (588 kB/s)
Preconfiguring packages ...
(Reading database ... 734752 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
dpkg: grub-pc: dependency problems, but removing anyway as you requested:
grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however:
Package grub-efi-amd64 is not installed.
Package grub-pc is to be removed.
Removing grub-pc (2.06-2ubuntu7.1) ...
Selecting previously unselected package grub-efi-amd64.
(Reading database ... 734730 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-2ubuntu14.1) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.06-2ubuntu7.1_amd64.deb ...
Unpacking grub-efi (2.06-2ubuntu7.1) ...
Setting up grub-efi-amd64 (2.06-2ubuntu14.1) ...
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
Installation finished. No error reported.
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1021-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1021-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-69-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-69-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up grub-efi (2.06-2ubuntu7.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for shim-signed (1.51.3+15.7-0ubuntu1) ...
Secure Boot not enabled on this system.
steve-ubuntu@steveubuntu-desktop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
dvdauthor fonts-adf-oldania fonts-beteckna fonts-summersby gimp-help-common libdap27 libepsilon1 libflashrom1 libftdi1-2 libhwy0 libicu67 libjxl libktorrent-l10n libllvm13:i386 liblua5.3-0 libpano13-3 libpano13-bin libwmf0.2-7 libx265-192 linux-headers-5.15.0-70-lowlatency
linux-headers-5.19.0-1018-lowlatency linux-image-5.15.0-69-lowlatency linux-image-5.19.0-1021-lowlatency linux-lowlatency-headers-5.15.0-69 linux-lowlatency-headers-5.15.0-70 linux-lowlatency-hwe-5.19-headers-5.19.0-1018 linux-modules-5.15.0-69-lowlatency
linux-modules-5.19.0-1021-lowlatency lsp-plugins-vst pdfshuffler python3-altgraph python3-astor python3-easywebdav python3-funcparserlib python3-gnupg python3-macholib python3-pefile python3-pyelftools python3-rply tcl-tls tcllib xul-ext-ubufox
0 to upgrade, 0 to newly install, 42 to remove and 17 not to upgrade.
After this operation, 1,596 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 734738 files and directories currently installed.)
Removing dvdauthor (0.7.2-1build2) ...
Removing fonts-adf-oldania (0.20190904-2) ...
Removing fonts-beteckna (0.5-3) ...
Removing fonts-summersby (1.007-12) ...
dpkg: warning: while removing fonts-summersby, directory '/usr/share/fonts/truetype/summersby' not empty so not removed
Removing gimp-help-common (2.10.0-1) ...
Removing libdap27:amd64 (3.20.9-1) ...
Removing libepsilon1:amd64 (0.9.2+dfsg-5) ...
Removing libflashrom1:amd64 (1.2-5build1) ...
Removing libftdi1-2:amd64 (1.5-5build3) ...
Removing libjxl:amd64 (0.7.0-20220426.105500-0xiota0~ubuntu22.04) ...
Removing libhwy0:amd64 (0.16.0-1) ...
Removing libicu67:amd64 (67.1-7ubuntu1) ...
Removing libktorrent-l10n (21.12.3-0ubuntu1) ...
Removing libllvm13:i386 (1:13.0.1-2ubuntu2.1) ...
Removing liblua5.3-0:amd64 (5.3.6-1build1) ...
Removing libpano13-bin (2.9.20~rc3+dfsg-1) ...
Removing libpano13-3:amd64 (2.9.20~rc3+dfsg-1) ...
Removing libwmf0.2-7:amd64 (0.2.12-5ubuntu1) ...
Removing libx265-192:amd64 (3.4-2) ...
Removing linux-headers-5.15.0-70-lowlatency (5.15.0-70.77) ...
dpkg: warning: while removing linux-headers-5.15.0-70-lowlatency, directory '/lib/modules/5.15.0-70-lowlatency' not empty so not removed
Removing linux-headers-5.19.0-1018-lowlatency (5.19.0-1018.19~22.04.1) ...
dpkg: warning: while removing linux-headers-5.19.0-1018-lowlatency, directory '/lib/modules/5.19.0-1018-lowlatency' not empty so not removed
Removing linux-image-5.19.0-1021-lowlatency (5.19.0-1021.22~22.04.1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: v4l2loopback 0.12.7 (5.19.0-1021-lowlatency) (x86_64)
Module v4l2loopback-0.12.7 for kernel 5.19.0-1021-lowlatency (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
v4l2loopback.ko:
- Uninstallation
- Deleting from: /lib/modules/5.19.0-1021-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.19.0-1021-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-69-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-69-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Removing linux-lowlatency-headers-5.15.0-69 (5.15.0-69.76) ...
Removing linux-lowlatency-headers-5.15.0-70 (5.15.0-70.77) ...
Removing linux-lowlatency-hwe-5.19-headers-5.19.0-1018 (5.19.0-1018.19~22.04.1) ...
Removing linux-modules-5.19.0-1021-lowlatency (5.19.0-1021.22~22.04.1) ...
Removing lsp-plugins-vst (1.1.31-1ubuntu1) ...
Removing pdfshuffler (1.6.2-3) ...
Removing python3-macholib (1.15.2+ds0-1) ...
Removing python3-altgraph (0.17.2+ds0-1) ...
Removing python3-astor (0.8.1-1) ...
Removing python3-easywebdav (1.2.0-8) ...
Removing python3-funcparserlib (0.3.6+dfsg1-1build1) ...
Removing python3-gnupg (0.4.8-1) ...
Removing python3-pefile (2021.9.3-1) ...
Removing python3-pyelftools (0.27-1) ...
Removing python3-rply (0.7.7-2) ...
Removing tcl-tls:amd64 (1.7.22-2ubuntu1) ...
Removing tcllib (1.20+dfsg-1) ...
Removing xul-ext-ubufox (3.4-0ubuntu1.17.10.1) ...
Removing linux-modules-5.15.0-69-lowlatency (5.15.0-69.76) ...
Removing linux-image-5.15.0-69-lowlatency (5.15.0-69.76) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: v4l2loopback 0.12.7 (5.15.0-69-lowlatency) (x86_64)
Module v4l2loopback-0.12.7 for kernel 5.15.0-69-lowlatency (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
v4l2loopback.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-69-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-69-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for doc-base (0.11.1) ...
Processing 1 removed doc-base file...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
steve-ubuntu@steveubuntu-desktop:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done