grub-install doesn't notice that efibootmgr fails, reports success
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Invoking
sudo -i
mount /dev/sdxY /mnt/bla
cd /mnt/bla
mount --bind /dev dev
mount --bind /sys sys
mount -t proc /proc proc
mount /dev/sdxB /mnt/boot
mount /dev/sdxE /mnt/boot/efi
chroot .
apt-get install grub-efi
update-grub
grub-install /dev/sdx
causes errors due to missing `efivars` with hint to run `modprobe efivars` and then prints `Installation finished. No errors reported.` (can't reproduce exactly right now, but it should be clear which message is meant). That is confusing! The final message should reflect whether errors have been reported or not.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: grub-efi-amd64 2.02~beta2-9ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-37-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct 22 08:29:48 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-01 (234 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: grub2
UpgradeStatus: Upgraded to trusty on 2014-06-19 (124 days ago)
summary: |
- grub-install prints "Installation finished, no error reported" although - errors have been reported when installing grub-efi in chroot of non-EFI - host + grub-install doesn't notice that efibootmgr fails, reports success |
Changed in grub2 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
this has been reimplemented, grub-install no longer calls efibootmgr.