vtoyboot icon indicating copy to clipboard operation
vtoyboot copied to clipboard

Secure boot with fedora

Open SleepInfinity opened this issue 2 months ago • 0 comments

Hello,

I installed Fedora 43 in a VHD using VirtualBox, ran the vhdboot.sh script inside Fedora, and then copied the VHD file to Ventoy with the .vtoy suffix.

However, when I try to boot it on my PC in UEFI mode with Secure Boot enabled, I get the following errors:

Loading Linux 6.17.9-300.fc43.×86_64 ...
error:../../grub-core/kern/efi/sb.c:189:shim_lock protocol not found.
Loading initial ramdisk ...
error:../../grub-core/loader/i386/efi/linux.c:260:you need to load the kernel
first.
Press any key to continue....

Disabling Secure Boot fixes the issue, but I want it to support Secure Boot since I need to be able to boot Fedora on school PCs where I don't have access to the BIOS settings.

I found an issue mentioning that I should add the -s argument to the script to enable Secure Boot support, but this doesn’t seem to change anything.

Thank you.

SleepInfinity avatar Dec 05 '25 20:12 SleepInfinity