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).