Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.

Do you dual-boot Windows and Linux? Well, a recent Windows update seems to have been a bit messy and may have broken the ability to boot into Linux. Causing an alarming message to display of "Something has gone seriously wrong".

The update in question is in relation to CVE-2022-2601, and as the numbers there suggests, it's an issue from way back in 2022 that Microsoft decided just last week to go and patch up themselves. From the CVE:

A buffer overflow was found in grub_font_construct_glyph(). A malicious crafted pf2 font can lead to an overflow when calculating the max_glyph_size value, allocating a smaller than needed buffer for the glyph, this further leads to a buffer overflow and a heap based out-of-bounds write. An attacker may use this vulnerability to circumvent the secure boot mechanism.

It wasn't supposed to affect you if you do have Linux installed, as per Microsoft's own info they said:

To address this security issue, Windows will apply a Secure Boot Advanced Targeting (SBAT) update to block vulnerable Linux boot loaders that could have an impact on Windows security. The SBAT value is not applied to dual-boot systems that boot both Windows and Linux and should not affect these systems. You might find that older Linux distribution ISOs will not boot. If this occurs, work with your Linux vendor to get an update.

However, that seems to have still caused problems for those that do dual-boot. Oops. There's been quite a few reports of people unable to boot into their Linux distributions as a result of this update. A potential solution can be found in an Ubuntu Discourse post from 2023 for a previous issue.

Microsoft haven't yet said anything about it that I can find, and their update page notes "Microsoft is not currently aware of any issues with this update", so clearly that needs an update.

Article taken from GamingOnLinux.com.
19 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
46 comments
Page: «4/5»
  Go to:

You know how some people backup the header of encrypted disks:
 
sudo cryptsetup luksHeaderBackup /dev/<your-disk-luks> --header-backup-file luks2-header-backup-$(date -I)


If somebody wants a project make a interface equivalent to Etcher that optionally backs up the MBR + Linux / Windows boot partitions.

Then next time Windows fucks this up. ( Which they have been for decades and we haven't done anything about it. ) A person can load a Live USB, create a new backup in the broken state and run the Restore tool to revert the changes to before Microsoft screwed the pooch.

Who knows maybe what I'm imagining already exists, there's a lot of fine people out there who do amazing work all the time on our apps.
RamenJunkie Aug 22
I have not dual booted in a while but Windows 10 would kill my Linux partition all the time during updates and I am not convinced it was an "accident".
williamjcm Aug 22
Quoting: redneckdrowThe best thing an experienced Linux user can do to save their sanity is to bite the bullet and go Linux-only. Unless you're required to work with Windows-only tools, of which there are very few that won't work in WINE these days, for a job.

I'll be honest, I switched to Linux around 1.5 years ago, and I have to keep a Windows installation around because good luck debugging the Windows build of a project on Linux because Wine's debugging support is not good.

It's also useful for games that either require components that simply aren't available on Wine (speech recognition, for example) or have issues that only happen in Wine and/or with DXVK (like the Modern Warfare remaster consistently hanging at specific points in two missions, or LEGO Ninjago consistently crashing at a specific point during a specific cutscene, or Homefront Revolution consistently crashing when entering a specific area).
Linux_Rocks Aug 22
Quoting: ShabbyX
Quoting: Linux_Rocks
Quoting: Claude_LibI have Windows on a separate drive for rare occasions when I need it. The only clue two systems have about each other's existence is that Windows messes up the clock because I keep forgetting to set the RealTimeIsUniversal registry key.
I always just set Linux to use local time. One quick line in terminal is easier than a registry edit in Windows.

Local time is the wrong choice of course, like your files having mtime in the future when DST hits or if you take the train to the next city which happens to be in a different timezone.
I've never thought about that before. Though to be honest, that's not really an issue for me.
Aeder Aug 22
Quoting: RamenJunkieI have not dual booted in a while but Windows 10 would kill my Linux partition all the time during updates and I am not convinced it was an "accident".

I had pretty much the same experience. At this point, I no longer give Microsoft the benefit of the doubt.
Quoting: redneckdrowThe best thing an experienced Linux user can do to save their sanity is to bite the bullet and go Linux-only.
What finally drove me to Linux only was when a Windows 7 update caused an unrecoverable boot loop, and then the repair tool on the Windows 7 DVD had a bug preventing it from recognizing an existing Windows installation, meaning a complete reinstall was the only option, so I said, "Screw it," booted into Linux, reformatted the Windows drive to ext4, and have never looked back.
Quoting: RamenJunkieI have not dual booted in a while but Windows 10 would kill my Linux partition all the time during updates and I am not convinced it was an "accident".
I recall hearing about a Windows 10 update that randomly wrote junk data across any non-Windows file system, which very effectively bricked Linux installs. Of course Microsoft insisted it was unintentional.
Quoting: Highball
Quoting: Marlock
Quoting: Highball
Quoting: MarlockQuick question: what system has a copy of grub installed (not by windows, because it's never used by windows) but doesn't have linux so it's ok to replace/block grub?

Any system.
Please elaborate

You can point Grub at any kernel to load. Haiku, Redox, whatever. LILO was popular back in the day. Nothing is stopping anybody from getting rid of Grub and switching boot loaders. You can even point one boot loader at another boot loader. That's how most people dual boot Windows. Grub loads, then start WinLoader, then WinLoader starts onekernel.

I had the most success keeping Windows on a separate drive where it could do whatever it wanted with the boot sector, and then grub on the primary drive would simply hand off to WinLoader on the secondary drive. Installing Linux and Windows on the same drive was a bit like playing Russian roulette. You never knew when Windows would break things.
Yup I've had this on two different occasions in the past, sadly I just opted not to dual boot and use W11 on main PC and Linux on random office PCs I pick up off ebay

It's a shame as I'd love to dual boot, but I'm not willing to get rid of windows entirely (at present time anyway) when it comes to my main gaming rig

Another thing that use to annoy me in the past with dual booting, I'd hardly boot into windows and then when I do the OS freaks out because it wants to download and install hundreds of updates I've missed out on.. oh but they're forced updates, what a shame *facepalm*
Highball Aug 23
Quoting: ElectricPrismYou know how some people backup the header of encrypted disks:
 
sudo cryptsetup luksHeaderBackup /dev/<your-disk-luks> --header-backup-file luks2-header-backup-$(date -I)


If somebody wants a project make a interface equivalent to Etcher that optionally backs up the MBR + Linux / Windows boot partitions.

Then next time Windows fucks this up. ( Which they have been for decades and we haven't done anything about it. ) A person can load a Live USB, create a new backup in the broken state and run the Restore tool to revert the changes to before Microsoft screwed the pooch.

Who knows maybe what I'm imagining already exists, there's a lot of fine people out there who do amazing work all the time on our apps.

https://help.ubuntu.com/community/Boot-Repair

Honestly I don't know how well it works. I haven't dual booted for close to twenty years and this tool didn't exist then as far as I know. At that time, all you had to do was live boot off a CD and chroot to your Linux partition, then rerun your boot loader install command, and it was all back to normal. It's a minor inconvenience for seasoned Linux users, but newbies immediately think Linux sucks and doesn't work. Obviously MSFT's intention. I don't remember a time that updating Windows didn't rewrite the MBR.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.