Luckily it's usually an easy fix if you know your way around the UEFI. Just plop grub back where it needs to be in the boot order.
Although I definitely wish Windows didn't mess with the boot order occassionally.
Also, finally, I dual-boot and I haven't actually had this happen in about a year now. I think maybe Microsoft finally stopped fucking around (with this one thing).
EDIT: Actually, it could be because I'm on Windows 10 and they stopped "Feature Updates" and all I get are security updates now. That could be why they stopped fucking with my boot order.
https://www.pcmag.com/news/microsoft-sorry-but-no-more-feature-updates-for-windows-10
I can't recall a single feature from any feature update being added.
What users consider "Features" and what Microsoft considers "Features" are wildly different. I'd say that probably played a role in it.
Honestly, the only useful "features" in Windows I've found in the last few years were all provided by a non-standard Microsoft app that isn't easy to find: PowerToys.
PowerShell is nice too, but it's not new enough to be considered a "feature" anymore.
The last time I dual-booted, which is a while ago, it was grub that keeps losing my windows boot option. Not sure what happened there, since I'm still a newbie at Linux.
The OS_prober feature is disabled by default in GRUB 2.06, which is the version included in Ubuntu 22.04. This is an upstream change designed to counter potential security issues with the OS-detecting feature (it mounts partitions to check for other OSes, this could be taken advantage of, etc).
That's why. You need to enable the os_prober in your grub settings manually or put your windows line in /etc/default/grub or so.
Yo, thanks for this. I'll save this for the next time I'm motivated enough to try dual-booting again. Currently I just care about playing games, so tinkering with it will have to wait.
You're welcome, I'm happy to point out the correct term to search for.
If you don't want to take care of stuff like this, you can choose a distro like Mint that would be more sensitive to shield their users from changes like this. There is plenty to learn and tinker without having to follow upstream news that could break your system.
The partition is there. It's just that Windows overwrites the MBR as if no other operating systems could possibly exist.
It's 2023, Linux has great UEFI support, there is no reason to be using MBR over GPT.
Fact check: true
Source: It happened to me.