How to install Ubuntu on a Mac and keep OSX?

For 12.04:

I wrote an extensive tutorial here. It worked perfectly well for me and I didn't have any issues since doing exactly what I describe in my blog post a couple of weeks ago.