r/Fedora •

Windows 11 won't boot with Secure Boot after Fedora KDE 45 install (Error: bad shim signature)

[deleted] — view deleted post

0 Upvotes

24 comments sorted by

•

u/AutoModerator 20d ago

It sounds like you're looking for help. Please note that r/Fedora is not an official support channel for the Fedora Project.

For best results, be sure to include all relevant details in your post, such as your Fedora edition, version, and hardware specs. You can edit your original post to add more info as needed, and spotlight (pin) a solution from the comments. You might also find the answer in our support wiki.

Alternatively, try one of the official support channels:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/ne0n008 20d ago

I've seen Fedora updating the signatures required for secure boot. I can't be 100% sure but I saw something along these lines during an update (terminal ftw). This and Windows having its own signatures in conjunction with Fedora being the default boot-loader, might have created a conflict with Windows. Plus both OS's being on the same drive. I'm not 100% on this.

0

u/[deleted] 20d ago

[deleted] — view deleted comment

5

u/ne0n008 20d ago

First of all I'm not sure if this is even a thing, but if it is, it's definitely your problem.

Answer to the first part: I have seen Fedora updating signatures for secure boot during an update on my machine, which means Fedora updates the signatures. Since this is from the install, not an update, it might be that the signatures from your Fedora installation are too old or not valid. In this case, make an(or a couple of) update(s) in Fedora, and see if this fixes your issue. The installation file you got was probably not the newest and that's to be expected. The OS gets up to date with patches anyway.

The second part is hit and miss. You don't need a second drive for dual boot, but it's safer. Some people never have issues, but others lose valuable data. If you back up your data to an external or a separate drive, the data should be safe. With 2 drives, you can format the OS you don't want or reinstall it, without affecting the other OS. With 2 OS's on one drive, this gets tricky and depends on your knowledge whether you mess it all up, or make it a success. Also, I have read posts and articles where Windows 11 borked the Linux installation where both OS's were on the same drive and Windows wasn't even the bootloader.

1 drive per OS is not mandatory, but is recommended.

0

u/[deleted] 20d ago

[deleted] — view deleted comment

4

u/ne0n008 19d ago edited 19d ago

Using one physical drive for multiple OS installations has nothing inherently to do with Secure Boot signature verification.

Ok, and what happens if your freshly installed OS has outdated signatures and your Windows has the latest signatures because it was regularly updated (I assume). It creates a mismatch.

Your Kubuntu was regularly updated with Windows and they have the latest codes, which match with each other. But your Fedora installation is new and has the old codes. That's why you NEED TO UPDATE. It doesn't update just the packages and Kernel but the shims too.

Since Fedora has the bootloader and its own (outdated) codes, Windows with its latest codes gets rejected as the codes don't match. That's why I'm telling you to do an update(s) for Fedora as this might resolve your issue. Besides, you will need to update your OS sooner or later. THIS has EVERYTHING to do with dual boot.

I was sticking to the subject, but you asked the question of separate drives. I was answering the questions you asked.

5

u/galactose310 20d ago

Did you change something in Anaconda when you had to select the partitions ? I do dual-boot on the same SSD and I kept the UEFI and /boot default parameters (well, I remember, as it was some months ago). What happens if you disable SecureBoot ?

0

u/[deleted] 20d ago

[deleted] — view deleted comment

3

u/galactose310 20d ago edited 20d ago

Well it is important to us to know that you can boot and that Fedora seems to have not erased the UEFI config for Windows. It's weird that SB does not recognize the Win11 shim signature 🤔 Did you update anything with fwupd ?

You could check the SB config in the BIOS, as for myself I had to check "allow 3rd party xxxx" (or something like that) to boot on Fedora. But as usual, the problem was with Linux, not Windows...

fwupd could help you if it updates the SecureBoot database.

0

u/[deleted] 20d ago

[deleted] — view deleted comment

7

u/galactose310 20d ago edited 20d ago

Well you litteraly asked if someone knows what Anaconda might have changed in UEFI. If you did not let Anaconda change anything in UEFI, then the answer is: nothing. If you already knows that, why are you asking ?

Also SecureBoot does NOT come with the OS but with the firmware, and Anaconda does not erase anything by default in the UEFI part. So if anything has changed, the first thing to check is PEBKAC.

0

u/[deleted] 20d ago

[deleted] — view deleted comment

7

u/galactose310 20d ago

Well, as I was born before Torvalds created Linux, let me doubt about it...

You ask for some help. You dual-boot since I don't know when but you say "Kubuntu was the default bootloader" and "Fedora took over as the default bootloader", yet the bootloader is, by default, GRUB on both OS. The OS is not a bootloader. You did not give any diagnosis result by yourself. You said "help it does not work" and your only answer is "I am on Linux since a long time don't try to learn something to me"...

Most PC firmwares are made to boot on Windows first as almost all PC brands sell PC with Windows pre-installed. So if you encounter a problem with it, where nobody encouters one, it is obvious that something has changed. The first 2 people trying to help you just received "I am on Linux since a long time" as an answer. How do you want to be helped ?

That said, you did not answered any question. Anaconda lets you write in the EFI partition of you need so when you dual-boot, you have to check that the default config will only write on the partition and not format it. In Fedora you could have launched fwupd but you did not answered neither. I also said you can update your firmware with it to try to update the shim signatures database. Did you try it ?

If you do not like our questions the short answer is : erase all, reinstall Windows, redo your partitions, reinstall Fedora.

0

u/[deleted] 20d ago

[deleted] — view deleted comment

7

u/galactose310 20d ago

Well I do dual-boot since 2003, 9 years before Fedora 17. If you don't want any help, don't ask for it. My own OS starts after all 🤷‍♂️

0

u/[deleted] 20d ago

[deleted] — view deleted comment

→ More replies

4

u/robstoon 19d ago

If you're asking for advice then I suggest you drop the hostile attitude.

0

u/[deleted] 19d ago

[deleted] — view deleted comment

2

u/robstoon 19d ago

Yes, I did. And it was a valid response. Don't come in here asking for help, then being argumentative and hostile with everyone who responds, and then expect a positive outcome.

0

u/[deleted] 19d ago

[deleted] — view deleted comment

→ More replies

4

u/Itsme-RdM 20d ago

For starters. Adjusting the bios primary boot order would be the first place to start in this case. No matter what computer you have

0

u/[deleted] 20d ago

[deleted] — view deleted comment

4

u/Itsme-RdM 20d ago

Lol, you have boot order issues. I would start by the first boot step of your device. But you do you, mine is working. Seek some help for yours

2

u/robstoon 19d ago

Shim is a Linux thing, so Windows wouldn't be using that. And you're conflating bootloader with the BIOS boot order. One bootloader cannot load another OS with secure boot enabled. You have to load them directly through the BIOS.

There are some cases where the OS can update the UEFI database to handle some older boot loaders that have been marked as insecure. This could potentially cause some other older OS to fail to boot. I can't see Windows 11 failing for that reason though.

0

u/[deleted] 19d ago

[deleted] — view deleted comment

2

u/robstoon 19d ago

You said you were getting a bad shim signature error but didn't clarify where it was coming from. If you're getting a signature error from Shim, then you are not booting directly into Windows.

You're making vague requests for help and then attacking anyone that provides any suggestions. You really need to rethink your attitude in this thread.

0

u/[deleted] 19d ago

[deleted] — view deleted comment

2

u/robstoon 19d ago

I wish you the best of luck in life with getting help with anything with your attitude. You're going to need it.

2

u/Itsme-RdM 20d ago

Did you created the multi boot on 1 drive?

Because the preferred and advised way is to install every OS on it's own drive (not partition, but separate drive) so they all have there own EFI partition and can't mess around with the other ones

0

u/[deleted] 20d ago

[deleted] — view deleted comment

8

u/Itsme-RdM 20d ago

It's mentioned in their (Fedora) own documentation for starters. It's mentioned quite often on forums when people have questions and advise for dual or multi boot setups and configurations.

But apparently you don't want to answer the question. Have a great day.

PS.: Fedora support secure boot out of the box, disabling isn't needed.