MIcrosoft Update pooches grub on dual boot...

For interesting topics. But remember this is a Linux Forum. Do not post offensive topics that are meant to cause trouble with other members or are derogatory towards people of different genders, race, color, minors (this includes nudity and sex), politics or religion. Let's try to keep peace among the community and for visitors.

No spam on this or any other forums please! If you post advertisements on these forums, your account may be deleted.

Do not copy and paste entire or even up to half of someone else's words or articles into posts. Post only a few sentences or a paragraph and make sure to include a link back to original words or article. Otherwise it's copyright infringement.

You can talk about other distros here, but no MX bashing. You can email the developers of MX if you just want to say you dislike or hate MX.
Message
Author
User avatar
CharlesV
Administrator
Posts: 7873
Joined: Sun Jul 07, 2019 5:11 pm

MIcrosoft Update pooches grub on dual boot...

#1 Post by CharlesV »

Not really sure that this is the place to post this, but it works :-)

Last tuesday's Windows update has created an issue for many users of Linux, with a wonky mess on the dual boot grub system.

If your seeing / wanting to know about it.. have a look at this article.

https://arstechnica.com/security/2024/0 ... nux-users/
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Eadwine Rose
Administrator
Posts: 15114
Joined: Wed Jul 12, 2006 2:10 am

Re: MIcrosoft Update pooches grub on dual boot...

#2 Post by Eadwine Rose »

"With Microsoft maintaining radio silence, those affected by the glitch have been forced to find their own remedies. One option is to access their EFI panel and turn off secure boot."

We tell folks to turn secure boot off, so.. shouldn't be a big issue?



On each update I check whether secure boot is still set to OFF in windows.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
CharlesV
Administrator
Posts: 7873
Joined: Sun Jul 07, 2019 5:11 pm

Re: MIcrosoft Update pooches grub on dual boot...

#3 Post by CharlesV »

Agreed, but I think it is good to inform people. Windows is becoming more and more of a problem :-/ even in dual boot.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
j2mcgreg
Global Moderator
Posts: 7116
Joined: Tue Oct 23, 2007 12:04 pm

Re: MIcrosoft Update pooches grub on dual boot...

#4 Post by j2mcgreg »

This is why I maintain a separate Windows 11 desktop. While I like the convenience and economy of dual booting, too many similar events in the past have made it more aggravation than it's worth.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
DukeComposed
Posts: 1499
Joined: Thu Mar 16, 2023 1:57 pm

Re: MIcrosoft Update pooches grub on dual boot...

#5 Post by DukeComposed »

j2mcgreg wrote: Wed Aug 21, 2024 12:17 pm While I like the convenience and economy of dual booting, too many similar events in the past have made it more aggravation than it's worth.
Strongly agree. Around 2017 after nearly 20 years of Linux and BSD use, personally and professionally, on servers and in VMs, I decided the time was right to try using a Linux laptop as a daily driver. I put a 50 GB Windows 10 partition on it and the rest was used for an Arch-based distro. I figured I'd need to jump back and forth under the mistaken belief I would be highly discriminating and demand Total Application Compatibility For Everything.

The Arch install lasted 5 weeks before I gave up on it and switched to Linux Mint. After several months, I realized I was only ever logging into the Windows partition once a month, and that was just to patch it before rebooting and going back to Mint. At the very next opportunity, I rebuilt the disk with a single LUKS partition and that was that.

Multi-booting other OSes might be useful under certain bespoke use cases, but I find that maintaining a VM is much easier and far less error prone. I just don't need that "os-prober has hit an error" kind of stress in my life anymore.

User avatar
FullScale4Me
Posts: 1125
Joined: Fri Jan 08, 2021 11:30 pm

Re: MIcrosoft Update pooches grub on dual boot...

#6 Post by FullScale4Me »

The key to it happening is the version of the UEFI shim, which Debian 12 seems to be using the newer version. This leaves Debian 12 and it's derivates unaffected.

There are a lot of Linux Mint 20.3/21.x/22 users, however, reporting the problem which uses the older Ubuntu UEFI shim.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
fehlix
Developer
Posts: 12868
Joined: Wed Apr 11, 2018 5:09 pm

Re: MIcrosoft Update pooches grub on dual boot...

#7 Post by fehlix »

FullScale4Me wrote: Wed Aug 21, 2024 1:42 pm The key to it happening is the version of the UEFI shim, which Debian 12 seems to be using the newer version. This leaves Debian 12 and it's derivates unaffected.
On MX-23.3 64bit ISOs we have Debian's signed efi grub boot loader:

Code: Select all

grubx64.efi:     file format pei-x86-64

Contents of section .sbat:
sbat,1,SBAT Version,sbat,1,https ://github.com/rh boot/shim/blob/main/SBAT.md
grub,3,Free Software Foundation,grub,2.06,https://www.gnu.org/software/grub/
grub.debian,4,Debian,grub2,2.06-13,https://tracker.debian.org/pkg/grub2

On installed with enabled secureboot we have current Debian 12 signed efi

Code: Select all

grubx64.efi:     file format pei-x86-64

Contents of section .sbat: 
sbat,1,SBAT Version,sbat,1,https ://github.com/rh boot/shim/blob/m ain/SBAT.md
grub,4,Free Software Foundation,grub,2.06,https://www.gnu.org/software/grub/
grub.debian,4,Debian,grub2,2.06-13+deb12u1,https://tracker.debian.org/pkg/grub2
So both do have "sbat" version "4", which seems not to be effected by Microsofts update.
At least a test boot with MX-23.3 Iso on a secureboot enabled win11, with yesterday latest update,
does work just fine.

User avatar
Stevo
Developer
Posts: 14797
Joined: Fri Dec 15, 2006 7:07 pm

Re: MIcrosoft Update pooches grub on dual boot...

#8 Post by Stevo »

Obligatory gif:

Image
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
CharlesV
Administrator
Posts: 7873
Joined: Sun Jul 07, 2019 5:11 pm

Re: MIcrosoft Update pooches grub on dual boot...

#9 Post by CharlesV »

+1 for Duke ... I only run windows in VM's or standalone.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
AVLinux
Posts: 3121
Joined: Wed Jul 15, 2020 1:15 am

Re: MIcrosoft Update pooches grub on dual boot...

#10 Post by AVLinux »

Hi,

I have Win 10 essentially only for Topaz Labs software which requires bare metal GPU, especially in the summer I might only boot into my Win partition once a month or less and I have to count on my session being completely unproductive while the programs and Windows itself updates... 9_9 Big time waste but to be fair any OS that only gets booted once a month will do the same thing, developers are restless by nature I suppose... I'll have to cross my fingers at the next update...

Post Reply

Return to “General”