Installing Ubuntu 18.04.3 LTS alongside Windows 10 (Dual Boot) causes grub install to fail with fatal error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
1. Installing Ubuntu 18.04.3 LTS on HP Spectre x360 Convertible laptop alongside pre-installed Windows 10 (Dual Boot)
2. Windows installed in UEFI mode
3. Ubuntu installation fails towards the end when attempting to install grub2
Expected:
Install to be successful
Actual:
Install failed when trying to install grub
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubiquity 18.04.14.12
ProcVersionSign
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CasperVersion: 1.394
CurrentDesktop: ubuntu:GNOME
Date: Mon Aug 12 16:54:19 2019
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
LC_NUMERIC=C.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I note the following messages
Aug 12 23:47:46 ubuntu kernel: [ 356.482177] FAT-fs (nvme0n1p1): error, fat_get_cluster: invalid cluster chain (i_pos 0) efi/EFI/ ubuntu/ grubx64. efi': Input/output error.
Aug 12 23:47:47 ubuntu grub-installer: grub-install: error: cannot open `/boot/
I would suggest `fsck` (ie. performing a file system check) or `badblocks` of your EFI partition, or ensuring 'fastboot' is disabled in windows 10 to ensure the EFI partition is left in a clean state.