Update Manager Destroyed Dual Boot System

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Amandaville

Update Manager Destroyed Dual Boot System

Post by Amandaville »

After years of wanting to setup a dual boot system, but being scared off by many stories of boot loader woes, I finally took the plunge. I shrunk the free disk space in Windows. Then I launched the Linux Mint 18.3 Live USB. I created a 40GB ext4 Root partition, a 40GB ext4 Home partition, a 12GB Swap partition, and selected the UEFI partition to install the boot loader. I was so proud of myself when the installation completed and both Windows and Linux Mint booted perfectly from the grub screen. Of course the next thing to do was run updates, but at the end of the updates I was presented with an error and now Linux Mint will not boot and I do not get the grub screen at all. Only Windows boots as if it were the only OS on the system.

Here are some screenshots I took before I rebooted and was locked out of the system.
Screenshot from 2018-06-23 13-28-14_result.png
Screenshot from 2018-06-23 13-46-12_result.png
Screenshot from 2018-06-23 13-46-30_result.png
Here is some of the text output from the update. I couldn't include the entire text as the forum said it was over the size limit. These clips seem to be where there were errors.

Code: Select all

Setting up libklibc (2.0.4-8ubuntu1.16.04.4) ...
Setting up klibc-utils (2.0.4-8ubuntu1.16.04.4) ...
Setting up friendly-recovery (0.2.31ubuntu1) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.10.0-38-generic
Found initrd image: /boot/initrd.img-4.10.0-38-generic
find: ‘/boot/efi/EFI/ubuntu’: Input/output error
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done

Code: Select all

Errors were encountered while processing:
 fwupdate
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up fwupdate (0.5-2ubuntu7) ...
mkdir: cannot create directory ‘/boot/efi/EFI/ubuntu’: Input/output error
rm: cannot remove '/boot/efi/EFI/ubuntu/fwupx64.efi': Input/output error
Installing fwupx64.efi to EFI system partition.
cp: failed to access '/boot/efi/EFI/ubuntu/fwupx64.efi': Input/output error
dpkg: error processing package fwupdate (--configure):
 subprocess installed post-installation script returned error exit status 1
 
I have no idea what to do next.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Update Manager Destroyed Dual Boot System

Post by Flemur »

Amandaville wrote: Sat Jun 23, 2018 8:53 pmOnly Windows boots as if it were the only OS on the system.

Code: Select all

mkdir: cannot create directory ‘/boot/efi/EFI/ubuntu’: Input/output error
rm: cannot remove '/boot/efi/EFI/ubuntu/fwupx64.efi': Input/output error
Uh oh. "Input/output" often means bad hardware, including the disk dying. Is it an old disk?

Since you can still boot windows, run a disk-check program there and see what it says; if windows can't check the linux partitions, try the "minitool partition manager":
https://www.partitionwizard.com/partiti ... error.html
which you can run from windows or make a bootable CD.

Edit: also backup your data !

Edit2:
Windows boots as if it were the only OS on the system
Did you do anything with windows before the booting messed up? Namely, windows updates can cause that.
Have you tried holding shift (or escape) to force the grub menu to show up?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Locked

Return to “Installation & Boot”