248
Without fail.. (i.redd.it)
submitted 10 months ago by Onaltau@lemm.ee to c/linux_memes@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] icedterminal@lemmy.world 2 points 10 months ago

Do your normal windows updates do it?

They can. As Windows does updates it typically checks to make sure everything is working. This includes making sure it will boot after an update.

Or transition between major Windows versions?

If it's not a feature enablement update, then yes it can happen. In place upgrades actually reinstall Windows. This includes boot.

Or is it just a Win 11 problem?

Happens with 8, 10 and 11. Since these are UEFI compatible.

The problem starts with how you install. If you do Windows first and then Linux when sharing an EFI partition, Windows doesn't like this. A feature of Windows is PCR7. Since Secure Boot is a requirement now for Windows 11, this is more of a problem than it was. PCR7 binding happens when the entire boot chain has been authenticated using Microsoft's CA. This can interfere with BitLocker automatic encryption for Home. If it's already been enabled before you install Linux, you could lock yourself out of the Windows install if you don't know where to retrieve your recovery key. People typically install Windows first and then Linux because majority of Linux installers are smart. They detect Windows and create an entry so as to preserve booting.

When an update or upgrade takes place and Windows does its checks, it may decide "I don't like this EFI configuration" and then completely "repair" it. Not realising that it was that way on purpose.

The solution I've found is to manually create boot files for each, and then use rEFInd. Writing a manual configuration that simply loads the bootloaders on the Linux and Windows partition. That way neither are aware of the other.

this post was submitted on 16 Nov 2023
248 points (97.7% liked)

Linux Memes

620 readers
1 users here now

A community for posting memes relating to linux!

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP



founded 10 months ago
MODERATORS