Originally Posted by
oskar22m
If I install Ubuntu 13.10 with grub, after reboot only MacOS boots. I've tried using efibootmgr but my [COLOR=#333333]EFI BootOrder is 0000 and not 0080 so I don't really know how to do this. On the other hand, if I install REFIND it detects my Ubuntu installation and let's me boot it but instead of showing me one Ubuntu boot option it shows me two. This is very annoying .
Install non-mac Ubuntu with GRUB and do the following after installation
Code:
#mount your installation partition
sudo mount /dev/sdaX /mnt
#bind important directories
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys
sudo mount --bind /proc /mnt/proc
#create a mountpoint for EFI partition and mount it
sudo mkdir /mnt/efi
sudo mount /dev/sda1 /mnt/efi
#chroot into installed Ubuntu
sudo chroot /mnt /bin/bash
#Edit your /etc/default/grub, if necessary add libata.force=noncq to kernel boot line right after "splash"
nano /etc/default/grub
#update grub
update-grub
#goto root dir
cd /
#create a directory named boot into you EFI partition (if not already there)
mkdir /efi/EFI/boot
#Create a standalone GRUB EFI image into the boot directory in EFI partition.
grub-mkstandalone -o /efi/EFI/boot/bootx64.efi -d usr/lib/grub/x86_64-efi -O x86_64-efi -C xz boot/grub/grub.cfg
#exit chroot
exit
#umount all
sudo umount /mnt/*
sudo umount /mnt
What the above does is install GRUB into the EFI partition in the place Macbook looks for it during startup. You should now be able to boot Ubuntu when pressing alt at startup.
Bookmarks