[Bug 1227076] Re: package grub-efi-amd64 2.00-7ubuntu11 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:05:17 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

-- 
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/1227076

Title:
  package grub-efi-amd64 2.00-7ubuntu11 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 1

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  The package grub-efi-amd64 fails to configure itself. The root cause is 'update-grub', which fails with exit code 1.
  However it only fails when my external drive is connected, a WD My Book 1130 (3 TB pure-4k drive, i.e. no 512 B sector emulation).

  I researched further and found that it only fails when my OS X 10.9
  (currently at Developer Preview 8) system partition (HFS+) is mounted.
  If I unmount this HFS+ partition, update-grub finishes successfully.

  Output with OS X Mavericks partition on pure 4k drive mounted:
  ---
  $ sudo update-grub
  Genererar grub.cfg ...
  Hittade linux-avbildning: /boot/vmlinuz-3.5.0-40-generic
  Hittade initrd-avbildning: /boot/initrd.img-3.5.0-40-generic
  Hittade linux-avbildning: /boot/vmlinuz-3.2.0-53-generic
  Hittade initrd-avbildning: /boot/initrd.img-3.2.0-53-generic
  Hittade Mac OS X på /dev/sda2
  Hittade Windows 7 (loader) på /dev/sda4
  Hittade Mac OS X på /dev/sda5
  Hittade Mac OS X på /dev/sda6
  Hittade Mac OS X på /dev/sdb2
  Hittade Mac OS X på /dev/sdc3
  Hittade Mac OS X på /dev/sdd2
  $ echo $?
  1
  ---

  Output with OS X Mavericks partition on pure 4k drive unmounted (the external drive is still connected):
  ---
  $ sudo update-grub
  Genererar grub.cfg ...
  Hittade linux-avbildning: /boot/vmlinuz-3.5.0-40-generic
  Hittade initrd-avbildning: /boot/initrd.img-3.5.0-40-generic
  Hittade linux-avbildning: /boot/vmlinuz-3.2.0-53-generic
  Hittade initrd-avbildning: /boot/initrd.img-3.2.0-53-generic
  grub-probe: fel: okänt filsystem.
  Hittade Mac OS X på /dev/sda2
  Hittade Windows 7 (loader) på /dev/sda4
  Hittade Mac OS X på /dev/sda5
  Hittade Mac OS X på /dev/sda6
  Hittade Mac OS X på /dev/sdb2
  Hittade Mac OS X på /dev/sdc3
  färdigt
  $ echo $?
  0
  ---

  There is an additional error message when the OS X 10.9 partition is unmounted: 'grub-probe: fel: okänt filsystem' (means: grub-probe: error: unknown filesystem' in English).
  I don't know how to get more debug output from update-grub.

  ProblemType: Package
  DistroRelease: Ubuntu 12.10
  Package: grub-efi-amd64 2.00-7ubuntu11
  ProcVersionSignature: Ubuntu 3.5.0-40.62-generic 3.5.7.20
  Uname: Linux 3.5.0-40-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.6.1-0ubuntu12
  Architecture: amd64
  Date: Wed Sep 18 11:59:04 2013
  DuplicateSignature: package:grub-efi-amd64:2.00-7ubuntu11:ErrorMessage: subprocess installed post-installation script returned error exit status 1
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2012-07-19 (426 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MarkForUpload: True
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-40-generic root=UUID=4510fc80-3655-44a7-93b7-7a2de1668ec8 ro quiet splash vt.handoff=7
  SourcePackage: grub2
  Title: package grub-efi-amd64 2.00-7ubuntu11 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to quantal on 2013-09-18 (0 days ago)

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



More information about the foundations-bugs mailing list