Install Ubuntu 12.10 Quantal Quetzal on MacBook Pro 10,1 (Retina) [SOLVED]
Today I got my macbook pro 10,1 — first thing you do? Install Linux, of course. Actually quite easy, but there are also a few pitfalls - I try to sum this up! This guide comes with absolutely no warranty, so if you crash something, you are on your own. This guide is intended to work with 12.10 but also works with 12.04 (Ubuntu Precise).
Okay, fire up your macbook and check the following: You will need to install rEFIt , a boot menu and maintenance toolkit for EFI-based machines. When I installed rEFIt for the first time I had FileVault enabled ... so installing rEFIt won't work out of the box! rEFIt simply won't show up, because FileVault creates an additional (encrypted?) boot partition — the default mpkg-installer won't recognize (at least in my case) that partition.
You may try to install rEFIt manually on a (encryped?) partition but I haven't tested this yet. You may turn off FileVault (as depicted above), if you don't rely on it.
Fire up Disk Utility , the first thing you need to do is to resize your MacOS partition. I have a 256 GB SDD, so I decided to split the SSD — 125 GB for OSX and 125 GB for Linux.
Firstly, you will need to select your HDD and set '2 Partitions' in the layout panel. The format should be 'Free space' the Ubuntu installer will easily recognize it later on. As soon as you have set this up, hit apply.
Next step — install rEFIt. You just need to download  it, and use the mpkg-installer. Now, reboot your system, you should see the 'new' rEFIt boot screen.
USB drive with Ubuntu on it!
Download Ubuntu! Note: You will need the ubuntu-12.10-desktop-amd64+mac.iso iso file, NOT the 'normal' one. Here's a list of files . You have downloaded the iso, convert it into an img file, here's how this goes (open a terminal on your macbook):
hdiutil convert -format UDRW -o /path/to/converted-ubuntu.iso /path/to/ubuntu-12.10-desktop-amd64+mac.iso
Done so far.
Okay, go on! Your usb drive should be at least have 1GB space. Again, you will need the Disk Utility, so start it and select the usb drive (note: Ubuntu StartUp-Disk-Creator won't work here). Select '1 Partition' and 'MacOS Extended (Journaled)' in the file system panel as depicted below, now hit apply.
You have your usb drive partitioned eventually — it's time to get Ubuntu on it. Therefore, you can use 'dd' in the MacOS terminal. How do you find your usb drive in the terminal? For instance, that's my usb drive, you can identify it based on it's size, use diskutil.
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *16.0 GB disk1
diskutil unmountDisk /dev/diskN (replace N here)
The syntax is as follows:
sudo dd if=ubuntu.img.dmg of=/dev/disk1 bs=1m
command, (dd) infile (if) = path to ubuntu image, outfile (of) = path to usb drive
diskutil eject /dev/diskN
Now you have a working Ubuntu drive, reboot your machine and select the usb drive — BUT you should probably read this first:
At the time of writing, it seems the Ubuntu Kernel has problems with the Apple Power Management (12.04 only). After selecting the boot device (in rEFIt), your usb drive, ubuntu will start loading, press ESC (Escape) as soon as possible. Now you are in the Install Menu, press F6 (Other Options) and select 'noapic' and 'nomodeset' as depicted below. You probably won't need 'noapic' in 12.10, this is just a precaution.
Now you can run the Ubuntu installation as you know it! BTW: I installed the grub boot loader on the '/' partition. It's up to you how you are going to partition the 125 GB free space on the SSD/HDD.
I hope this helps!
The default nouveau driver works out of the box. If you remove 'nomodeset' (default if you boot 12.10 for the first time after installation) you also get the full resolution of 2880x1800 pixels, see below. To permanently edit the boot options please see Booting/Kernel. To test settings at boot time, 'press e in GRUB and add it to the kernel parameters, right next to splash and quiet' as mentioned by cberner . If things go wrong try to remove/add 'nomodeset' at boot time (press e), e.g., if your system hangs before starting 'X'. Ubuntu 12.10 always started fine with 'nomodeset' as a kernel option, but the resolution was poor. You may try the NVIDIA drivers, see next section.
Follow the excellent Tutorial written by cberner — step #5. Works perfectly fine for me! Note: to make this work you will need to add the 'nomodeset' parameter as mentioned in step #3.
To sum-up: Install Ubuntu as mentioned here above. With the fresh install follow cberners tutorial on the NVIDIA drivers. This is the result:
How do you remove the additional boot options in rEFIt? I exactly followed cberners intructions, so it's maybe the same for you. Go to:
And 'mv' the unneccessary files, e.g., Windows. BE CAREFUL though.
To permanently set the kernel boot options (noapic, 12.04) please edit the /boot/grub/grub.cfg. This  is a perfect guide. I removed the 'nomodeset' option as mentioned before (Nouveau only).
Works out of the box
Works out of the box
Works out of the box
Check cberners tutorial (link below)
Recent blog posts
- Full Install Guide | NGINX for Drupal and FastCGI | CentOS | RHEL
- ROS Leap Motion Integration
- Leap Motion and Blender | Finger Pose Estimation @ 100Hz | Third Test
- Leap Motion and Blender | Hand Orientation @ 100Hz | Second Test
- Leap Motion and Blender | Hand Orientation | First Test
- Leap Motion SDK with Python3 (python 3.3) in Ubuntu
- Install and use Leap Motion in Ubuntu 13.04 | Linux | HowTo
- Continuous Integration Servers in Comparison | The Shoot-Out
- Google Summer of Code (GSoC) Project Rejected | Still Rated Good | Example Material
- State Machine Based Simulation Testing
What is Flattr ? Flattr is the worlds first social micro-payment system The idea had already been initiated in 2007, but the first release was in 2010 due to typical geeky laziness. Flattr was founded to help people share money, not just content. https://flattr.com/about