If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
If you have copied text output that contains formatting (colors, highlighting, etc.), please do not enclose it in QUOTE or CODE tags. Just right-click your mouse and choose "Paste Without Formatting" or similar (Paste as plain text).
New Topics require a Topic Prefix in specific Channels. An error message will be presented if you try to post a new Topic in one of those Channels without one.
Announcement
Collapse
No announcement yet.
error: prohibited by secure boot policy. Press any key to continue...
looks like you have two Ubuntu EFI entries: Boot0000 Ubuntu
Boot0001 ubuntu
Notice the different GPT UUIDs: 8a304aea...
89fce8b0...
Those are different EFI System Partitions,which is unusual.
It suggests your machine may have two disks (or two ESPs), and each has an Ubuntu bootloader installed.
please post output of
Until die.boer returns,
I had never seen the numbers at the end of the .EFI extension: SHIMX64.EFI0000424f
Searching:
Hexadecimal Tags: The 0000424f characters represent internal memory or disk address mapping identifiers appended by some motherboard manufacturers (like Insyde or AMI BIOS variants).
Display Glitch: The system's graphical boot menu or NVRAM variable reader failed to insert a proper space or separator between the file extension and the internal hex data block.
- - - - -
The output of sudo efibootmgr -v looks ok, I think, right?
die.boer is looking for some possible glitch/contamination in the signing.
paul@DesktopPC:~$ sudo ls -l /boot/efi/EFI/ubuntu
total 4560
-rwx------ 1 root root 108 Aug 4 15:26 BOOTX64.CSV
-rwx------ 1 root root 119 Aug 4 15:26 grub.cfg
-rwx------ 1 root root 2828168 Aug 4 15:26 grubx64.efi
-rwx------ 1 root root 856280 Aug 4 15:26 mmx64.efi
-rwx------ 1 root root 966768 Aug 4 15:26 shimx64.efi
paul@DesktopPC:~$
bootctl status:
Kubuntu 26.04 does not use systemd-boot by default. Like the main Ubuntu release, Kubuntu continues to rely on GRUB as its standard default bootloader for installation.
I finished upgrading my Desktop PC from 24.04.x to 26.04 with
sudo do-release-upgrade
There were no errors during the upgrade. Upon rebooting and selecting the top entry in the Grub menu, I got the error message "error: prohibited by secure boot policy. Press any key to continue..."
Pressing any key (or just waiting for a few seconds) and the boot process proceeds and I am presented with the login greeter. Enter my pwd and I'm on the 26.04 Desktop. Everything works.
So I googled on:
after upgrade to Kubuntu 26.04 from 24.04, upon rebooting and selecting the first entry in Grub, I see error: prohibited by secure boot policy. Press any key to continue...
The AI answer:
AI Overview
This error occurs when your UEFI Secure Boot blocks an unsigned GRUB module or file from loading during the boot process. To fix it, temporarily disable Secure Boot in your BIOS/UEFI settings, boot into Kubuntu, update and reinstall the signed bootloader packages, and then re-enable Secure Boot.
Fixing the Secure Boot Policy Error Disable Secure Boot: Restart your computer, enter your BIOS/UEFI settings (by pressing F2, F12, or Del depending on your system), locate the Secure Boot option under the Security or Boot tab, and turn it Off. Save changes and reboot into Kubuntu.
Update Package Files: Open your terminal and update your package lists and signed shim/grub components by running:
Reinstall GRUB: Reinitialize the bootloader to match your system EFI partition:
sudo grub-install
sudo update-grub
Re-enable Secure Boot: Reboot your computer back into your BIOS/UEFI settings, turn Secure Boot back On, save your changes, and start your system normally.
So I followed the steps shown above. With secure boot disabled, booting happens without this error. I then reinstalled the grub-efi-amd64-signed and shim-signed packages. Rebooted and entered the BIOS/UEFI settings and enabled secure boot, saved, and exited.
At the grub menu I selected the top entry in the Grub menu and was again presented with the error message.
This niggle didn't exist in 24.04. So how do I actually 'fix' it now that I'm running 26.04?
output of these 5 please ?
Code:
mokutil --sb-state
Code:
sudo mokutil --list-enrolled | head
Code:
sudo bootctl status
(if bootctl says it isn't using systemd-boot, that's fine.)
I always install Kubuntu with Secure Boot off. FWIW.
"Restore Factory Keys" or "Reset to Setup Mode"
I think I've heard that called "Restore Factory settings."
I've known a lot of pro's who do that routinely (with UEFI).
I have not used that setting.
But maybe you have some contamination in your BIOS somehow,
upgrading in place? or something.
Go back to the Secure Boot menu.Look for an option that says "Restore Factory Keys" or "Reset to Setup Mode". This forces the motherboard to reload Microsoft and Ubuntu's trusted signing certificates.Change Secure Boot back to Enabled.Save and exit. Your system will now boot into Kubuntu 26.04 normally with Secure Boot active.
My BIOS/UEFI settings have:
Secure Boot [Enabled] (options are Enabled/Disabled) ---->>>>>>>>>> Secure Boot function can be enabled only when the Platform Key(PK) is enrolled and running accordingly.
Secure Boot Mode [Standard] (options are Standard/Custom) ---->>>>> Selects the secure boot mode. This item is to select how the secure boot keys be loaded. This item appears when "Secure Boot" is enabled. [Standard] The system will automatically load the secure keys from BIOS. [Custom] Allows user to configure the secure boot settings and manually load the secure keys.
"Custom] Allows user to configure the secure boot settings and manually load the secure keys." Not sure/comfortable about the 'and manually load the secure keys' bit.
My motherboard is MSI, and the BIOS/UEFI is MSI CLICK BIOS 5
I just disabled Secure Boot. I only have Kubuntu Linux installed on this PC (Windows is gone forever). I don't recall if I previously had it Enabled or Disabled. I didn't look before I upgraded. Maybe it was Disabled and that's why I never saw this error message before.
I looked at it like you did. I thought the shim-signed looked a bit funny, but it's OK (syntax-wise, name-wise).
The Google AI agent did say this as the final step:
Step 3: Clear and Re-enable Secure BootRestart your PC and enter the BIOS/UEFI settings again.Go back to the Secure Boot menu.Look for an option that says "Restore Factory Keys" or "Reset to Setup Mode". This forces the motherboard to reload Microsoft and Ubuntu's trusted signing certificates.Change Secure Boot back to Enabled.Save and exit. Your system will now boot into Kubuntu 26.04 normally with Secure Boot active.
Did you really run those commands exactly as shown above? They're both actually two commands, and should have a semi-colon at the end of the last word before the second "sudo"....
Last edited by jrwatts; Aug 05, 2026, 06:08 AM.
Reason: OP was corrected to show commands on separate lines, so this reply is no longer valid.
error: prohibited by secure boot policy. Press any key to continue...
I finished upgrading my Desktop PC from 24.04.x to 26.04 with
sudo do-release-upgrade
There were no errors during the upgrade. Upon rebooting and selecting the top entry in the Grub menu, I got the error message "error: prohibited by secure boot policy. Press any key to continue..."
Pressing any key (or just waiting for a few seconds) and the boot process proceeds and I am presented with the login greeter. Enter my pwd and I'm on the 26.04 Desktop. Everything works.
So I googled on:
after upgrade to Kubuntu 26.04 from 24.04, upon rebooting and selecting the first entry in Grub, I see error: prohibited by secure boot policy. Press any key to continue...
The AI answer:
AI Overview
This error occurs when your UEFI Secure Boot blocks an unsigned GRUB module or file from loading during the boot process. To fix it, temporarily disable Secure Boot in your BIOS/UEFI settings, boot into Kubuntu, update and reinstall the signed bootloader packages, and then re-enable Secure Boot.
Fixing the Secure Boot Policy Error Disable Secure Boot: Restart your computer, enter your BIOS/UEFI settings (by pressing F2, F12, or Del depending on your system), locate the Secure Boot option under the Security or Boot tab, and turn it Off. Save changes and reboot into Kubuntu.
Update Package Files: Open your terminal and update your package lists and signed shim/grub components by running:
Reinstall GRUB: Reinitialize the bootloader to match your system EFI partition:
sudo grub-install
sudo update-grub
Re-enable Secure Boot: Reboot your computer back into your BIOS/UEFI settings, turn Secure Boot back On, save your changes, and start your system normally.
So I followed the steps shown above. With secure boot disabled, booting happens without this error. I then reinstalled the grub-efi-amd64-signed and shim-signed packages. Rebooted and entered the BIOS/UEFI settings and enabled secure boot, saved, and exited.
At the grub menu I selected the top entry in the Grub menu and was again presented with the error message.
This niggle didn't exist in 24.04. So how do I actually 'fix' it now that I'm running 26.04?
Last edited by Snowhog; Aug 04, 2026, 05:38 PM.
Reason: Put the sudo commands on separate lines to prevent confusion
Leave a comment: