I actually had a Linux update do this once when it updated grub. Took a bit to fix but nothing was lost.
Just stop dual booting. This is self-inflicted harm. Setup a VM or find a native workaround.
I know this one weird trick to avoid this…
Windows is the virus
Windows only in a VM.
That is the only way.
I dual boot grub+linux from a wholly separate drive set as the boot drive, windows boot loader is unused, untouched, isolated on the windows drive.
Windows update still broke grub.
Pull my hair out for a few hours trying to find a fix, about to try something but have to reboot one last time.
Everything is fine, back to normal.
same thing happened to me years ago. it was at that point I made the decision to never dual boot.
I have two dedicated windows devices, and the rest are Linux.
I did,for a time, dual boot by installing windows on an external m.2 drive over TB3 and had a grub entry in for it. I never updated windows and frankly only used it about once a month for work related bs.
My windows ssd died about 2 weeks ago, but I was dual booting.
Took out the windows drive, slapped in a new one and I was no longer getting failed smart checks.
Happy to say that the windows drive that died was replaced with a new 990… that’ll be more storage for my Fedora Plasma system instead of getting windows 10 reinstalled. Win 11 was never a consideration but I did want to keep 10 around for as long as I could.
c’est la vie
I literally had the same thing happen to me last week. I’m done with windows. Hello ubuntu
Easily solved. Just run mkfs_ext4 on the windows partition, and mount it as an additional filesystem.
Never happened to me, but then again, most of the shit I see people complain windows does has never been my experience either.
I’ll do you one better. Do you know what a windows update killed on my multi boot system? It killed the windows bootloader. I’m working on a permanent solution to fixing this bootloader fudgery.
Well, one permanent solution is to permanently ditch Windows
I’ve been dualbooting for over a year now. Made sure each system has its own separate drive. I’ve noticed that every time I had to reinstall Linux, my windows boot entry is gone and then I can’t access it no matter what I tried. Turned out installing Linux first then windows was my mistake. When installing windows while there is a Linux install, windows will see the EFI partition already there and just decides to share it, and doesn’t create its own.
I found that out by accident while I was in windows’ storage management. There was no efi partition. Took a whole day to find out how to create one on the same drive where windows is installed and removing the one it created on the Linux partition. It was so painful.
Bottomline, install windows first if you want to dualboot. After that, even if windows takes over the boot after an update, all it does is resets the boot sequence and makes it default to it. You’d just need to access the bios and reset the sequence to prioritize Linux. That’s it
When installing windows while there is a Linux install, windows will see the EFI partition already there and just decides to share it, and doesn’t create its own.
That’s what it’s supposed to do, it’s a plain FAT32 partition, the bootloaders are just files you put in there.
Part of the issue is that while a well-made motherboard will look for all bootloaders on the partition and present them as options in the firmware UI, bad ones will only look for a specific file (
\EFI\BOOT\BOOTX64.EFI
) and use that. For an OS to have a chance of booting on those boards it has to overwrite that file, blowing away whatever other bootloader was there before.It’s annoying, since Windows is mostly well behaved here (It puts the main copy of the bootloader at
\EFI\Microsoft\Boot\bootmgfw.efi
and Linux bootloaders can see that and offer it, the reverse isn’t true) and can co-exist with Linux well (Well…), but manufacturers cutting corners causes more problems for everybody.The
\EFI\BOOT\BOOTX64.EFI
is the only file the UEFI standard says it is required automatically lookup from an EFI system partition. There can many EFI partitions but the UEFI is only required to find a single file per such a partition.efibootmgr -u
can show all bios auto created boot entries (don’t touch those, the bios can/will reset them at whim) and the manually created entries that don’t launch a BOOTX64.EFI named file.Ahhh, so that’s why I’ve never had any issues with my linux first windows 10 second setup.
Wow, damn. I didn’t know the motherboard can have a hand in this. Stupid gigabyte then. I hope this time, windows stays in its lane if I ever had to reinstall Linux. Thank you for the explanation, btw. Much appreciated
I’d double check, if you haven’t picked an option specifically it might just default to the fallback (i.e. BOOTX64) It’ll be under the boot device order section.
(Not my picture, stole it from Reddit)
Here it’s listing all the possible boot options this mobo can find, but there’s a generic “UEFI OS” option which I’d bet is the fallback. And once a choice is made it’s kept unless something resets it, so if it just happened to be set to the fallback once it’ll stick with that until a change is forced.
There WAS something weird that had a UEFI word in it, but choosing it shows nothing. I’d go over all the menu choices I see one by one and none of them takes me to windows. It was very annoying, all good now since I separated them. Next time this happens I’ll just ask on the Linux community. Hopefully you’ll pop up there and help. 😅
I have genuinely never had this issue while dual booting and I’m very confused as to why
Maybe I’m fucking cursed. I did absolutely nothing out of the ordinary. Installed Linux on a drive. Installed windows on another. Set the boot sequence in the BIOS to Linux. Installed osprober and ran it. The only different thing I have is the windows iso I use is stripped down using Chris Titus’ windows debloat script, and that one shouldn’t mess with anything as far as I know. It only debloats windows.
Tbh I think I’m just lucky because this seems like a really common issue
Don’t jynx it. Lmao
oh good to hear. I heard about windows doing jank stuff on update recently and was really worried I’d have to fight with it soon.
sometimes you do, sometimes you don’t. Different updates will break different things for different machines. Some people are blessed by Bill Gates himself, and never have to re-fix their shit. Others are cursed and have to fix random shit unrelated to the update every fucking update.
I can’t prove it, but I think microsoft does this on purpose so that some people will enthusiastically share their positive experiences with windows while everyone else gets shat on.
As long as you do what I mentioned in my comment, you’ll mostly be fine. Worst thing that could happen is a windows feature update resetting the boot sequence to itself only. It’s been a breeze.
Pre-UEFI they were fighting over the boot sector, sure, but now that everything is more well defined, and every OS can read the FAT32 ESP? Never seen it…
At worst the UEFI boot entry is replaced. There are some really shitty UEFI implementations out there which only want to load
\efi\microsoft\boot\bootx64.efi
or\efi\boot\bootx64.efi
, or keep resetting you back to those.Assuming you were dumped into Windows suddenly, you can check if you have the necessary boot entries still with bcdedit and its firmware option
bcdedit /enum firmware
If you just have a broken order you can fix it with
bcdedit /set {fwbootmgr} displayorder {<GUID>} /addfirst
If you actually need a new entry for Linux it’s a bit more annyoing, you need to copy one of the windows entries, and then modify it.
bcdedit /copy {<GUID1>} /d "Fedora" bcdedit /set {<GUID2>} path \EFI\FEDORA\SHIM.EFI bcdedit /set {fwbootmgr} displayorder {<GUID2>} /addfirst
Where GUID1 is a suitable entry from windows, and GUID2 is the one you get back from the copy command as the identifier of the new entry. Of course you will have to adjust the description and the path according to your distro and where it puts its shim, or the grub efi, depending on which you’d like to start.
Edit: Using DiskGenius might be a little more comfortable.
Imagine dual booting in 2025.
I don’t have a choice but to have Windows available. I have a close friend group who plays an old Half Life 1 mod online and it does NOT work at all on Linux. We’re the only people still playing it so there’s no support available. It’s janky sometimes even on Windows, but we’re never giving it up, it’s too much fun.
Which mod tho
Oh sorry!
The Specialists HD. It’s a shooter with kung-fu and sick flips and all sorts of crazy shenanigans.
Kung-fu and sick flips and all sorts of crazy shenanigans sounds pretty rad.
Depending whether you have a gpu in your cpu I think you can easily do a pass through for your dgpu and just virtualize windows.
Put Windows and Linux on two separate physical drives and this will never happen
To my own surprise, it can happen.
on two separate physical
drivesComputers and this will never happenPassword protecting “bios” usually works if you must dual-boot tho.
Oh it absofuckinglutely happens. If you install Linux first then Windows, windows will see the boot partition and use it instead of creating its own. Install windows first on its own, then install Linux. How I know? Hmmmmm
that’s why i just deleted my entire hard drive and installed mint on the whole thing