Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Vitalius

[PSA] New Windows update breaks dual booting Windows with Linux.

So this shouldn't be an issue if you do a dual boot after you install the W10 update.

 

Kinda shitty. Probably not intentional on their part, but still shitty.

Recommended Posts

Posted · Original PosterOP

[Don't worry, there's news in this post.... somewhere.]

This is news (to me) and I think it's fairly important to people who do this. So this can be a warning as well. Moderators, move it if you need to.

Anyone who ...

 

So, I have a dual boot system.

 

I have been in Windows 10 for a few days. I then reboot into Debian and am greeted with a grub rescue console. For you "non-linux" people, that means the bootloader (the thing that loads the OS) can't find my OS. Welp. That's not good. 

After some googling, I get into my OS. I back it up just in case. I do some other stuff then reboot into Windows again.

5 hours later, I reboot back into Debian. I'm greeted with the grub rescue console again, even though I did a command to fix grub (weird). However, my new attempts at getting into my OS fail. It's completely borked (broken to the point of rage that I massively typo broken). 

So. I go about my day troubleshooting this problem for 12 hours. At one point, I think my SSD or Mobo is failing. At another, I think Windows is breaking my dual boot install.

 

Turns out it was the latter, in that, Windows 10 broke my dual boot system. 

Source: http://www.legendiary.at/2016/01/04/windows-10-update-changes-partition-table-and-breaks-grub/ (there's a link to a thread with someone explaining the issue there)

 

TL;DR of what happens: Microsoft added a new partition they need for some reason. This breaks grub and makes it unable to find your Linux boot drive by number, although UUID is unaffected.

 

There's a solution to fixing it (which did not work for me) in the above linked post. 

Whether Microsoft did this intentionally or not, I have quite a bit of enmity towards them now.


† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to post
Share on other sites

What I want to learn is how to get into linux via the windows boot loader... something that I have never been able to pull off...

Link to post
Share on other sites
Posted · Original PosterOP

Funny thing: This isn't the first time this has happened.

What I want to learn is how to get into linux via the windows boot loader... something that I have never been able to pull off...

It's actually pretty simple. Just install Windows then Linux. Linux won't break the Windows install and will add an option for it in it's boot loader.


† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to post
Share on other sites

I feel like W10 Updates have "accidently" broken a lot of things that objectively MS wouldn't want users to be doing.  As stated this isn't the first time dual boot was broken, programs have been "accidently" deleted, settings keep "accidently" getting changed.  Hard to keep calling it an accident when it seems to happen every other time.

Link to post
Share on other sites
Posted · Original PosterOP

I have no idea if I'm affected by this, as my bootloader and Elementary OS install is on another SSD. Haven't booted it up in a while tho, maybe it's time to do that. 

You will most likely not be affected by it, in regards to Elementary OS.

The Windows system will install the partition on the drive that Windows is installed on. And Windows will update the bootloader with where it's new partition is.

The issue with this is that Windows adds a new partition. Grub thinks your Linux partition is (hd0,gpt4), as an example. When Windows adds the new partition, it updates the EFI partition with it's new location, but does not update it for Linux.

So your Linux partition goes from (hd0,gpt4) to (hd0,gpt5) because of Windows' new partition, but that's only if they are on the same drive.


† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to post
Share on other sites

sigh :/ ms...


"There is nothing more difficult than fixing something that isn't all the way broken yet." - Author Unknown

"A redline a day keeps depression at bay" - Author Unknown

Spoiler

Intel Core i7-3960X @ 4.6 GHz - Asus P9X79WS/IPMI - 12GB DDR3-1600 quad-channel - EVGA GTX 1080ti SC - Fractal Design Define R5 - 500GB Crucial MX200 and 2 x Seagate ST2000DM006 (in RAID 0 for games!) - The good old Corsair GS700 - Yamakasi Catleap 2703 27" 1440p and ASUS VS239H-P 1080p 23" - NH-D15 - Logitech G710+ - Mionix Naos 7000 - Sennheiser PC350 w/Topping VX-1

 

Avid Miata autocrosser :D

Link to post
Share on other sites

Doesn't reconfiguring grub fix the issue?


...is there a question here? 🤔

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites
Posted · Original PosterOP

Doesn't reconfiguring grub fix the issue?

Depends. It did not for me.

I did grub-update on my system after getting into it through grub rescue. It seemed to discover things fine.

After I tried booting into Windows 10, then Debian again, still got grub rescue, except this time it couldn't read the EFI partition. 

Somehow, the EFI partition was formatted some other format instead of FAT32. Yet Windows 10 was fine with it. 

 

Re-configuring Grub will only work as long as the EFI partition is something Grub can read. How it got to be a different format is beyond me.


† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to post
Share on other sites

Depends. It did not for me.

I did grub-update on my system after getting into it through grub rescue. It seemed to discover things fine.

After I tried booting into Windows 10, then Debian again, still got grub rescue, except this time it couldn't read the EFI partition. 

Somehow, the EFI partition was formatted some other format instead of FAT32. Yet Windows 10 was fine with it. 

 

Re-configuring Grub will only work as long as the EFI partition is something Grub can read. How it got to be a different format is beyond me.

 

That's weird as hell. Makes me think it MUST be a mistake on MS' part


...is there a question here? 🤔

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites

Depends. It did not for me.

I did grub-update on my system after getting into it through grub rescue. It seemed to discover things fine.

After I tried booting into Windows 10, then Debian again, still got grub rescue, except this time it couldn't read the EFI partition. 

Somehow, the EFI partition was formatted some other format instead of FAT32. Yet Windows 10 was fine with it. 

 

Re-configuring Grub will only work as long as the EFI partition is something Grub can read. How it got to be a different format is beyond me.

 

Aren't EFI partitions always formatted as GPT? I know that non-EFI bootable Windows installers can't format or write to GPT partitions, they have to be initialized as EFI devices.


Intel i7 5820K (4.5 GHz) | MSI X99A MPower | 32 GB Kingston HyperX Fury 2666MHz | Asus RoG STRIX GTX 1080ti OC | Samsung 951 m.2 nVME 512GB | Crucial MX200 1000GB | Western Digital Caviar Black 2000GB | Noctua NH-D15 | Fractal Define R5 | Seasonic 860 Platinum | Logitech G910 | Sennheiser 599 | Blue Yeti | Logitech G502

 

Nikon D500 | Nikon 200-500 f/5.6 | Nikon 50mm f/1.8 | Tamron 70-210 f/4 VCII | Sigma 10-20 f/3.5 | Nikon 17-55 f/2.8 | Tamron 90mm F2.8 SP Di VC USD Macro | Neewer 750II

Link to post
Share on other sites
Posted · Original PosterOP

Aren't EFI partitions always formatted as GPT? I know that non-EFI bootable Windows installers can't format or write to GPT partitions, they have to be initialized as EFI devices.

You are conflating two things.

What a Disk uses as a partition table, and what those partitions are formatted as, in terms of a File System.

GPT is not a file system. MBR is not a file system. They are ways of storing the partition tables on a drive. 

FAT32 (general FS), EXT2,3,or4 (Linux FS), NTFS (Microsoft FS), or HFS+ (Apple FS) are file systems. Ways of laying out and managing storage of data on a drive. 

The EFI partition, I thought, was always supposed to be FAT32 so anything could easily read it. Mine being something random or unreadable implies to me it was corrupted. :/


† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to post
Share on other sites

Pretty well every windows "upgrade" Style updates seems to break dual boot....
Normally it's a matter of re-running your bootloader setup.

 

I also feel like if you're not using a persistent naming scheme at this point you need to fix that.

 

I now have my windows and linux on different drives with separate boot partitions so that windows doesn't touch anything to do with my linux drive.
Then my system boots to the linux drive. Bootloader lists both windows and linux drive. You select which one boot accordingly.

Windows updates. Wipes its boot partition and rewrites accordingly and I can still boot into linux.


One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to post
Share on other sites

All that "We love Linux" talk at Microsoft and then this happens. I'm sure it was a mistake, but come on Microsoft, you're a multi-billion dollar company...

They do, just not for consumers (they only get the benefits that come indirectly from the enterprise segment), and I don't think there are many organisations that need to dual boot a server.

Link to post
Share on other sites

I feel like W10 Updates have "accidently" broken a lot of things that objectively MS wouldn't want users to be doing.  As stated this isn't the first time dual boot was broken, programs have been "accidently" deleted, settings keep "accidently" getting changed.  Hard to keep calling it an accident when it seems to happen every other time.

Yeah a Win10 update also broke Gamemaker Studio. Or at least it made it so you couldn't start the thing up. That was really annoying.

Ive heard the same update broke Skype, and the fix was exactly the same. Uninstall the update.

Link to post
Share on other sites

Meh, my Ubuntu (and GRUB efi) and are a totally different drive to my Windows 10.

Do your worse Microsoft, you won't break my Tri Boot.


Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Windows 10 Pro X64 |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Newegg

×