Installing Ubuntu 12.04 on Macbook Pro Retina (10,1)

1. Install rEFIt

  1. Download and mount the rEFIt-0.14.dmg disk image.
  2. Double-click on the “rEFIt.mpkg” package.
  3. Follow the instructions and select your Mac OS X installation volume as the destination volume for the install.

If everything went well, you’ll see the rEFIt boot menu on the next restart.

If you run into any problems, you can find more details on their website.

2. Resize Partitions

This step is pretty straight-forward. Just open Disk Utility in OSX, and resize your existing OSX partition, so that there’s some free space for Ubuntu. You’ll want to leave the empty space as “free space” (it will get formatted during the Ubuntu installation). There are plenty of guides, if you get stuck on this step, including the Ubuntu wiki.

3. Create USB Installer

The ISOs on the main Ubuntu download page don’t work, so you’ll need to get the Ubuntu ISO for Macs, which is listed along with other less widely used images in their CD images directory. Once you’ve downloaded the Mac Ubuntu ISO, you’ll need to follow some special steps to make it bootable on a Mac (the Startup Disk Creator on Ubuntu won’t work). Follow the directions for the “Manual Approach” on this wiki page.

4. Install Ubuntu

It seems that something in the Macbook power management causes a kernel panic, so you’ll need to run the installer with the “noapic” option (press space at the splash screen, then F6). Note: you may need to reboot several times, as the installer may kernel panic before you have the option to set “noapic”. Also, note that the wifi won’t work (we’ll fix this in the next step), so don’t try to install updates during the installation process.

Once the installation finishes, you’ll need to boot up with the noapic option (press ‘e’ in GRUB and add it to the kernel parameters, right next to “splash” and “quiet”), and then add it permanently once you’ve booted up. You can find detailed directions for both of these steps in the Ubuntu guide for Kernel Boot Parameters.

5. Install Wifi Drivers

You’ll need to be a bit creative here. Apple removed the ethernet port, so you’ll need a USB wifi card, or some other method of installing the drivers (I tethered my Android phone using EasyTether). Once you have a working Internet connection, just follow these directions to install the driver:

sudo add-apt-repository ppa:mpodroid/mactel
sudo apt-get update
sudo apt-get install b43-fwcutter firmware-b43-installer
sudo apt-get install linux-backports-modules-cw-3.3-precise-generic

Edit the /etc/modprobe.d/blacklist.conf and add the line:

blacklist ndiswrapper

Create or edit the file /etc/pm/config.d/modules and make sure the wireless modules (b43 and bcma) are blacklisted:

SUSPEND_MODULES="b43 bcma"

Reboot and the wireless should work.

These directions are adapted from the Ubuntu directions for installing 11.10 on a Macbook Pro.

6. Not Yet Working

Here’s a list of the things that aren’t working for me

  • Brightness control for screen (apple-gmux)
  • Volume control and other special keys on keyboard (pommed)
  • Touchpad (synaptics driver)
  • Internal screen resolution (maximum detected is 1024×768) & external monitor. I installed the new nvidia driver  (>= 295.59) and Bumblebee, which atleast means that the Additional Drivers window in Ubuntu detects the proprietary drivers, but it says they’re “activated but not currently in use”. Let me know in the comments if you have any luck fixing this!

 

7 thoughts on “Installing Ubuntu 12.04 on Macbook Pro Retina (10,1)”

  1. Hi

    I’m hoping you succeed here, I use Ubuntu and am intending to buy the 10.1 myself.

    The Nvidia thing might be solved via these guys:
    https://bbs.archlinux.org/viewtopic.php?pid=1125139 or
    http://forums.opensuse.org/english/get-technical-help-here/laptop/476258-howto-2012-retina-display-macbook-pro-opensuse-linux.html

    There are a couple of suggestions in there; boot in EFI mode, use the 302.17 driver maybe manual install, and maybe nomodeset on boot??

    Good luck, I’ll keep an eye on your progress!

  2. Thanks for the info. Finally got Linux booting from the USB, however I can’t seem to get passed the installation process. At around 70% in, it gives me the following error:

    Executing ‘grub-install /dev/sdb’ failed. This is a fatal error.
    I tried installing it in the different partitions it was offering except my Windows and Mac ones.

    Any ideas would be appreciated. Thanks!

  3. @Sev: don’t allow it to install grub on /dev/sdb, just point it to the partition (/dev/sdbX) that you’re installing Linux on.

  4. @sev,

    You need to ceate a ne partition (about 10mb in size is ok) and specify it as a boot partition (i used bios-boot), then point the install will proceed ok and you wont get that error.

Leave a Reply

Your email address will not be published. Required fields are marked *