Why did Windows Update kill grub? - cannot reinstall

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
grasshopper
Posts: 60
Joined: Thu Jun 19, 2008 12:56 pm

Why did Windows Update kill grub? - cannot reinstall

#1 Post by grasshopper »

I have windows 10 and MX 17 on the same HD. Using GRUB to boot, all was well and dandy. Windows threw a big update at me..and it wasted on my boot menu. I just get a message now that says "Error Unknown file system" then the prompt "Grub Rescue".

Using a live USB key with MX18 on it I am able to boot into windows and MX17 (If I select SMI and boot from the HD, choosing UEFI won't allow this)..so that is a plus. But it's very odd. I'm using MX17 right now but I gotta do the USB trick to get it to boot.

I ran boot repair, no joy. Told boot repair to reinstall grub, no joy. See attached.

What is the procedure to get this repaired? Thanks in advance.
You do not have the required permissions to view the files attached to this post.

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

Re: Why did Windows Update kill grub? - cannot reinstall

#2 Post by fehlix »

grasshopper wrote: Wed Apr 10, 2019 6:19 am Using a live USB key with MX18 on it I am able to boot into windows and MX17 (If I select SMI and boot from the HD, choosing UEFI won't allow this)..so that is a plus. But it's very odd. I'm using MX17 right now but I gotta do the USB trick to get it to boot.
Within an UEFI system you would (normaly) have a GPT partition scheme . But you would rarely install into MBR, which is used for booting in BIOS-mode. So you are mixing here something. WIndows is either bootable in BIOS mode or in UEFI mode, not in both. Whereas MX Linux can be booted within both modes after having prepared grub for this mode.
So if you have Windows in UEFI mode installed in the first place, switching to BIOS-mode will not help you to boot into windows. BTW: Windows update will not kill any GRUB installed within UEFI mode.
Only in BIOS mode the same MBR is used for Windows and GRUB, and as such could have been potentially overwritten by an unfriendly winOS upgrade.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
rana3124
Posts: 1
Joined: Wed Apr 10, 2019 2:24 pm

Re: Why did Windows Update kill grub? - cannot reinstall

#3 Post by rana3124 »

i've been using ubuntu for 5 years now, i wanted to try mx linux so i installed it alongside windows 10

MX linux doesn't show up in windows boot manager, infact windows doesn't acknowledge that another distribution is installed
this is how i have too boot into MX linux

I have to press F9 at the start of laptop from there i have to select whether to load windows boot manager or MX linux grub
so i select grub this is a hassle why can't MX have the same easy to install grub like ubuntu had, where i could select any OS i'd want from Ubuntu Grub...

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

Re: Why did Windows Update kill grub? - cannot reinstall

#4 Post by fehlix »

rana3124 wrote: Wed Apr 10, 2019 2:31 pm i've been using ubuntu for 5 years now, i wanted to try mx linux so i installed it alongside windows 10

MX linux doesn't show up in windows boot manager, infact windows doesn't acknowledge that another distribution is installed
this is how i have too boot into MX linux

I have to press F9 at the start of laptop from there i have to select whether to load windows boot manager or MX linux grub
so i select grub this is a hassle why can't MX have the same easy to install grub like ubuntu had, where i could select any OS i'd want from Ubuntu Grub...
Our installer does update UEFI Boot Menu and places the new MX Linux entry as the first place within that UEFI Menu list. Not all UEFI firmware do respect this change and simply still boot into Windows. Further our installer does not update the Windows Boot Manager on the Windows partition. Windows Boot Manager entries can only be updated from within running Windows. If another OS has managed to convince WinOS to list that menuentry automatically we don't see we can do much about it.
Please open a new thread as this is another topic.
Thanks
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Developer
Posts: 12841
Joined: Fri Dec 15, 2006 8:07 pm

Re: Why did Windows Update kill grub? - cannot reinstall

#5 Post by Stevo »

Many Windows or BIOS updates will remove the MX efi file from the top spot on the boot list. This happens to me, and I have to go back into the UEFI setup and put it back where it should be.

Windows might be more polite to Ubuntu since they paid Microsoft the fee to work with Secure Boot.

User avatar
Jan K.
Posts: 32
Joined: Mon Jan 28, 2019 8:52 am

Re: Why did Windows Update kill grub? - cannot reinstall

#6 Post by Jan K. »

Frankly, I've never understood how anyone can muster the courage to multi-boot with Windows... :bagoverhead:

Perhaps multi with other Linuxes, but having a very long time relationship with Microsoft... I wouldn't trust them with anything.

On a regular basis they're even know to wreck their own installs! :biggrin:


Which, btw. , is among other reasons, I'm here. :rolleyes:

User avatar
Sparky
Posts: 1196
Joined: Sun Dec 23, 2018 7:07 pm

Re: Why did Windows Update kill grub? - cannot reinstall

#7 Post by Sparky »

The amount of times Windows updates resulted in the BSD was way to often for me. Bye Bye Windows! :puppy:
MX Linux Asus F552, 12GB RAM, 500GB WD SSD MX19.2
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1

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

Re: Why did Windows Update kill grub? - cannot reinstall

#8 Post by m_pav »

Sorry this will offer no assistance to the OP, but...... Q: what goes woof woof and has a nasty bite? A: Windows, cause it's a dog. No disrespect to dogs, I love them, they're amazing animals, just a shame the name given to their type has an ulterior meaning.

@ grasshopper, how about attaching a screen shot of gparted showing how your HDD is partitioned. Here's mine that dual boots MX Linux and Win10 and I have no issues whatsoever. I keep the lesser OS there so my laptop retains its perceived resale value.
Screenshot-31.png
You do not have the required permissions to view the files attached to this post.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD FX 6100 CPU, nVidia, 8Gb, 3.25TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Why did Windows Update kill grub? - cannot reinstall

#9 Post by Head_on_a_Stick »

grasshopper wrote: Wed Apr 10, 2019 6:19 am Told boot repair to reinstall grub, no joy. See attached.
The error in the screenshot indicates that the non-UEFI grub-install command was attempted.

Try the method listed on this Debian wiki page:

https://wiki.debian.org/GrubEFIReinstall
mod note: Signature removed, please read the forum rules

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

Re: Why did Windows Update kill grub? - cannot reinstall

#10 Post by fehlix »

Head_on_a_Stick wrote: Thu Apr 11, 2019 2:39 pm
grasshopper wrote: Wed Apr 10, 2019 6:19 am Told boot repair to reinstall grub, no joy. See attached.
The error in the screenshot indicates that the non-UEFI grub-install command was attempted.

Try the method listed on this Debian wiki page:

https://wiki.debian.org/GrubEFIReinstall
MX Boot Repair is actually intended to do GRUB-repair including reinstalling GRUB in UEFI mode,
probably better when booted in UEFI mode so UEFI NVRAM entries could be updates also.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Bugs and Non-Package Requests Forum”