Well, 12.10 (quantal quetzal) is out and runs a lot better on a Macbook Pro retina (rMBP) than 12.04. Just installed it on my retina and I think I can finally use it as my day to day laptop!
Improved from 12.04
- Better APIC support in the kernel (previous you had to boot with noapic)
- Special keys on keyboard work (volume control…etc)
- Better touchpad support (two-finger scrolling works!)
- Got full resolution
and external monitor(edit: ran into some issues after trying to boot between OSX and Ubuntu, that I haven’t figured out yet) working! (this might have worked in 12.04, but I didn’t test EFI booting with 12.04)
So, without further ado, the directions!
2. Install Ubuntu
Kernel modesetting doesn’t work, and will give you a garbled display, so make sure you disable it before starting the installer (press space at the splash screen, then F6, and turn on nomodeset). 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.
3. Update Kernel Options
Once the installation finishes, you’ll need to boot up with the nomodeset 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:
- In a terminal run:
sudo gedit /etc/default/grub
- Add “nomodeset” to
GRUB_CMDLINE_LINUX_DEFAULTinside the double-quotes after the words “quiet splash”.
- Finally, run:
You can find detailed directions for both of these steps in the Ubuntu guide for Kernel Boot Parameters.
4. 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 apt-get update && sudo apt-get install b43-fwcutter
- Download driver from: http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
tar -xf broadcom-wl-5.100.138.tar.bz2
sudo b43-fwcutter -w /lib/firmware broadcom-wl-5.100.138/linux/wl_apsta.o
- Reboot and the wireless should work.
5. EFI Boot and NVIDIA Drivers
To get the 2880x1800 native resolution, and the external display ports working you’ll need to convert GRUB to EFI mode. Follow these steps adapted from the Ubuntu UEFI page:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
- Click on “Advanced options”, go to the “GRUB location” tab.
- Make sure that “Separate /boot/efi partition” is checked, then click the “Apply” button.
Before restarting you’ll need to install the proprietary NVIDIA drivers, and configure Xorg:
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install nvidia-current
Restart, and you should now have a new option in rEFIt (or maybe a couple of them…), which will boot up Ubuntu using EFI.
6. Still Broken
- Brightness controls for monitor
- Wifi is sometimes flaky (tons of packet loss, until I reload the b43 module)
Let me know in the comments, if you get brightness controls working or find more stable wifi drivers!