Public bug reported:

There are at least two problems with this package.

1) It depends on grub-efi-a*64-signed, grub2-common. But Modern systems
should use Shim + Unified Kernel Image (UKI) directly or over systemd-
boot. But debian dependency solvers want to install Grub…

2) It seems, second stage 'grubx64.efi' is hardcoded into shim and it is
not possible to specify another second stage. None of these tests works
for me on ThinkPad X1 Extreme Gen5 Non-Secure Boot even with non-nx
version nor '/EFI/Boot/' nor '/EFI/Ubuntu/ paths… Solution is to rename
linux.efi to grubx64.efi which is not clear…

efibootmgr --create --disk /dev/nvme0n1 --part 1 --label 'Ubuntu Shim+UKI 
linux.efi'     --loader '/EFI/Linux/shimx64.nx.efi' --unicode 'linux.efi'
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label 'Ubuntu Shim+UKI 
/linux.efi'    --loader '/EFI/Linux/shimx64.nx.efi' --unicode '/linux.efi'
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label 'Ubuntu Shim+UKI 
\linux.efi'    --loader '/EFI/Linux/shimx64.nx.efi' --unicode '\linux.efi'
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label 'Ubuntu Shim+UKI 
Slash'         --loader '/EFI/Linux/shimx64.nx.efi' --unicode 
'/EFI/Linux/linux.efi'
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label 'Ubuntu Shim+UKI 
BackSlash'     --loader '/EFI/Linux/shimx64.nx.efi' --unicode 
'\EFI\Linux\linux.efi'

See https://github.com/rhboot/shim/blob/main/dp.c.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: shim-signed (not installed)
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
.proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or 
directory: '/proc/sys/kernel/moksbstate_disabled'
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Jun 12 10:58:29 2026
EFITables:
 
SecureBoot: 6   0   0   0   0
SourcePackage: shim-signed
UpgradeStatus: Upgraded to resolute on 2026-02-11 (121 days ago)

** Affects: shim (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: shim-signed (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute secureboot shim wayland-session

** Also affects: shim (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156577

Title:
  Missing support for other second_stage than grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/2156577/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to