grub-install: error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': Input/output error.

Bug #1855004 reported by Shrenik Shah
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On a pre-installed windows 10 HP laptop, Grub installation failed and installer crashed.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubiquity 18.04.14.6
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CasperVersion: 1.394
Date: Tue Dec 3 16:37:04 2019
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
LiveMediaBuild: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shrenik Shah (shrenik.shah) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This is a support comment & suggestion only. Is there a reason you didn't use the latest 18.04.3 which uses the HWE stack and thus has later kernel, modules & X support. If you didn't want the hardware enablement stack to be used, fair enough.

I didn't see a glaring issue on why you got your errors

Dec 3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache: Error retrieving chunk extents: Operation not supported
Dec 3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/usr/lib/ibus/ibus-engine-simple: Error retrieving chunk extents: Operation not supported
..
Dec 3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/etc/sane.d/epsonds.conf: Error retrieving chunk extents: Operation not supported
Dec 3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/usr/bin/unsquashfs: Error retrieving chunk extents: Operation not supported

but in your case I'd try the later Ubuntu 18.04.3 LTS which uses HWE (https://wiki.ubuntu.com/Kernel/LTSEnablementStack)

Revision history for this message
Shrenik Shah (shrenik.shah) wrote : Re: [Bug 1855004] Grub install failed and installer crashed
Download full text (3.6 KiB)

Hi Chris,Thank you for writing.Actually I am struggling to make my HP Envy laptop, dual boot with Ubuntu since quite a few days.Initially I tried installing latest 18.04.3 using live USB; my installation went through however windows 10 started booting by default and there was no change in behaviour even after disabling secure boot. Over the period of time I realized that it has something to do with GRUB installation as during booting I was not able to see GRUB coming into action.While I was still trying to find a resolution of this issue, my live USB booting started giving me errors saying &quot;EFI boot failed&quot; and again I was clueless. Meanwhile, I found this link:https://www.lifewire.com/fix-uefi-bootloader-issues-when-dual-booting-2200655which I thought was worth trying, so I tried installing Ubuntu again from already available USB stick which was smaller in size and it was already having that older Ubuntu image and that is where I landed in this error.By the way, following the link above when I tried using efibootmgr command after booting from older version of live usb stick, I was surprised to see that &quot;Ubuntu&quot; was missing there in list. Now, I am back to the same position and thinking to start the process all over again!I would highly appreciate any suggestions in this regards.Thanks,Shrenik.From: Chris Guiver &lt;<email address hidden>&gt;Sent: Wed, 04 Dec 2019 08:45:39To: <email address hidden>: [Bug 1855004] Grub install failed and installer crashedThank you for taking the time to report this bug and helping to makeUbuntu better.This is a support comment &amp; suggestion only. &nbsp;Is there a reason youdidn&#39;t use the latest 18.04.3 which uses the HWE stack and thus haslater kernel, modules &amp; X support. &nbsp;If you didn&#39;t want the hardwareenablement stack to be used, fair enough.I didn&#39;t see a glaring issue on why you got your errorsDec &nbsp;3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache: Error retrieving chunk extents: Operation not supportedDec &nbsp;3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/usr/lib/ibus/ibus-engine-simple: Error retrieving chunk extents: Operation not supported..Dec &nbsp;3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/etc/sane.d/epsonds.conf: Error retrieving chunk extents: Operation not supportedDec &nbsp;3 20:07:28 ubuntu ureadahead[1063]: ureadahead:/usr/bin/unsquashfs: Error retrieving chunk extents: Operation not supportedbut in your case I&#39;d try the later Ubuntu 18.04.3 LTS which uses HWE(https://wiki.ubuntu.com/Kernel/LTSEnablementStack)--You received this bug notification because you are subscribed to the bugreport.https://bugs.launchpad.net/bugs/1855004Title:&nbsp;Grub install failed and installer crashedStatus in grub-installer package in Ubuntu:&nbsp;NewBug description:&nbsp;On a pre-installed windows 10 HP laptop, Grub installation failed and&nbsp;installer crashed.&nbsp;ProblemType: Bug&nbsp;DistroRelease: Ubuntu 18.04&nbsp;Package: ubiquity 18.04.14.6&nbsp;ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18&nbsp;Uname: Linux 4.15.0-29-generic x86_64&nbsp;ApportVersion: 2.20.9-0ubuntu7....

Read more...

summary: - Grub install failed and installer crashed
+ error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': No such file or
+ directory.
summary: - error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': No such file or
- directory.
+ error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': Input/output
+ error.
summary: - error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi': Input/output
- error.
+ grub-install: error: cannot open `/boot/efi/EFI/ubuntu/grubx64.efi':
+ Input/output error.
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub-installer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.