Series of events:
- I wanted to extend my root partition (almost out of memory), so I tried to install GParted to no avail (see terminal error pasted below).
- I found my way to installing Boot-Repair, which I was hoping would fix various grub/efi/amd64 errors I've had since I first ran installed ubuntu and set up my drive partitions.
- Boot-Repair cannot make the recommended repairs w/o a BIOS partition fix that I presumably need to make in GParted, but I can't install GParted, so the issue is circular. "GPT Detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bio_grub flag)..."
- I had Boot-Repair create a Pastebin diagnostic, which can be viewed here: http://paste.ubuntu.com/p/YKSZwpmQJM/
Any help getting my partitions back in order would be much appreciated!
Terminal Error (GParted):
HTPC:~$ sudo apt-get install gparted
Reading package lists... Done
Building dependency tree
Reading state information... Done gparted is already the newest version (0.25.0-1). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-121 linux-headers-4.4.0-121-generic linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-image-4.4.0-121-generic linux-image-4.4.0-124-generic linux-image-extra-4.4.0-121-generic linux-image-extra-4.4.0-124-generic linux-signed-image-4.4.0-121-generic linux-signed-image-4.4.0-124-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 485 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up grub-efi-amd64-signed (1.66.2+2.02~beta2-36ubuntu3.2) ... grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory. dpkg: error processing package grub-efi-amd64-signed (--configure): subprocess installed post-installation script returned error exit status 1 Setting up shim-signed (1.18~16.04.1+0.8-0ubuntu2) ... Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory. dpkg: error processing package shim-signed (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: grub-efi-amd64-signed shim-signed E: Sub-process /usr/bin/dpkg returned an error code (1)