+mac
variantinstaller available (buried behind several download pages), but ths used legacyBIOS booting. The non +mac
variant simply gave me an unbootable system again.+mac
variant./dev/sda
or/dev/sdb
?”)/dev/sda1
or UUID=whatever
, these may be different for your system.nvram
utilities won’t work. No,efibootmgr
won’t work. No, the OS X recovery disk won’t help. There is someextra, magical, inaccessible bit of state somewhere that keeps the stupid thingalive that you can only control via a full install of OS X.nvram -p
and notethe value for SystemAudioVolume
. Mine was this:option
key while youpress the power button to turn it on. Don’t have an option
key? Use alt
instead. Note: I found that on some keyboards (eg. my non-bluetooth wirelesskeyboard), I needed to repeatedly tap the key until I saw the boot menu.Sometimes it was hit-and-miss, but it never took more than three power cycles toget it.→
/←
and enter
to select thething to boot, or just click with the mouse.option
/alt
, as per the boot from USB instructions.enter
.sda
or some other sdX
.EFIboot
. As long as that exists, you should befine to continue. The others probably don’t matter.+mac
variant of the installer.?
inside. If you insert the installer USB now,it should boot. If not, try holding the power button to force the power off, andthen follow the USB booting instructions to bring it up.C
to bring up the GRUB console. Nowyou should be looking at a GRUB console:(hdX,gptY)
. You need to keep thehdX
part, but go through all the gptY
options looking for a /boot/grub
directory:/dev/sdaX
!) - so let’s get that:tab
completion, so if you just type out the vmlinuz
part and hit tab
, then hit .
and tab
again… you won’t have to type outthe whole filename. But do make sure the .efi.signed
bit is there! And yes,you will have to type out that whole UUID.initrd
(initial RAM disk):enter
to add the PPA. Then update your package list and install thenecessary utilities:mount
to get alist of mounted filesystems, and look for anything mounted at /boot/efi
:/dev/sda1
. If there is no entry for /boot/efi
(/boot
byitself doesn’t count), you are probably running in legacy BIOS mode.gdisk
to delete the VFAT partition and create an HFS+ one. gdisk
is interactive, and doesn’t write changes to the disk until you tell it to, sodon’t panic if you make a mistake.GPT: present
line. The MBR: hybrid
line is optional. Ifyou’re not using a GPT
(GUID partition table)… well, I don’t know what kindof machine you’re using there.EF00
:/boot/efi
(from the output of mount
) to match the numberinghere (ie. if /boot/efi
was /dev/sda1
, the EF00
partition should be #1).EF00
partition:enter
for the first and last sector options:AF00
for the filesystem code:p
command to double-check yourchanges, and then w
to write:/
, /boot
, /boot/efi
) Ubuntu uses the UUID(universally unique identifier) of a disk partition to mount it (rather thanthe device node, eg. /dev/sda1
). This means we need to update /etc/fstab
:nano
text editor. Look the two lines thatrefers to /boot/efi
:↓
/↑
to position the cursor at the start of these lines and hitctrl
+K
to delete them. Run this to add the necessary entries:/boot/efi
:/etc/fstab
entry is wrong.$(lsb_release -ds)
part automatically produces a label for thedistribution like Ubuntu 14.04.1 LTS
.mach_kernel
to exist in aparticular place before it runs. In fact, it’s really the Mac bootloader thatrequires this file, but GRUB seems to look for it in the wrong place and refusesto run if it’s not there, so we need to create it twice:sudo reboot
) to see if it boots straight intoyour new Ubuntu installation.efibootmgr
utility. If you run it withoutarguments, you’ll see all the settings I mentioned:/etc/default/grub
and setting all the timeout valuesto 0
. However, bug #1273764stops this from working, so use LeahCim’s extra GRUB scriptsto fix it.<go back>
option, use that to get to the rescue menu. SelectExecute a shell in the installer environment, and you’ll be presented with aprompt that’s just a #
(ie. root access). Assuming your hard drive is/dev/sda
, this command will zero out the first GB of the hard drive. Thatshould cover the master boot record (MBR), the GUID partition table (GPT), andany other magic that interferes with partition/OS detection: