[Bug 1384053] [NEW] grub-install prints "Installation finished, no error reported" although errors have been reported when installing grub-efi in chroot of non-EFI host

Karl-Philipp Richter krichter722 at aol.de
Wed Oct 22 06:40:15 UTC 2014


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
Foundations Bugs, which is subscribed to grub2 in 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

Status in “grub2” package in Ubuntu:
  New

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
  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)

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



More information about the foundations-bugs mailing list