Public bug reported:

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
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
NonfreeKernelModules: openafs zfs zunicode zavl zcommon znvpair
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)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

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

Title:
  grub-install prints "Installation finished, no error reported"
  although errors have been reported when installing grub-efi in chroot
  of non-EFI host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1384053/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to