Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] GRUB borked by latest Windows update (Read 837 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] GRUB borked by latest Windows update

Hi everyone! I have been using Artix for years and have never had any problems! Great Linux distro! I am however stumped by my GRUB getting borked by a Windows update.... could someone please help me figure this out? I have a bootable artix USB already made

Re: GRUB borked by latest Windows update

Reply #1
Unfortunately this is a known Windows "feature". Sometimes, a windows update will overwrite your bootloader just because it can and for no particular reason. I guess you can fix it if you chroot in and reinstall grub and everything. At least, until the next update.

Re: GRUB borked by latest Windows update

Reply #2
Unfortunately this is a known Windows "feature". Sometimes, a windows update will overwrite your bootloader just because it can and for no particular reason. I guess you can fix it if you chroot in and reinstall grub and everything. At least, until the next update.

Like I know enough to mount /dev/sda6 /mnt and /dev/sda2 /mnt/boot/efi and then chroot /mnt, but it tells me cannot find a device... what am I missing?

Re: GRUB borked by latest Windows update

Reply #3
it tells me grub-install error: efibootmgr failed to register the boot entry, no such file or directory
any ideas? I managed to get the command to run by adding

Code: [Select]
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys

Re: GRUB borked by latest Windows update

Reply #4
yep, you have to update grub accordingly

Re: GRUB borked by latest Windows update

Reply #5
I managed to figure it out, not sure what I did different.

Code: [Select]
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --no-nvram --removable

I'll keep this thread open since I imagine a lot of people will have to face this same problem

Re: GRUB borked by latest Windows update

Reply #6
FYI, you can use "artix-chroot" when you chroot. It's a script that will also mount all the /dev, /proc/, etc. for you.

Re: GRUB borked by latest Windows update

Reply #7
FYI, you can use "artix-chroot" when you chroot. It's a script that will also mount all the /dev, /proc/, etc. for you.

I guess I'm using an old version of artix on the usb, because it said that command didnt exist

Re: GRUB borked by latest Windows update

Reply #8
I managed to figure it out, not sure what I did different.

Code: [Select]
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --no-nvram --removable

I'll keep this thread open since I imagine a lot of people will have to face this same problem

yep, you just reinstalled GRUB with that, on efi, but there is no need to leave the thread open, it is a Winblowz case, not Artix's

Re: GRUB borked by latest Windows update

Reply #9
I guess I'm using an old version of artix on the usb, because it said that command didnt exist

Ah yeah sorry. It did get renamed at one point. It was called artools-choot in the past.