Mac2Windows
VirtualBox: A Free, Open Source Way to Run Windows and Linux on Your Intel Mac
- 2007.07.27 - Tip Jar
Popularity: ![]()
![]()
![]()
![]()
![]()
![]()
![]()
Short link: http://bit.ly/UB7fl
Virtualization is a hot topic amongst computer users; it's getting a lot of interest from IT departments wanting to be able to run multiple servers on a single piece of hardware. In particular, this lets them run older software, such as applications designed for Microsoft's no-longer-supported Windows NT 4.0 Server, without having to keep an old computer in operation.
Software developers and Web designers are able to test their creations on multiple platforms without having to actually have dedicated Windows, Linux, and Mac computers sitting on their desktops.
Virtualization has been particularly of interest to Mac users; it allows them to run individual Windows applications (like Microsoft Access database) that lack Mac equivalents or to connect to Internet Explorer-only websites if necessary without having to hunt down a Windows PC. Apple's move to Intel-powered Macs has resulted in newer and better ways to run Windows, Linux, and other PC operating systems and software in virtual sessions on Macs.
Virtualization on the Mac
Parallels
Desktop, now in version 3.0, is the best
known and most widely used of this new generation of Mac virtualization
products. VMware, long a leader in virtualization software for
Windows and Linux is nearing the release of Fusion, its first
product for the Mac. Competition has pushed both of these US$79
products to improve performance and increase features and ease of
use.
But these two commercial products aren't the only options for creating and running virtual computers on your Intel Mac. In January 2007, InnoTek released VirtualBox as a professional-level virtualization program that's available as open source software under the GNU Public License (GPL). As open source software, any interested can download, examine, and alter the source code. While corporate users are expected to buy licenses, it can be freely used by anyone for evaluation or personal use.
VirtualBox is available in versions for Windows, Mac OS X (Intel), a growing number of Linux distributions, and other so-called host operating systems. I installed it onto a computer running Ubuntu Linux and onto an OS X-powered iMac. Note that while the current version 1.40 is an official release version for Windows and Linux, at the time of writing the Mac version is still in beta. (And, like Parallels and VMWare Fusion, it's only usable on Intel-powered Macs).
The VirtualBox Mac installer notes the following beta issues:
"Currently, we are aware of the following issues:
- No support for Host Interface Networking
- No support for Internal Networking
- No support for audio input
- No support for VT-x/AMD-V (rarely required)
- No support for raw disk access
- On OS X 10.4.10, USB memory devices cannot be assigned to a VM
- The NumLock emulation isn't implemented yet
- The VirtualBox kernel extension is currently accessible from all user accounts
"Note that we are planning to address all known issues."
Since all these virtualization products end up doing the same thing - installing a 'Guest' operating system that runs on top of a 'Host' operating system - it's not surprising that they are similar to one another. Having worked with Parallels Desktop and VMware, along with older emulation software for PowerPC Macs like Virtual PC and Guest PC, getting VirtualBox up and running seemed pretty familiar. Users are walked through the process of creating a new virtual system with a relatively user-friendly wizard.

Creating a new virtual machine.
Users are asked to pick their desired Guest operating system from a list. While relatively straightforward for Windows, this may confuse wannabe Linux users: Rather than listing supported Linux distributions (Ubuntu, Fedora, SuSE, etc.), it lists Linux kernel versions; how many of us know which kernel is used with, say Ubuntu 7.04 vs. Ubuntu 6.10? Since I was installing the latest Ubuntu release, I picked the latest kernel listed, crossed my fingers, and hoped for the best. It seemed to work.

Choose your OS.
Users can accept the default settings for RAM and hard drive size or easily alter them - I increased the default RAM sizes to 512 MB for both Windows 2000 and Ubuntu 7.04 Linux.

Set memory size.
Creating a virtual hard drive takes several steps, even if you're accepting the defaults. A nice feature - the default is to create a so-called dynamically installing drive image. With this, the virtual 8 GB drive I created for my Ubuntu Linux system won't automatically require that much space on my Mac's hard drive - instead, it only takes up as much space as is actually required by the files on the virtual drive (at the moment, 2.68 GB).

Create a virtual hard drive.
Once these are configured in the wizard, just pop in the install CD for your desired guest operating system and click Start. (Advanced users, which I'm not, can create scripts to replace the Wizard).

Ready to go!
When you start up a virtual session for the first time, another wizard walks you through a few steps necessary to get the guest operating system installed. In particular, it checks whether you're installing from a 'real' CD or DVD in your computer's optical drive or whether you're using an image file. Most of us would probably be using a CD.

The First Run Wizard.
Once that's done, you're in business. Your guest operating system installer should load, and everything should run as normal, just as if you were installing onto a real, physical PC.

Ubuntu Linux booting from a CD.
The virtualized system includes virtual hardware for a network adapter, sound adapter, video display adapter, etc. A few things to note: The sound adapter is turned off be default; you can easily turn it on, but be sure to pick the Core Audio option - the Null Audio option leaves sound turned off.

Enable Core Audio.
The display adapter uses 8 MB of RAM for video by default. While both Parallels and VMware are working on adding DirectX support for Windows gaming, you won't find VirtualBox a gaming powerhouse - even if you increase the amount of RAM set for video. The default 8 MB gave me 32-bit graphics in a 1024 x 768 window, which was fine for me.
I haven't tested Windows Vista, but I suspect that regardless of the amount of video RAM set, it wouldn't support Vista's Aero graphics transparency and other eye candy.
As with sound, USB support is disabled by default; it too can be turned on giving access to USB printers, and more. (Note that 'USB Memory Devices' such as flash drives are not supported in the OS X Beta version I tested.)

Enable the USB Controller.
Just like Parallels and VMware virtual sessions, you're going to want to install "Additions" for improved functionality. Additions are included for Windows and Linux; they offer improved video and USB performance and smoothly integrate the mouse between the Mac and the guest desktop. (This can cause problems, and once installed it can be turned on or off - when this is not installed or turned off, users need to press the left Command key to get access to the mouse for the Mac.) The Additions can be installed from the program's Devices menu; once chosen, a CD image is loaded and appears as a drive, ready to run.
The Windows additions installed without a hitch in my test Windows 2000 guest OS. I had to do a bit of fussing to make the Linux additions install on my Ubuntu session, however. Double-clicking on the VBoxLinuxAdditions.run file tried to load it in a text editor rather than running the file. In the end, I copied the contents of the virtual CD to a new folder on my desktop, opened a Terminal session, moved to that folder, and from the command line typed:
Sudo sh ./VBoxLinuxAdditions.run
After prompting for my password, the Additions installer ran. (Linux gurus probably know more elegant ways to make this work).

Installing the Additions in Ubuntu Linux.
While the Parallels and VMware additions provide drag-and-drop between the guest OS desktop and the Mac desktop, VirtualBox lacks a similar feature. As well, the software promises the ability to set up Shared Folders - designated folders on the Mac that will appear as virtual drives on Windows or Linux virtual systems. The documentation tries to walk users through steps required to mount these virtual drives in Windows and Linux, but this needs to be made more automated. In any event, I couldn't get it to work - this seems to be what the beta warning quoted above meant by 'Internal Networking'. As a result, it wasn't as easy to move files between my Mac and my virtual sessions as it is using the commercial virtualization programs.
Performance seemed fine - as with Parallels and VMware, virtualized sessions running on an Intel Mac seem to work at nearly full speed . . . at least if you've got enough RAM to throw at them. I've got 2 GB of RAM on this iMac; that lets me share 512 MB of it with my virtualized PC operating systems.
If you already own a copy of Parallels Desktop, VirtualBox
probably offers nothing new. But if you've got an Intel Mac and
want to try out Windows, Linux, or some other PC operating system,
this free and open source virtualization software can be a usable
and attractive way to do it. It lacks some of the cutting-edge
features of Parallels or VMware (such as Parallels' Coherence Mode
or the ability to run a Boot Camp installation as a virtual
session), yet it's an impressive piece of software. And the price
is right!
Join us on Facebook. Follow us on Twitter.
Alan Zisman is Mac-using teacher and technology writer based in Vancouver, BC, Canada. Many of his articles are available on his website, www.zisman.ca. If you find Alan's articles helpful, please consider making a donation to his tip jar.
Other articles by Alan Zisman
- VMware Fusion 4 vs Parallels Desktop 7: The Virtualization Battle Continues, 2012.01.18. Over the years VMware and Parallels have both improved signficantly, but which is better in 2012?
- Tech 2012: Everyone Wants a Piece of Apple or Facebook, 2012.01.10. Just as last year, companies want to steal market share from Apple or create a real competitor for Facebook.
- 'Obsolete' Computers Still Have Value, 2011.12.02. How one school acquired its first Mac lab in 1989 - and used it for over a dozen years.
- More in the Mac 2 Windows index.
Links for the Day
- Mac of the Day: Dynamac, introduced 1987.02. This AC-only portable has a backlit electroluminescent screen.
- February 3 in LEM history: 1998: Apple and CompUSA - 2001: Vinyl to disc - 2003: Apple has always been a significant player - Upgrading a Power Mac G4 - Making a bootable OS X CD - 2005: Apple's future is with the consumer market - 2006: Browsers for the Classic Mac OS - Microsoft's monopoly makes it slow and vulnerable
- Support Low End Mac
Recent Content on Low End Mac
- Does iOS Doom the Mac?, Apple Again #1 Smartphone Vendor, Massive 16 iPad Charger, and More, iOS News Review, 2012.02.03. Also Sleipnir browser lets you share links locally, iPro brings Schneider lenses to iPhone 4, and more.
- Time to End 13" MacBook Pro?, Refurb MacBook Air from $699, Enable TRIM in OS X, and More, The 'Book Review, 2012.02.03. Also Auro Pro Express SSD upgrades for 2010/11 MacBook Air, Sleipnir browser syncs bookmarks with iOS, Prey laptop recovery tool, and more.
- Apple Refurbs a Great Deal, iOSificiation a Fundamental Shift for Apple, and More, Mac News Review, 2012.02.03. Also IT workers embracing Apple, battery-free wireless mouse, freeware alternatives to commercial apps, and more.
- Kill Caps Lock, but Leave the Rest of My Keyboard Alone (Mostly), Dan Knight, Mac Musings, 2012.02.03. It's too easy to hit Caps Lock by accident, but why change a keyboard layout that billions of users are comfortable with?
- 25 Years of AppleShare Networking, Low End Mac Round Table, 2012.02.02. Macs have always had built-in networking, but Apple didn't have server software for Macs until 1987.
- Disk Expert Helps You Find and Delete or Archive Your Biggest Files, Steve Watkins, The Practical Mac, 2012.02.02. If your hard drive, flash drive, or SSD is filling up, Disk Expert can help pinpoint the biggest files, which you may be able to delete or archive.
- Tiger or Leopard for PowerPC Macs? Does It Matter Anymore?, Simon Royal, Mac Spectrum, 2012.01.31. Does it really matter whether you run OS X 10.4 Tiger or 10.5 Leopard on your increasingly left-behind PowerPC Macs?
- MacBook Air vs. MacBook Pro, Looking for a Vertical MacBook Stand, and SE/30 Internet Tips, Charles W. Moore, Charles Moore's Mailbag, 2012.01.31. Whether a MacBook Air makes as much sense as a MacBook Pro, finding a vertical stand for a MacBook, and tips for getting an SE/30 on the Internet.
- More links in our archive.
Recent Deals
- Best iPad Deals
- Best Classic Mac OS Deals
- Best Apple TV Deals
- Best 15" MacBook Pro Deals
- Best Power Mac G4 Deals
- Best Mac OS X 10.6 Deals
- Best MacBook Deals
- Best Time Capsule Deals
- Best 17" PowerBook G4 Deals
- More deals in our archive.
About LEM Support Usage Privacy Contact
Follow
Low End Mac on Twitter
Join Low End Mac
on Facebook
Low End Mac Reader Specials
TypeStyler 11 is now in the Mac App Store!! -- Special Introductory Price of $59.95!! -- To Buy From The Mac App Store Click Here Now!! Or buy direct
from Strider Software.
Don't install Parallels to play poker online! Poker Mac will show you how to download and install a native Mac poker and Mac Casino applications in minutes.
Favorite Sites
MacSurfer
Cult of Mac
Shrine of Apple
MacInTouch
MyAppleMenu
InfoMac
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac Museum
DealMac
Deal Brothers
Mac2Sell
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End Mac FAQ
Affiliates
Amazon.com
The Apple Store
The iTunes Store
PC Connection Express
GainSaver
Parallels Desktop for Mac
eBay

