unhelpful error message "grub-install: error: /boot/efi/ doesn't look like an EFI partition."

Bug #1389216 reported by Karl-Philipp Richter on 2014-11-04
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Medium
Unassigned
grub2 (Ubuntu)
Wishlist
Unassigned

Bug Description

invoking `# LANG=C grub-install --efi-directory=/boot/efi/ /dev/sda` can cause the output

    Installing for x86_64-efi platform.
    grub-install: error: /boot/efi/ doesn't look like an EFI partition.

which should be

    Installing for x86_64-efi platform.
    grub-install: error: /boot/efi/ doesn't look like an EFI partition (fulfills criteria x, y, z, but not a).

That would make the application much more helpful and the implementation simply has to log what it already tested anyway. Critical errors should allways be very verbose (no matter which flags are specified, there's always the quiet flag which can be used or implemented).

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: grub-efi 2.02~beta2-15
Uname: Linux 3.16.7-031607-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Nov 4 13:48:52 2014
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

V字龍(Vdragon) (vdragon) wrote :

Last time I met this message is when I tried to made grub-install install file into /boot/efi but the directory is not a mountpoint(because the system is a template in VM and not ready to be deployed to physical system(may or may not use EFI BIOS))

Agreed the point that the error is not verbose enough to determine which particular cause could it be.

Launchpad Janitor (janitor) wrote :

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

Changed in grub2 (Ubuntu):
status: New → Confirmed
Changed in grub2 (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
importance: Undecided → Medium
status: New → Confirmed

This certainly would qualify as a "new feature" request. Setting to Wishlist.

Changed in grub2 (Ubuntu):
importance: Medium → Wishlist
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers