help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: x86_64: grub-install for secure boot


From: Andrei Borzenkov
Subject: Re: x86_64: grub-install for secure boot
Date: Sat, 29 Jul 2023 08:42:49 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 28.07.2023 22:04, Pascal Hambourg wrote:
On 28/07/2023 at 20:13, Zvi Vered wrote:

You wrote: "Most likely the system was booted in legacy BIOS mode"

I don't think so. grub-install would have selected the i386-pc target
instead of x86_64-efi.


--uefi-secure-boot option may implicitly set UEFI target. This option does not exist in upstream grub (and this is mailing list for upstream grub) so I have no idea what it does exactly nor why this question was not asked on distribution support channel.

I booted knoppix with: secure boot=disable
Under this knoppix I ran: grub-install.

Should I boot the PC with secure boot=enable and then run grub-install ?

I do not think it would change anything. As I suggested previously,
you'd rather check efivarfs first. If it cannot be mounted, run
grub-install with option --force-extra-removable and select to boot from
the drive removable media path (not the "debian" boot entry).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]