[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: x86_64: grub-install for secure boot
From: |
Pascal Hambourg |
Subject: |
Re: x86_64: grub-install for secure boot |
Date: |
Fri, 28 Jul 2023 19:26:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 28/07/2023 at 17:58, Andrei Borzenkov wrote:
On 28.07.2023 18:52, Zvi Vered wrote:
In the PC boot menu, it's marked "debian".
What makes you think "debian" refers to whatever you installed?
Due to the failure of grub-install to update EFI boot variables (see
below), I suspect that "debian" still points to grubx64.efi (signed by
Debian, not trusted by default) instead of shimx64.efi (signed by
Microsoft, trusted by default).
Show full output of
efibootmgr -v
I am afraid efibootmgr won't show anything if EFI variables are not
available.
grub-install: info: copying `/usr/lib/shim/shimx64.efi.signed' ->
`/media/sdb1/EFI/debian/shimx64.efi'.
Good, this time grub-install installed the shim files for secure boot.
grub-install: info: Registering with EFI: distributor = `debian', path
= `\EFI\debian\shimx64.efi', ESP at hostdisk//dev/sdb,msdos1.
grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: warning: EFI variables are not supported on this system..
As explained above, grub-install failed to update EFI boot variables.
Is efivarfs mounted on /sys/firmware/efi/efivars ?
In the attached file I noticed info messages like:
grub-install: info: cannot open
`/usr/share/locale/be/LC_MESSAGES/grub.mo': No such file or directory.
Irrelevant.
- x86_64: grub-install for secure boot, Zvi Vered, 2023/07/27
- Re: x86_64: grub-install for secure boot, Pascal Hambourg, 2023/07/27
- Re: x86_64: grub-install for secure boot, Zvi Vered, 2023/07/27
- Re: x86_64: grub-install for secure boot, Pascal Hambourg, 2023/07/28
- Re: x86_64: grub-install for secure boot, Zvi Vered, 2023/07/28
- Re: x86_64: grub-install for secure boot, Andrei Borzenkov, 2023/07/28
- Re: x86_64: grub-install for secure boot, Zvi Vered, 2023/07/28
- Re: x86_64: grub-install for secure boot, Andrei Borzenkov, 2023/07/28
- Re: x86_64: grub-install for secure boot,
Pascal Hambourg <=
- Re: x86_64: grub-install for secure boot, Andrei Borzenkov, 2023/07/28
- Re: x86_64: grub-install for secure boot, Zvi Vered, 2023/07/28
- Re: x86_64: grub-install for secure boot, Zvi Vered, 2023/07/28
- Re: x86_64: grub-install for secure boot, Pascal Hambourg, 2023/07/28
- Re: x86_64: grub-install for secure boot, Zvi Vered, 2023/07/29
- Re: x86_64: grub-install for secure boot, Pascal Hambourg, 2023/07/29
- Re: x86_64: grub-install for secure boot, Randy Goldenberg, 2023/07/29
- Re: x86_64: grub-install for secure boot, Andrei Borzenkov, 2023/07/29
Re: x86_64: grub-install for secure boot, Randy Goldenberg, 2023/07/27