[Bug 1839894] Re: Installing Ubuntu 18.04.3 LTS alongside Windows 10 (Dual Boot) causes grub install to fail with fatal error

Rohan Paul rohanpaul11 at gmail.com
Sat Aug 17 00:51:01 UTC 2019


I have now managed to get rid of this error. I had to manually delete
the directory "/EFI/ubuntu". However, I had to delete the folder both
from windows and ubuntu (booted using live usb). I find that weird since
both OSs refer to the same EFI partition and hence the ubuntu folder
once deleted from windows should not have been visisble from ubuntu.

Unfortunately, I am still unable to boot ubuntu after I restart once the
installation completes successfully. I tried running boot-repair, tried
mounting the linux partition and the EFI partition in a live usb session
and reinstalled grub in a chroot environment, I even booted into windows
and set the bootmgr path to /EFI/ubuntu/gubx64.efi. Nothing worked.

Something weird that I noticed is: after I install linux, if I run a
terminal and mount the EFI partition, I can see the /EFI/ubuntu folder
with all the files (mmx, grubx, shimx). But as soon as I restart and go
to the boot options, I don't see any entry for ubuntu. When I select
"Boot from EFI file", I am unable to see any ubuntu directory in the EFI
dir which is weird since just moments ago I saw its existence from the
live USB. Naturally, I am unable to boot into Ubuntu and can only boot
into Windows. I tried every possible solution here
(https://ubuntuforums.org/showthread.php?t=2147295) and nothing seems to
be working.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1839894

Title:
  Installing Ubuntu 18.04.3 LTS alongside Windows 10 (Dual Boot)  causes
  grub install to fail with fatal error

Status in grub-installer package in Ubuntu:
  New

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
  ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15
  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=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  LiveMediaBuild: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  ProcEnviron:
   LANGUAGE=en_US.UTF-8
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   LC_NUMERIC=C.UTF-8
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1839894/+subscriptions



More information about the foundations-bugs mailing list