I used Netinstall on a USB stick (which booted without a problem) to install Debian 12 as a UEFI system on another USB stick (the 'Target').
At the end of the installation procedure the Target system booted on my UEFI laptop OK.
I shut down, unplugged the Target and attempted to boot into the laptop internal Debian 12 system, but this failed with error messageSecure boot has never been enabled.
I used the Refind boot manager to boot into the internal system and then repaired it with:Now the laptop boots from the internal drive as it should, but fails to boot from the Target using the 'One time boot' option, with message:It seems that the installation of Debian to the Target broke the UEFI boot arrangement for the internal system, and fixing that broke the UEFI boot arrangement for the Target.
Any advice on how I get out of this loop?
Thanks.
At the end of the installation procedure the Target system booted on my UEFI laptop OK.
I shut down, unplugged the Target and attempted to boot into the laptop internal Debian 12 system, but this failed with error message
Code:
'Secure boot is disabled ...'.
I used the Refind boot manager to boot into the internal system and then repaired it with:
Code:
sudo apt-get install --reinstall grub-efi sudo grub-install /dev/nvme0n1 sudo file /boot/efi/EFI/debian/grubx64.efi sudo efibootmgr
Code:
"Secure boot is disabled. Booting from 'USB SanDisk 3.2Gen1' failed; verify it contains a 64-bit UEFI OS. Press any key to continue booting ..."
Any advice on how I get out of this loop?
Thanks.
Statistics: Posted by Kevin1 — 2025-02-25 14:54 — Replies 2 — Views 111