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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wonderful day!
It's apparently the third day (in a week!) I see people share their negative view on the booting being damaged by Windows...
Frankly, it's quite odd to see so many people having the issue when Windows or any other OS rewrites the bootloader...
It's sure possible to have it safe, so that even Windows won't rewrite during its update.
Though, I've been into Linux for more than 20 years now, I do have a machine that has Windows 10 installed alongside Linux, even if it's more frequent to boot Windows in a virtual machine nowadays.
The idea is to not share the location for the EFI files (in UEFI mode), but let the systems have their own keeping them fairly isolated, where Grub v2+ or another bootloader you prefer, load them all respectively, being located on a safer partition.
For example:
We have two storages (e.g., SSD):
/dev/sdaand/dev/sdb.Install Windows on
/dev/sdb(so it creates its own ESP);Install Linux on /dev/sda (so it creates its own ESP), with a normal/manual partitioning:
-
/boot/(for Kernels I have 4 GiB+);-
/boot/efi/(commonly, from 128 to 512 MiB is enough);- Here I normally also have a swap partition, and separate:
/home/,/var/;- Select Grub to be installed on the
/dev/sda;Boot the Grub in
/dev/sda;Update Grub within Linux, so it finds the Windows EFI on another drive via its os-prober.
Here, I believe
efibootmgrshould show the existing EFI, or you could check it manually in/boot/efiafter.Windows should operate on its own ESP it created on its own storage, and don't overwrite the Grub.
At voila!
To additionally clarify, in my personal experience for many years on Linux, I usually tend to see (and are fond of, personally) having separate mounts for contextually different data, where one of the most adequate in frequent circles and duties is to separate the responsibility as, for example:
/;~4GiB) -/boot/;~128-512MiB) -/boot/efi/;/home/;/var/;/etc/;/tmp/;It's also frequent to see the Logical Volume Manager (LVM) active, that may support a more fluent organization of hardware and logical devices. In this case, we might have all the above mounts, except 2 and 3, practically encrypted, too.
One of my current main machines have the following partitions (though no dual-boot on it):
If interested, please check the following:
- file-hierarchy (File system hierarchy overview... - Linux manual page...)
- Encrypting an entire system;
On Windows, if I am not mistaken (please correct me if wrong), the most frequent is to have at least two explicit partitions, in addition to the implicit primary 4 ones:
For example:
-
C:\- System and automatically organized User personal files (desktop, documents, variable as AppData/ProgramData);-
D:\- Manually installed programs and manually organized User personal files;Oh! I would recommend KDE Partition Manger if you prefer GUI for partitioning.
It's likely worth to mention that KDE Partition Manger (project source) is likely one of the best out there I found (tried at least 11 a few years ago) for convenient GUI Luks2 and LVM support, if required.
Even if compared to some of the popular, where Gnome's, GParted, and QtParted resulted in either unsupported logic for Luks2 and LVM or did not complete the task successfully. These tools are still awesome for other tasks, I believe!
Though, perhaps likely as you I do prefer shell or TUI, being dived mostly in terminals/servers, and a script is always an option, of course. Not to mention that even with the GUI above, manual commands are normally eminent/imminent.
Related: https://wiki.t2linux.org/guides/windows#separate-the-efi-partition-after-linux-is-installed
Then Windows will fuck up your EFI entries. Which is not a big deal if you know what you are doing but a completely different story for the audience you are explicitly addressing here when you even explain how to check those entries in the first place.
Also you did not actually mention that fastboot needs to be disabled in Windows, thus a clueless person will not understand the random hardware errors on Linux caused by not properly initialized devices and will blame Linux.
(And let's not even talk about some of the really insane stuff like pre-installed Microsoft SecureBoot keys that brick you whole system when removed because idiotic OEMs signed their own hardware's EFI drivers with the keys already pre-installed just because they can...)
So no, it's not "quite odd to see so many people having the issue when Windows". That's what Windows is causing, often intentionally so. Is most of this easily fixable? Sure... But it's a very effective deterrent for many people, so they never reach the point where they understand and be able to fix that stuff.
Windows never touched the main EFI entry in my cases, even at updating it from 10 to 11, and I clarified it 3 times.
With a few Google queries we may find it mentioned, yet I've just found a weak one at this moment:
Some documentations found mentioned relatively similar: