[Bug 1302407] [NEW] Recent Grub2 grub-install has issues with my macboot efi dual-boot configuration

Benjamin Geese 1302407 at bugs.launchpad.net
Fri Apr 4 08:28:54 UTC 2014


Public bug reported:

I managed to install Ubuntu 14.04 on my MacBook exactly as i whish
thanks to improved EFI support and this guide:
http://glandium.org/blog/?p=2830.

This enables to boot Ubuntu without reFit or similar, but requires the grub-install to work on a hfs partition. In earlier versions of GRUB2, you simply could replace some lines in the grub install script, but that is now a binary, so that fix is no longer possible:
if test "x$efi_fs" = xfat; then :; else
    echo "${efidir} doesn't look like an EFI partition." 1>&2
    efidir=
fi

While a still am able to boot, this taints my dpkg-database as whenever
a package like the kernel is updated:

Fehler traten auf beim Bearbeiten von:
 grub-efi-amd64
 grub-efi
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: grub-efi-amd64 2.02~beta2-7
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr  4 10:19:20 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-06 (28 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140304)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug 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/1302407

Title:
  Recent Grub2 grub-install has issues with my macboot efi dual-boot
  configuration

Status in “grub2” package in Ubuntu:
  New

Bug description:
  I managed to install Ubuntu 14.04 on my MacBook exactly as i whish
  thanks to improved EFI support and this guide:
  http://glandium.org/blog/?p=2830.

  This enables to boot Ubuntu without reFit or similar, but requires the grub-install to work on a hfs partition. In earlier versions of GRUB2, you simply could replace some lines in the grub install script, but that is now a binary, so that fix is no longer possible:
  if test "x$efi_fs" = xfat; then :; else
      echo "${efidir} doesn't look like an EFI partition." 1>&2
      efidir=
  fi

  While a still am able to boot, this taints my dpkg-database as
  whenever a package like the kernel is updated:

  Fehler traten auf beim Bearbeiten von:
   grub-efi-amd64
   grub-efi
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: grub-efi-amd64 2.02~beta2-7
  ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
  Uname: Linux 3.13.0-19-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Apr  4 10:19:20 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-03-06 (28 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140304)
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list