0

Series of events:

  1. 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).
  2. 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.
  3. 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)..."
  4. 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 [sudo] password: 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)

  • You need to make all these changes from a live usb – Panther Jul 29 '18 at 18:22
  • Since drives are gpt, you need bios_grub on both drives. Even though only one will really be used to boot, Boot-Repair installs grub to all drives. Since you have BIOS installs, be sure to boot live installer in BIOS mode, otherwise you may then get errors on not having an ESP - efi system partition for UEFI boot. – oldfred Jul 29 '18 at 19:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.