rc3.org

Strong opinions, weakly held

Installing Ubuntu on OS X

Today’s experiment was to get Ubuntu Linux running in a virtual machine on my Mac. It gave me the opportunity to play with two things — Ubuntu Linux and VirtualBox, an open source alternative to VMware and Parallels.

First step: download VirtualBox and Ubuntu. Second step: wait four hours.

Like all the virtualization tools for the Mac, VirtualBox is an installable package, not just an application you drag to your Applications folder. (It has to install a kernel extension.) Installation is easy, as is creating your virtual machine. You name the VM, indicate which OS you’re going to install on it, and then assign it some memory and a virtual disk image. It supports expandable disk images, so you can start out small and grow the image as needed.

Starting up Ubuntu was easy. VirtualBox makes it trivial to mount an ISO, so I just had to point it to the downloaded ISO, and click on the start button. The Ubuntu live CD starts up, and there’s an installer icon right on the desktop. I ran the installer, pointed it at the virtual hard drive I’d created, and let it rip. It took a few minutes to install the files, I rebooted, realized I had left the ISO mounted, rebooted again, and the entire process was complete.

The whole process took a few hours, but I didn’t have to spend more than a few minutes of attention to get a virtual host running Ubuntu set up, and all with open source software. Now I’m anxious to create Windows virtual machine using VirtualBox. It certainly seems as easy to use as VMware, and the only problem I’ve seen is that it seems a bit more eager to eat up CPU when it’s in the background than VMware is.

As far as Ubuntu goes, I haven’t installed any Linux distribution in a couple of years, and I was shocked to find that the installation process is basically Mac-like. Linux has come a long way since you had to spend hours trying to get X to run your monitor at the correct resolution.

One question I don’t know the answer to is how Ubuntu and my dynamically resizable partition will play together. If I need to grow the partition beyond the initial 8 gigs, will I be able to do so transparently or will I need to use some Ubuntu tools to let it know about the larger partition?

Update: Coolest VirtualBox feature — when you have a VM open, its Dock icon becomes a snapshot of the VM’s desktop that updates in realtime. Yeah, it’s silly eye candy, but it’s still awesome.

7 Comments

  1. I didn’t even see that page. I installed Ubuntu 7.10 Desktop and it appears to work fine. I’m not sure what additions they mean.

  2. I installed this on Vista a few days ago so I could test Ubuntu and a few other Linux distros to see which one I prefered. I think the Virtual Box is a great program, I have a friend who runs it from Linux too, he seems to like it.

  3. what’s the advantage of something like Virtual Box over Mac’s already-provided Boot Camp?

  4. VirtualBox enables you to run a virtual machine inside a window under OS X, whereas Boot Camp just enables you to boot into other operating systems.

  5. Note that you’ll need to create a partition at least big enough to fit ubuntu–which is over 2 GB [not sure how big exactly, but larger than that], and that if ubuntu complains “your partition isn’t big enough” then they may actually be right, and it will err later on 😛

  6. SIIIIIIGH

    I don’t have an Intel Mac. Just wasted 15 minutes of my time.

Leave a Reply

Your email address will not be published.

*

© 2024 rc3.org

Theme by Anders NorenUp ↑