[Bug 1287573] Re: GRUB EFI fails to install on MacBook Air 5-2

M4he 1287573 at bugs.launchpad.net
Tue Mar 4 08:56:38 UTC 2014


I was able to fix it post-install with the live cd using the following procedure:
(where sda3 is my trusty install and sda1 is the EFI system partition)

sudo mount /dev/sda3 /mnt
sudo mount -o bind /dev /mnt/dev 
sudo mount -o bind /sys /mnt/sys 
sudo mount -t proc /proc /mnt/proc
sudo cp /proc/mounts /mnt/etc/mtab
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
sudo chroot /mnt /bin/bash

apt-get install grub-efi-amd64
mount /dev/sda1 /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug
grub-mkconfig -o /boot/efi/EFI/GRUB/grub.cfg
update-grub

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

Title:
  GRUB EFI fails to install on MacBook Air 5-2

Status in “grub-installer” package in Ubuntu:
  New

Bug description:
  I tried to install trusty on a MacBook Air 5-2 (mid 2012) using EFI. I've tried using both pure EFI boot (holding Alt while turning on the device) as well as rEFIt. No matter which device/partition I select for the bootloader to be installed to, I'm always getting the message "'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB bootloader the system will not load." at the end of the installation and the installer crashes.
  I also tried mounting /dev/sda1 to /boot/efi beforehand and pointing GRUB installation to /dev/sda1 but no luck.
  Thus I'm unable to install trusty on this device.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubiquity 2.17.8
  ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
  Uname: Linux 3.13.0-12-generic x86_64
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CasperVersion: 1.337
  Date: Tue Mar  4 08:33:25 2014
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper quiet splash --
  LiveMediaBuild: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140225)
  ProcEnviron:
   LANGUAGE=de_DE.UTF-8
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1287573/+subscriptions



More information about the foundations-bugs mailing list