Installation fails when installing GRUB to disk

Bug #1305116 reported by Rune K. Svendsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

When installing Ubuntu 14.04 on my machine, the installation fails at the step where GRUB is installed onto the disk. I got a message saying something like:

"Installation of GRUB to disk /dev/sdd failed. This is a fatal error".

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity 2.17.12 [modified: lib/partman/automatically_partition/question]
ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
Uname: Linux 3.13.0-23-generic x86_64
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
CasperVersion: 1.339
Date: Wed Apr 9 16:52:27 2014
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rune K. Svendsen (runeks) wrote :
Revision history for this message
Rune K. Svendsen (runeks) wrote :

I was able to fix this issue the following way.

Apparently, my motherboard (ASUS M5A97 EVO R2.0) can boot a USB drive in two ways:

1) using UEFI
2) using the standard way (BIOS?)

I originally booted the Ubuntu 14.04 USB installation drive using UEFI (I didn't realize there would be a difference), and this caused the installation of GRUB to fail at the end of the installation step, and being met with a GRUB prompt when booting the system after installation. Mind you, I'm not using UEFI to boot the installed system (as far as I can tell). Perhaps this is the reason it didn't work.

After realizing this, I booted the Ubuntu 14.04 installation USB stick using the regular BIOS (not UEFI), and everything proceeded without problems, and I'm writing this from my newly installed Ubuntu 14.04 system.

Revision history for this message
Rune K. Svendsen (runeks) wrote :

By the way, I think this is the relevant part of the log:

 Apr 9 14:38:09 ubuntu grub-installer: info: Installing grub on '/dev/sdd'
 Apr 9 14:38:09 ubuntu grub-installer: info: grub-install does not support --no-floppy
 Apr 9 14:38:09 ubuntu grub-installer: info: Running chroot /target grub-install --force
 Apr 9 14:38:09 ubuntu grub-installer: Installing for x86_64-efi platform.
 Apr 9 14:38:09 ubuntu grub-installer: grub-install: error: cannot find EFI directory.
 Apr 9 14:38:09 ubuntu grub-installer: error: Running 'grub-install --force failed.

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.