[SOLVED] GRUB borked by latest Windows update 26 January 2021, 23:12:54 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 Last Edit: 30 January 2021, 14:45:18 by nous
Re: GRUB borked by latest Windows update Reply #1 – 26 January 2021, 23:24:29 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. 1 Likes
Re: GRUB borked by latest Windows update Reply #2 – 26 January 2021, 23:25:42 Quote from: Dudemanguy – on 26 January 2021, 23:24:29Unfortunately 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 – 26 January 2021, 23:36:50 it tells me grub-install error: efibootmgr failed to register the boot entry, no such file or directoryany ideas? I managed to get the command to run by addingCode: [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 – 26 January 2021, 23:40:48 yep, you have to update grub accordingly
Re: GRUB borked by latest Windows update Reply #5 – 26 January 2021, 23:45:13 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 --removableI'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 – 26 January 2021, 23:52:22 FYI, you can use "artix-chroot" when you chroot. It's a script that will also mount all the /dev, /proc/, etc. for you. 1 Likes
Re: GRUB borked by latest Windows update Reply #7 – 26 January 2021, 23:54:00 Quote from: Dudemanguy – on 26 January 2021, 23:52:22FYI, 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 – 27 January 2021, 00:02:39 Quote from: karlk – on 26 January 2021, 23:45:13I 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 --removableI'll keep this thread open since I imagine a lot of people will have to face this same problemyep, 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 Last Edit: 27 January 2021, 00:12:52 by linuxer
Re: GRUB borked by latest Windows update Reply #9 – 27 January 2021, 01:09:41 Quote from: karlk – on 26 January 2021, 23:54:00I guess I'm using an old version of artix on the usb, because it said that command didnt existAh yeah sorry. It did get renamed at one point. It was called artools-choot in the past.