Selected Boot Image Did Not? Fix & Causes
In this article
The error message “Selected boot image did not authenticate” (or a variant like “Selected boot image did not verify”) appears on some Windows and Linux systems when the firmware refuses to load a boot entry because its digital signature or hash does not match what Secure Boot expects. This usually happens after a failed update, a corrupted bootloader, or a change in boot settings, and the fix typically involves disabling Secure Boot temporarily, resetting the boot configuration, or reinstalling the bootloader.
What This Error Means
When you power on a computer with UEFI firmware, the boot process checks each bootable device or file against a set of security policies. If the firmware is set to Secure Boot mode, it only allows bootloaders that have a valid signature from a trusted certificate. The message “Selected boot image did not authenticate” means the firmware rejected the image—it could not confirm that the file is genuine and unmodified. This is a security feature, not a sign that your hard drive is dead, but it does prevent Windows or Linux from starting normally.
Common Causes
- Corrupted bootloader files after a power loss during a system update.
- Disabled Secure Boot while the firmware still expects a signed image, or vice versa.
- Changed boot order so the system tries to boot from a USB or network device that lacks a valid signature.
- Dual-boot misconfiguration where one OS overwrites the other’s bootloader.
- BIOS/UEFI settings reset to defaults, which may re-enable Secure Boot with different keys.
How Secure Boot Works
Secure Boot is part of the UEFI specification. The motherboard stores a set of Platform Key (PK), Key Exchange Key (KEK), and Signature Database (db) entries. When the system starts, the firmware checks the bootloader’s signature against these databases. If the signature is valid, the bootloader is allowed to run. If not, you see the authentication error. This process protects against “bootkits” that try to load malicious code before the operating system starts.
Most Windows PCs come with Secure Boot enabled and have the Microsoft certificate preinstalled. Linux distributions like Ubuntu also support Secure Boot by using a signed shim loader. If you install a custom kernel or use a third-party bootloader, you may need to enroll your own keys or disable Secure Boot.
How to Fix It
Try these steps in order. The first two are the most common fixes and work for a large number of users.
- Restart and enter the UEFI/BIOS setup. This is usually done by pressing a key during startup—common keys are Del, F2, F10, or Esc. Check your motherboard manual if unsure.
- Disable Secure Boot temporarily. In the UEFI, look for a “Security” or “Boot” tab, find “Secure Boot,” and set it to “Disabled.” Save changes and exit. If Windows starts, you can re-enable Secure Boot later after fixing the bootloader.
- Reset the boot configuration. If disabling Secure Boot doesn’t help, use a Windows installation USB to access the recovery environment. From there, open Command Prompt and run:
bootrec /fixmbrbootrec /fixbootbootrec /rebuildbcd - Reinstall the bootloader. For Windows, the command
bcdboot C:\Windows(adjust the drive letter) recreates the boot files. For Linux, you can reinstall GRUB from a live USB. - Check the boot order. Make sure your primary hard drive is first in the boot priority list. Remove any USB drives or discs that might be interfering.
- Update the UEFI firmware. If the problem started after a BIOS update, check the manufacturer’s website for a newer version or a known issue.
How to Choose the Right Fix
The correct fix depends on what changed before the error appeared. If you just installed a new SSD or changed the boot order, the issue is likely a misconfiguration—check boot priority first. If the error appeared after a Windows update, the bootloader may have been corrupted, so use the bootrec commands. If you recently disabled Secure Boot to install an older OS, re-enable it or install the OS with Secure Boot support. When in doubt, start by disabling Secure Boot; it is the quickest way to get into your system so you can back up data before making further changes.
Common Misconceptions
One common myth is that this error means your hard drive is failing. In most cases, the drive is fine—the firmware simply refuses to load the boot file. Another misconception is that you must reinstall Windows to fix it. That is rarely necessary. Also, some users think that disabling Secure Boot permanently is the only solution, but you can often re-enable it after repairing the bootloader. Finally, note that this error is different from “Boot Device Not Found,” which indicates the firmware cannot locate any bootable drive at all.
Prevention Tips
- Always shut down your computer properly, especially during system updates.
- Keep your UEFI firmware and operating system up to date.
- If you dual-boot, install both OSes in UEFI mode (not legacy BIOS) to avoid bootloader conflicts.
- Back up your boot configuration with tools like
EasyBCD(Windows) orgrub-customizer(Linux) before making changes. - If you need to disable Secure Boot for a specific task, re-enable it afterward.
Frequently Asked Questions
Will disabling Secure Boot harm my computer?
Disabling Secure Boot reduces protection against boot-level malware, but it does not damage hardware or software. It is safe to do temporarily to fix the error. After you repair the bootloader, you can re-enable it.
Can I fix this without a Windows installation USB?
If you have a recovery partition on your drive, you may be able to access it by pressing F11 or another key during startup. Some systems also allow you to enter the Windows Recovery Environment by holding Shift while clicking Restart in the login screen—but that only works if you can boot. If you cannot boot at all, a USB drive is usually required.
Why does this happen on a new PC?
New PCs often have Secure Boot enabled by default. If you try to boot from a USB stick that was created without Secure Boot support (for example, an older Linux ISO), you will see this error. Create the USB with Secure Boot support or temporarily disable Secure Boot.
Does this error affect both Windows and Linux?
Yes. Any operating system that uses a bootloader must be signed to work with Secure Boot. Windows, Ubuntu, Fedora, and other major distributions support Secure Boot, but some older or custom distributions do not.
What if I still see the error after disabling Secure Boot?
If the error persists with Secure Boot off, the problem is not related to Secure Boot. It could be a corrupted bootloader or a failing drive. Try the bootrec commands or reinstall the bootloader. If that fails, test the drive with a diagnostic tool from the manufacturer.