Mere Code

Diverse Topics of General Interest to the Practicing Programmer

Ubuntu in a VM on OS X?

I’m trying to get Ubuntu 10.10 running in a VM on my iMac. It mostly works with either VirtualBox or VMWare Fusion, but I can’t get 3D acceleration working. Under VirtualBox, I can get compositing happening, but it’s very slow. Under VMWare Fusion, Ubuntu won’t even acknowledge that I have a 3D card. Help.

Edit: If you can point me to a working guide for dual booting Ubuntu on the iMac 27”, then that would also be great.


jml on 2010-11-18 17:12
Asked on
jml on 2010-11-18 13:36
Following up, I tried to boot with the Ubuntu 10.10 CD with rEFIt installed and all I got was the screen flashing to aubergine, then to 80x25 console then black, all the while the CD was spinning and being read from.

I guess I'll have a poke around some other sites.
jdong on 2010-11-06 17:08
Compositing works for me too in Parallels 6 – if you're virtualizing in OS X I strongly recommend Parallels.

Note that when dual-booting, it actually doesn't matter if you install GRUB to the MBR or the partition – Mac EFI does the right thing (tm) in either case, and you can't break your OS X boot anyway.
cmsj on 2010-11-06 16:44
(Something I've singularly failed to do with any of VBox, Fusion or Parallels though is be able to boot my native dual-boot partition in a VM. They all try to help me boot my Windows Boot Camp partition in the VM and get confused that it's not NTFS and will give up)
cmsj on 2010-11-06 16:42
Compositing works ok in Parallels.
As for dual booting, it should Just Work with 10.04.1 or later - the only non-standard wrinkles are:
* Install GRUB to the partition not the MBR
* Install rEFIt on the Mac so you can select which OS to boot.

I'd ignore the Boot Camp tools as they are rather too focussed on Windows.
jonathan on 2010-11-06 15:32
Have you tried using the bootcamp assistant and just installing it the same way you'd dual-boot with Windows? That works quite fine on any Mac I've tried it out before.