Installing Ubuntu 13.04 on a Mac

I like having a Ubuntu install handy to play around with. It’s already on my PC as a VirtualBox image, but 3D acceleration refuses to work, so I can’t upgrade it beyond 12.04 as there’s no more Unity 2D after that and upgrading prompts dire warnings about terrible performance. I decided to try installing 13.04 (Raring Ringtail) onto the Mac with VirtualBox.

Installing VirtualBox was easy. Download the Mac versio and drag it to the Applications folder. That’s generally the case for installing Mac apps, although some of the newer ones can be obtained from the App store, just like for mobile devices.

Creating a new image, mounting the ISO file and installing Ubuntu was no problem. In fact, the install wizard seems to have been streamlined a bit.

However, running it was a different issue. Opening the ‘Start’ menu took ages as it slowly fades in, and just getting it to go away took another eternity as it slowly faded away. A bit of Googling revealed that the problem was a lack of 3D acceleration. That apparently causes it to use the CPU to render the graphics, leading to terrible performance.

The solution was found in this forum thread. Basically, install the VirtualBox extensions, install guest editions, then insert the line ‘vboxvideo’ to /etc/modules

Reboot and check that 3D is supported with the following command.

/usr/lib/nux/unity_support_test -p

If that shows all green, everything should be running much smoother!

Upgrading a MacBook with an SSD

SSD Macbook

 

Having bought a new solid state drive (SSD), I needed somewhere to use it. Mountain Lion runs terribly slow on a 2009 MacBook Pro, so I decided to upgrade its hard drive to an SSD. I had originally planned to use it for a new desktop, but that isn’t going to happen anytime soon and it seemed like such a waste to leave a perfectly good SSD lying around.

The hard drive replacement was quite easy. Just unscrew everything and replace the drive. Some other websites should provide much better instructions. The main thing to note is that the hard drive support posts use a funny star shaped screw. I still have my friend’s toolkit from the last drive replacement so this wasn’t a problem.

Prior research had led me to the Recovery Disk Assistant, a bootable recovery USB stick. Plugging that in and starting the Mac starts a recovery utility. Start by adding a partition and formatting the disk using the disk utility.

Next, install the OS. The utility prompts for an AppleID. Use the account used to purchase Mountain Lion. The installer will now download the whole OS from the App Store. This requires an Internet connection, which can be configured from the recovery utility. Go do other stuff while it downloads and installs the OS.

At the end of the process, it will prompt for a location to restore user data from. One of the options is to use a hard drive. I plugged in the hard drive I had just replaced as an external USB drive. The installer automatically detected the applications and user data and offered the option of restoring it. I just let it do its thing and at the end of the process, the data recovery was complete without me having to manually dig up the application install disks or recreating the user accounts. It just worked!

The Mac now starts up in less than 10 seconds. Applications start much faster and Mountain Lion is finally acceptably quick.

I’m really amazed by the ease which I could reinstall the OS and restore the data after changing out the hard drive. The performance increase is very nice too. However, it’s a little disappointing that Mountain Lion needs an SSD to not feel sluggish.