Robot Has No Heart

Xavier Shay blogs here

A robot that does not have a heart

Ubuntu 12.04 dual boot on Macbook Pro

The official instructions are mostly right, but I still needed a bit of black magic to get everything working. Here are my supplementary instructions:

  1. Install rEFIt. Just works.
  2. Use Disk Utility to shrink main disk partition to make space for Ubuntu (leave “free space” in the rest). Failed because my disk has errors.
  3. Restart into single user mode. The internet tells you to hold down option+s as your computer boots. If you have rEFIt installed, this will take you to the rEFIt shell instead. Instead, let rEFIt boot, select OSX, then press F2. An option to boot to single-user mode will be presented.
  4. fsck -fy, as directed by the prompt. Interesting excerpt from OSX fsck manpage: “this should be used with great caution as this is a free license to continue after essentially unlimited trouble has been encountered.” Don’t worry about it, it’s fine.
  5. Reboot back into OSX, try Disk Utility again. Fails with “The partition cannot be resized. Try reducing the amount of change in the size of the partition.” Protip: don’t do that, it won’t help. Instead follow the instructions at this Superuser answer. It may take a few runs through to fix all the problems.
  6. Reboot with the Ubuntu LiveCD (I used ubuntu-12.04-desktop-i386.iso.torrent). rEFIt will present it as a bootable option to you. Select “Try Ubuntu” (not “install”).
  7. Select “Dash Home” icon (top left), find gparted tool. Create 1Gb swap partition, 24Gb, ext4 partition.
  8. Select the “Non-free firmware” icon that shows up in the icons top right and follow the prompts. Without this, your wireless won’t work.
  9. Select “Install Ubuntu” from desktop. Select custom install, change the ext4 partition to mount /, ensure the swap partition is labeled as such, and choose to install the boot loader to ext4 partition, not the main disk. Follow the rest of the prompts.
  10. After install, don’t reboot, instead keep trying Ubuntu. Shutdown (not reboot), then power on again. I tried to select linux, but it froze on the penguin grey screen and never got to linux. Following instructions from this post Hard power off, power on again and hold down option. Ubuntu shows up as “windows” [wtf], boot that, which loads up the grub prompt. Boot into the GUI then shut down again. Now Ubuntu will boot correctly from rEFIt.

To make it feel more like home, switch alt and command keys using this configuration and in the “Mouse and Trackpad” system settings enable two finger scroll and disable clicking with touchpad (otherwise you’ll accidentally click all the time while typing).

Last time I used Ubuntu was around version 6 days, which you can’t even download anymore. It’s a lot slicker. The icons and fonts are actually quite nice. Colemak is a first class citizen, I could select it during install and use it on my login screen, which is awesome.

A pretty flower Another pretty flower