How To Enable Secure Boot Support For Ventoy

Ventoy is a free and open-source tool for creating multiboot USBs. It’s one of the best alternatives to Rufus thanks to its excellent compatibility and ease of use.

One of the main complaints users had regarding Ventoy was that Ventoy drives wouldn’t boot on secure boot-enabled systems. The devs patched this in version 1.0.07, so you can create drives that work with secure boot now.

You’ll encounter a “Verification failed: (01XA) Security Violation” error when booting such drives for the first time. This is an intentional one-time error. I’ll explain how you can get past it in this article.

Enroll Key from Disk

One of the ways Ventoy can work with secure boot now is by adding Ventoy’s key as a trusted key to the Machine Owner Key (MOK) database. To add secure boot support with this method,

  1. Press Enter on the Verification failed screen.verification-failed-0x1a-security-violation
  2. Press any key on the Shim UEFI key management screen.shim-uefi-key-management
  3. Select Enroll key from disk and press Enter.enroll-key-from-disk
  4. Select VTOYEFI and press Enter.vtoyefi-enroll-key
  5. Select ENROLL_THIS_KEY_IN_MOKMANAGER.cer and press Enter.enroll-this-key-in-mokmanager
  6. Select Continue and press Enter in the Enroll MOK screen.continue-to-enroll-mok
  7. Select Yes and press Enter to enroll the keys.enroll-mok-keys-confirm
  8. Finally, select Reboot and press Enter. You should be able to boot with the Ventoy drive now.reboot-mok-management

Enroll Hash from Disk

An alternative way to enable secure boot support for Ventoy is by trusting the current version of the bootloader (i.e., enrolling a hash). I recommend enrolling a key instead of this as you may have to perform this process again after updates to the bootloader. However, if you prefer this method, here are the necessary steps:

  1. Perform Steps 1 and 2 from the previous section to get to the Perform MOK management screen.
  2. Select Enroll hash from disk and press Enter.enroll-hash-from-disk-mok
  3. Select VTOYEFI and press Enter on the Select Binary screen.vtoyefi-enroll-hash
  4. Select EFI/ and press Enter to switch to the EFI directory.enroll-ventoy-efi-hash
  5. Select BOOT/ and press Enter to get inside the BOOT directory.ventoy-boot-enroll-hash
  6. Select grubx64.efi and press Enter.grubx64-efi
  7. Select Continue and press Enter on the Enroll MOK screen.continue-to-enroll-mok
  8. Select Yes and Reboot on the next two screens. After the reboot, you should be able to boot with the Ventoy drive.reboot-mok-management

Disabling Secure Boot

Secure Boot support is enabled by default since Ventoy 1.0.76. On older versions, this option needs to be manually enabled.

If you created a drive without enabling this option, you can run Ventoy again, enable it now, then update the drive. This’ll make the drive compatible with secure boot without making any changes to the files on the drive.

secure boot support ventoy

If you want to boot a Ventoy drive that doesn’t have this option enabled, the only way is to disable secure boot

In rare cases, even drives with this option enabled may lead to a different error than the one we covered here. Once again, your only option in such cases is to disable secure boot entirely. Here’s how you can do this:

  1. Power up your PC and press the BIOS Setup key (Function keys or Del) to access your firmware settings.
  2. Enter Advanced Mode (usually F7) if required.bios-advanced-mode-f7
  3. Switch to the Security tab and set Secure Boot Control to Disabled.disable-secure-boot-control
  4. Press the key shown on the screen to save the changes and exit (usually F10).

After rebooting, you should be able to boot with the Ventoy drive as secure boot is disabled now.

Add a Comment

Your email address will not be published. Required fields are marked *