Windows is overwriting my Linux EFI Bootloader.  [Solved]

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
m_pav
Developer
Posts: 1803
Joined: Sun Aug 06, 2006 3:02 pm

Windows is overwriting my Linux EFI Bootloader.

#1 Post by m_pav »

Introduction
This post is not so much about my finding a work-around using the tools available to us, it's about handing it to the OEM and getting them to fix it. I'm not there yet, but I have had a very welcome break-through after a long fight and I wish to share it with you all and the Open source Linux community as a whole. If your dual boot machine is in the foul position of overwriting your EFI Bootloader every time you boot Windows, you are not alone and I encourage you to take the time to read and digest this post, then get on board with the fight to regain control of the hardware you so rightly own.

Purpose
My title is as real as it gets, yet designed to mimic what a typical Linux user will find on a modern machine when they take the plunge and finally install (hopefully) MX Linux onto bare metal in a dual boot environment with any Windows version, be it 10 or 11, only to have it disappear the moment they boot back into Windows. The position we find ourselves in is that of what appears to be Microsoft being the perpetrators, and they are to a point, but they need a facilitator to make it possible, and this is the point of this post. We have to take it to the hardware manufacturer and give them a valid reason why our position has merit.

The bones of the matter
The truth of the matter is that Windows is permitted to overwrite the EFI bootloader and elevate itself into the priority boot position every time it is allowed to boot in a dual-boot with Linux setup, but it's the OEM manufacturers who are facilitating it. After a long fight with a hardware Motherboard manufacturer, I thought I'd lost the fight, because I received no response to my most recent response to a rather lengthy and extended support request that seemed to drag on for way longer than necessary. As usual, they were just not getting it and sticking their toffee noses in the air like they just did not care, after all why was this Linux nerd not letting go of this complaint, we've had enough of him, and who is this low-life nobody that we should take notice of him?

The breakthrough
My old IT business partner used to jokingly speak of my writing sternly worded letters, but he had a point, there are some things I will not lightly let go of, and I have a history of getting things done through those strongly worded letters. Fact is, I'm just too stupid to let it go and it takes me far too long to find the right words.

The good news is, it seems as if I have gained some ground in this space. Either they were tiring of my persistence, or something I said hit the mark, and I really think it's the latter, combined with the former. Having waded through the minefield of endless dumb responses which is so typical of first level support who either intentionally or through ignorance attempted to toss my issue aside, I finally got a response by presenting a case scenario which if allowed to escalate would bring disrepute to their name.

The core of my complaint and an admission
My complaint all along was about their facilitating an action that allowed a single Windows boot instance to overwrite a users pre-set BIOS Boot choice to boot into their preferred OS, whether it be multiple OS's on the same drive or multiple drives, each with its own OS. This argument went on for some time with all responses negating the seriousness of my complaint. Their support page history does not include their past responses, it only shows their most recent response, however, in two of their more recent responses said they said the Windows bootloader is prioritised and I would have to press F12 to boot into Linux. To that I asked them to explain why they allow a BIOS boot priority pinning to allow the modification of my EFI Boot loader without my knowledge or consent, and that I had to fix it every time I booted windows, therefore pressing F12 is not an acceptable remedy.

Even at this they continued with their mindless responses, so I replied with the following
Is it lawful to tamper with someones computer without their knowledge or consent? That is exactly what is happening here and there is no shortage of users who do not know as much as I do to whom this very thing has caused catastrophic data loss. Are you sure you want to continue ignoring this issue?
Once again, they directed me towards the F12 and stated they have no way to access my data, how then did they tamper with it, to which I replied
I never said tampering with data, I said tampering with the computer and by allowing the BIOS to change the default boot OS without the users knowledge or consent, [manufacturer] are illegally resetting a users boot choices by facilitating a priority boot option that makes the change without the users knowledge or consent and without warning. This is the type of behavior one might expect from a malicious operator who has direct access to their machine, and that's EXACTLY what it looks like to the end user. I don't care if [manufacturer] prefers Windows, no doubt it's because you don't know any better, but [manufacturer] have no place in trying to force your choices down the throats of other users by willingly allowing an unnecessary feature in your BIOS to make changes to a boot device or boot manager chosen by the owner of the machine. That is illegal behaviour and it requires a fix. F12 is NOT a fix.

I thought I had lost the fight
I did not receive a response to this for quite some time and I thought I may have cooked my goose, but last night I finally had a response which stated
Please ignore all my earlier responses to use the F12 key, Please advise what Motherboard and BIOS version you're using.
Ironically, all these details were required to even make my initial request, but I provided them again and asked if the fix was going to be provided across the full range of their hardware because I do not wish to have to go through all this again when I upgrade to the next processor platform.

Like I said at the beginning, I'm not there yet, I await their response :crossfingers:

In the meantime, if you have a dual boot set-up, where this is happening, I encourage you to ever so nicely raise a support request with your device manufacturer and gently lead them through a process to where you try to extract an admission of priortising the Windows boot-loader without making it evident you are doing so. Once you have this, you can begin down the road to the hard questions, but please do it nicely. Maybe, just maybe, we can set a precedent and smash this BS illegal OS prioritisation from unexpectedly stealing our preferred boot-loaders without our knowledge or consent. I believe we have legal grounds to enforce a class action lawsuit and effect a permanent change to the ways manufacturers respond to the MS monopoly who use hardware manufacturers to attempt “ownership of your hardware”
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Windows is overwriting my Linux EFI Bootloader.

#2 Post by Kermit the Frog »

m_pav wrote: Mon Nov 25, 2024 3:03 pm... Is it lawful to tamper with someones computer without their knowledge or consent?..
:celebrate: :number1: :celebrate:

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

Re: Windows is overwriting my Linux EFI Bootloader.

#3 Post by fehlix »

m_pav wrote: Mon Nov 25, 2024 3:03 pm overwriting your EFI Bootloader every time you boot Windows
Is it really the Linux EFi Bootloader they are overwriting, or is it rather the position within the boot order list?
In addition, within the well known order-list entries mentioned with the boot order list,
there is one "fallback" entry not listed within that list and this is kind of no man's land,
which is the efi loader used by UEFI as fallback in case none of the entries within the list are working or the list is empty.
or you select to boot from drive e.g with F12
Note MX Installer and I think also MX Boot Repair, do both overwrite the fallback bootloader as well,
as this position is not owned by Windows - but both tools do also change the boot order list, without touching the windows efi-loader.

User avatar
Arnox
Posts: 506
Joined: Sat Sep 18, 2021 10:50 pm

Re: Windows is overwriting my Linux EFI Bootloader.

#4 Post by Arnox »

Kermit the Frog wrote: Mon Nov 25, 2024 3:18 pm
m_pav wrote: Mon Nov 25, 2024 3:03 pm... Is it lawful to tamper with someones computer without their knowledge or consent?..
:celebrate: :number1: :celebrate:
I'm surprised they didn't just go with the usual,

"Uh, uh, uhhhh... Well, you agreed to [insert random-ass EULA here] so we're not liable."

Although I suppose if they did, you could always argue that EULAs do not cover criminal behavior, no matter what they say.

User avatar
jeffreyC
Posts: 529
Joined: Mon May 27, 2019 10:39 am

Re: Windows is overwriting my Linux EFI Bootloader.

#5 Post by jeffreyC »

Not by any means a new problem, BeOS had this as well:

https://birdhouse.org/beos/byte/30-bootloader/

Microsoft has long realized that control of the bootloader is a big part of their strategy for control of the computer.

User avatar
m_pav
Developer
Posts: 1803
Joined: Sun Aug 06, 2006 3:02 pm

Re: Windows is overwriting my Linux EFI Bootloader.

#6 Post by m_pav »

fehlix wrote: Mon Nov 25, 2024 4:24 pm
m_pav wrote: Mon Nov 25, 2024 3:03 pm overwriting your EFI Bootloader every time you boot Windows
Is it really the Linux EFi Bootloader they are overwriting, or is it rather the position within the boot order list?
You are correct, it is changing the boot order list, but the title is designed to draw in folk who have experienced this unlawful behavoiur.

In priortising the Windows boot code and allowing the elevation of such in a boot order list that was previously set and ordered by the machines administrator or owner, these manufacturers are assisting and abiding in a type of illegal activity by facilitating a tampering at the lowest level of the owners chosen options. Whichever way they do it, to permit such a change to be made without the users knowledge or consent does not remove their liability before the law.

The fact is, for affected machines where Linux has been set as the users chosen default OS in a dual boot set-up with Windows, when a single run of the Windows system on that machine is sufficient to trigger an unwarranted change to the users chosen boot settings, the facilitator of such is implicated in the offense.

Concerning the use of the Motherboards and licenses for such, at no time did I agree to, nor consent to a license agreement from the motherboard manufacturer. Same goes for my laptops, therefore I am free to do as I see fit with the hardware concerning what OS I choose to run. I just turned it on and it worked, until I found the anomaly that caused me to question it's origin, source, intent and the path to remedial action to fix it.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
m_pav
Developer
Posts: 1803
Joined: Sun Aug 06, 2006 3:02 pm

Re: Windows is overwriting my Linux EFI Bootloader.

#7 Post by m_pav »

jeffreyC wrote: Mon Nov 25, 2024 5:17 pm Not by any means a new problem, BeOS had this as well:

https://birdhouse.org/beos/byte/30-bootloader/

Microsoft has long realized that control of the bootloader is a big part of their strategy for control of the computer.
Well aware of it, have been for a long time now, but I needed some ammo to build a case that a manufacturer would take on. It's not an easy road, but if we collectively fail to do something about it, we will by our silence be agreeing to it. That's why I urge all who stumble upon this post/thread to raise it with their hardware manufacturer so we can set an actionable precedent driven by the Open Source community hat can no longer be ignored.

Cmon all, let's make this thing happen. :poke: :duel: :linuxlove:
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
dolphin_oracle
Developer
Posts: 22318
Joined: Sun Dec 16, 2007 12:17 pm

Re: Windows is overwriting my Linux EFI Bootloader.

#8 Post by dolphin_oracle »

Nice work there m_pav!

I'm not sure about the legality argument (at least for the US), but go with what works!
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
m_pav
Developer
Posts: 1803
Joined: Sun Aug 06, 2006 3:02 pm

Re: Windows is overwriting my Linux EFI Bootloader.  [Solved]

#9 Post by m_pav »

Well I have a result.

After much too-ing and fro-ing, the support agent said he had a working solution using a bootable Ubuntu USB and having set it as the default boot device, the machine booted to it every time the device was available at boot. The response had a BIOS update file attached, which the naming convention would suggest was an intermediate build added to a prior stable release.

Two boot cycles where I went from MX to Windows and back verified the issue was no longer an issue.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: Windows is overwriting my Linux EFI Bootloader.

#10 Post by davidy »

So they gave you a bios update? If I put any bootable usb in my laptop it will boot to it no matter what I do, which I like. My laptop has no bios gui to speak of really so it makes sense. I was going to suggest using something like clover, rescatux or refind. Weird you need a bios update for an OS flaw but pretty sweet they actually gave you one. A slight miracle to be sure. I have noticed that all new pc's with windows OS's are being tied to the hardware without users consent or knowledge. Windows doesn't really give newer features they just try to take more control of your hardware. I'll never forget that time a few years back I was installing windows and on the very first login the OS suggested I could simply use my cellphone#, which of course I refused.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

Post Reply

Return to “Tips & Tricks by users (not for help)”