I am on a system dual-booting Windows and Debian (usually using the latter), and a recent Windows update appears to have wreaked havoc on the Debian boot system. I managed to boot Windows again, but not Linux. Following online suggestions, I created a Live USB of Ubuntu, and booted from that. Then I have installed and run the boot-repair utility. The utility instructs me to type several lines including
sudo chroot "/mnt/boot-sav/sda6" apt-get purge -y grub*-common grub-common:i386
To which I receive the error
E: Unable to locate package grub-common:i386
I am given to understand the issue may have to do with having UEFI vs BIOS (I believe I have UEFI), but do not understand this well. In any case I have subsequently run the boot-repair BootInfo Summary utility which created the following file http://paste.ubuntu.com/p/N8Z95MwB9p/
Any suggestions on how to fix this issue with boot-repair / the boot system would be greatly appreciated.
Thanks!
--Edit--
In what was probably an ill-advised move, I decided to try once again to solve the issue using online resources. From a Linux live disk I ran the following sudo mount /dev/sda1 /mnt sudo grub-install --boot-directory=/mnt/boot /dev/sda I cancelled the second command partway through with CTRL-C when I saw it was trying to install i386 version. Here is a new pastebin, which I believe to be different (and worse..) than the previous one. https://paste.ubuntu.com/p/ZpCm38wmRc/
--Edit-- As per my comment below, I managed to fix the grub by not using boot-repair and simply reinstalling grub (sorry, I do not remember the exact commands used). Booting Debian still did not seem to work, so I just used Windows for a few days until I had time to work on the problem more. I sat down to work on it today and ... Debian boots fine. Everything is working as normal. I have no idea why it suddenly works (and am a bit afraid that something is wrong behind the scenes), but that's all for now I guess. I will note that in the meantime I disabled Windows Fast Boot (must have been reenabled by the Windows update) so maybe that did the trick, although I didn't see any immediate change. Also I realize that none of this is directly related to the original question about boot-repair, which I did not solve.