this post was submitted on 13 Jul 2026
261 points (97.1% liked)

Programmer Humor

32246 readers
1331 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] bulwark@lemmy.world 24 points 4 hours ago* (last edited 4 hours ago) (4 children)

2 separate bootloader partitions. Grub launches the windows bootloader on a different partition so it isn't aware of anything other than itself. Then the 2nd bootloader actually launches windows. Don't try to share one partition or else windows will inevitably wind up clobbering the Linux loader.

[–] gh0stcassette@lemmy.blahaj.zone 3 points 2 hours ago (1 children)

This assumes windows is not maliciously checking for other bootloaders in order to fuck with them, which I'm not willing to give MS the benefit of the doubt on tbh.

[–] MentalEdge@sopuli.xyz 1 points 21 minutes ago

It does work.

If you have two EFI partitions, Windows will stop looking once it finds the first one.

Which is actually a problem sometimes, as it will stop looking and use the first one it finds, even if it's on different drive than windows.

Imagine installing windows on a machine with two drives. Drive A already has an OS and an EFI partition, so you install Windows to drive B.

Except Windows will still go ahead and drop the bootloader onto drive A. Potentially breaking the OS that's there, plus setting up Windows in such a way that it requires drive A to boot. EVEN THOUGH THAT ISN'T WHERE YOU INSTALLED IT.

This is why guides tell you to install windows with only one drive connected. It's the only way to ensure it puts the bootloader and OS on the same drive.

[–] trainsrkool@lemmy.ml 13 points 4 hours ago

Windows will know, its lik a cancer

[–] Ooops@feddit.org 1 points 2 hours ago* (last edited 2 hours ago)

Then Windows will fuck up the EFI entry itself. Easy to fix of course but a pain in the ass when you are just starting with Linux and have barely any idea other than reinstalling for the 10th time in a few weeks.

[–] senseamidmadness@lemmygrad.ml 2 points 4 hours ago

Grub refers to this as chainloading and I did it years ago successfully (though with windows 10). Everything has to be EFI boot so grub can see the windows bootloader.