For various reasons, I had to move my linux mint boot partition on a dual-boot drive with mint and win7. This naturally broke grub2. So I created a bootrepair live-USB, booted onto it, and connected to the Internet. I clicked "Recommended repair" and entered commands when prompted. The result is as follows:
Code:
lubuntu@lubuntu:~$ sudo chroot "/mnt/boot-sav/sda8" dpkg --configure -a
lubuntu@lubuntu:~$ sudo chroot "/mnt/boot-sav/sda8" apt-get install -fy
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 284 not upgraded.
lubuntu@lubuntu:~$ sudo chroot "/mnt/boot-sav/sda8" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
shim-signed : Depends: shim (= 0.9+1474479173.6c180c6-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
lubuntu@lubuntu:~$
Ignoring the error and attemping to proceed with bootrepair (clicking "forward" in the GUI) results in the message
Code:
GRUB is still absent. Please try again.
I don't quite know what to do. Why isn't shim being automatically installed if it's a dependency?
In case it's helpful,
here's the BootInfo summary. (It's very long, so I won't include it here just yet. If it proves to be useful, I'll edit this question to include relevant excerpts.)