1 Free Program to Run Windows on your Mac

Virtualization seems to be one of the great buzzwords these days. Everyone wants to be running an operating system other than their own. My first experience with this sort of thing was trying to run Linux alongside Windows XP using VMware. My second was with Parallels, running XP on my Mac.

The big problem with those two programs is the cost. There’s a free trial of Parallels and a free VMware player, but that’s not what I was looking for. I wanted a full version piece of software that would cost very little or nothing. Well I’ve found it. Varun Kashyap wrote about VirtualBox back in May as part of an article on free open source counterparts to Windows software. In this article I will expand on that and show you just how easy it is to install on a Mac and how great it really is.

First off, what is virtualization? Well for our purposes it means creating a virtual computer on your physical computer. Let’s say you’re running OS X Leopard on your Mac, but you’d like to use Windows XP or Vista or some flavour of Linux as well. Without virtualization, you’d need to either dual boot or install your second OS on a second machine. Using virtualization you can have your guest OS running as a window on your host OS, or better yet, have them run side-by-side, almost as equals.

Installing the guest OS

The industry term for the operating system you’ll be running on a virtual computer is ‘Guest OS’. Your main OS is the ‘Host OS’. The virtualization software, in this case VirtualBox, provides the virtual computer. Fire it up and it’ll ask you some questions about the OS you’re installing. Things like:

    The name you’d like to give it. Choose any friendly name here, like “Windows XP” or “Jason’s Virtual Computer.”

    The OS type. There’s a long list here including DOS, all flavours of Windows going back to 3.1 and many flavours of Linux

    Run Windows on MAC

    The amount of your system memory you’d like to allocate to the virtual machine when it’s running.

    For XP, I find 512M works great, for Vista you’ll need 1G. I have 2M of ram on my Mac so YMMV. (UPDATE : that’s 2G, not 2M of course!)

    Windows XP on Mac

    What type/size hard drive you’d like.

    Your choices are Dynamically Expanding Image (default and the one I chose) or Fixed-Size Image.

    Windows on OS X

    As for size, I chose the OS default which is 10G for XP and 20G for Vista. That’s just the size VirtualBox reports to the guest OS as the hard drive size. If you chose Dynamically Expanding Image in the previous step VirtualBox will create a file representing your drive only as large as it currently needs to install the OS. Then as the name implies, as you add stuff to your virtual computer, the drive will expand as necessary.

    You then power on your virtual machine and it will use the installation CD in your drive (or a disk image of your choice) to install the guest OS. It will run through the entire installation process, as if you were installing it on a physical machine, prompting you for your product key and your time zone etc.

    A word about the guest OS. You must have your own copy of the OS you’re installing, and all the regular licensing rules apply. If you install Windows on a virtual machine, it’s the same as installing it on a real computer and as you know, each copy of Windows is only allowed to be run on one computer. Of course, there’s no problem if Linux is your guest operating system of choice. It’s free.

Running your virtual computer

Once the installation is complete, you’ll want to run your new (or old) OS. Just start it up and enjoy the surreal show of having one operating system boot up inside another. Once it’s up and running, you’ll notice the mouse is a little jittery and hard to control. Don’t worry, that’s what Guest Additions are for.

Guest additions do a few very important things.

  • Make the mouse cursor less jittery
  • Keep track of which OS you’re using so your mouse follows.. … a special mouse driver is installed in the guest that communicates with the “real” mouse driver on your host and moves the guest mouse pointer accordingly. You will only have one mouse pointer… (VirtualBox documentation)
  • Dynamically change the screen resolution based on the size of the guest OS window.
  • Shared folders
  • Shared clipboard
  • Seamless mode (see below)

You can run your guest OS in three modes.

    As a window of your host OS

    In full screen mode, where it appears you are running the guest OS only. Your host OS does not show through anywhere.

    In Seamless mode. This is perhaps the most powerful of the three. In seamless mode, each Windows app appears to be running within OS X. You even get the Windows
    taskbar on the screen along with Mac dock and menubar. (See image below)

When shutting down your guest OS, you have several options including saving the state of the virtual machine, so that when you start it up the next time, you’re right back where you left off. It’s like sleep or hibernate mode. Very convenient.

As I’ve said, I have used Parallels to run Windows inside OS X and, to be honest, I prefer the free, open source VirtualBox to the $80 Parallels. There’s not much Parallels can do that VirtualBox can’t. In fact, I haven’t yet found one thing that I miss from Parallels. Windows XP runs quite fast inside the virtual machine. Vista runs a little slower, but that is probably just a memory issue. If you have 3 or 4 gigs then you have enough to allocate 1.5 to 2 to Vista, which should make things run much more smoothly.

Some suggestions:

    Back up your virtual harddrive. Once you’ve got your guest OS set up the way you like it with all your software installed and OS updates done, then back it up either somewhere else on your harddrive or on another harddrive or if it’s small enough, to a DVD. If you ever get some malware on your guest OS that you can’t get rid of, just delete it and use a copy of your backed up copy.

    If you hope to keep the guest OS running smoothly for a long time, treat it as you would a regular computer. Install antivirus and anti-malware tools.

My recommendation: before shelling out for VMware or Parallels, give VirtualBox a try. You’ll probably love it and save yourself a wad of dough.

Do you use virtualization software? Which one? Why? How? Let us know in the comments.

(By) Jason Mayoff is a radio newscaster, tech geek and the Make Use Of Podcast Editor. If you’re ever in Montreal, Canada you can hear him on CJAD 800. You can also find Jason at Podcasters4Hire.com and pleasantnights.com, where he talks about keeping an organized and clutter-free home.

Enjoyed this article? Subscribe to MakeUseOf and get daily updates about new cool websites and programs in your email for free. Plus get free cheat sheets to your favorite programs.


Enter your email address:  

Subscribe to MakeUseOf

Filed Under: Cool Software Apps ¦ How-To ¦ Mac
Tags: , , ,

Latest from Jason:

Blog Posts from Jason:
Most Popular:
  • 100 Portable Apps for your USB Stick (both for Mac and Win)
  • 40 Unusual Websites you should Bookmark
  • 1 Awesome Gmail tip You Don’t Know about. Seriously.
  • The Best, Free Alternatives to Nero CD/DVD Burner
  • 5 Packs to Transform Windows to other OS
  • 18 Free Ways To Download Any Video off the Internet
  • 13 Bargain Websites That are Cheaper than eBay
  • 5 Tools to Make Windows XP Look Like Vista
  • 7 Excellent destinations to watch TV Shows for FREE
  • Watch Popular TV Shows,Cartoons,Movies,Anime for free
  • 42 Comments » Leave One...

    Comment by Daniel
    2008-07-09 19:24:13

    Interesting; I was always wondering if there were a free alternative to Parallels since they’re an industry leader and their software is excellent.

     
    Comment by patrick
    2008-07-09 20:29:19

    “For XP, I find 512M works great, for Vista you’ll need 1G. I have 2M of ram on my Mac so YMMV.” /scratch_head

     
    Comment by Kyle Griswold
    2008-07-09 21:03:15

    He probably meant he has 2G of ram not 2M and I think YMMV means your memory may vary.

     
    Comment by Jackson
    2008-07-10 00:45:04

    Great post, Jason. I tried VirtualBox before. It was pretty easy to set up but I’d rather not go through the hassle of installing Windows when I won’t use it :P

    There’s another free virtualisation app for the Mac, it’s called . Be warned though, it’s still pretty new. Previously, I was trying to compare VirtualBox and Q but gave up half way…

    Comment by Jackson
    2008-07-10 02:20:33

    Sorry. Typo there. It’s called Q[kju:]. Find it here

     
     
    Comment by Jerry Kidd
    2008-07-10 01:04:33

    Great post Jason! I have a 24″ iMac and a 15″ MacBook Pro. I ma running parallels on the iMac and VMWare on the MacBook pro. Of the two, I find that VMWare is the most stable and problem free. I was dreading the prospecyt of yanking Parallels from the iMac and repalcing it with the $70.00USD VMWare. I think I’ll give your solution a try.

    By the way Patrick, I have seen YMMV as Your Mileage May Vary!

     
    2008-07-10 01:28:13

    Virtualization definitely has lot of great advantages and I use it all the times on my Linux servers. Probably there is not lot of good reasons to run Windows under Mac other than trying to understand how the virtualization works etc.

    Ramesh
    The Geek Stuff

    Comment by Marcelo
    2008-07-15 14:01:35

    Or when you need to run Windows to develop software to pay the bills, but prefer a more robust operating system for your own personal development pursuits…..

    Comment by MikeyLikesIt
    2008-08-12 00:28:28

    Exactly.

    As a web developer, I love working in OSX because it’s built on top of unix so I can do local development and it has lots of great design and development tools available.

    But … I HAVE to have a copy of Windows in which to review/test my sites, since that accounts for 90% of the people who will be accessing the site. Without virtualization software, I’d need to have a whole separate computer or a separate boot for windows, which would be totally lame.

    And it’s very nice to be able to play around with other operating systems like Ubuntu :) Maybe one day I’ll be able to get rid of Mac too, but until then I’m loving it (I just wish that Apple gave more back to the open source software communities on which they have built their bread and butter).

    (Comments wont nest below this level)
     
     
     
    Comment by Jason Mayoff
    2008-07-10 05:14:45

    @patrick. Oops. I meant 2G, not 2M.

     
    2008-07-10 09:35:07

    Awesome informative post Jason. I have to give this a try! It might save me some big money on virtualization for my Mac department in the coming year.

     
    Comment by Ken Burkes
    2008-07-10 10:55:28

    Wonderful post Jason. Although I don’t have a Mac computer, I’ll definitely get this program when I finally buy a Mac. Thanks for all the info.

    Comment by Mackenzie
    2008-07-10 13:05:26

    It works on all OSes. I use it on Linux.

    And guys, couldn’t you have gotten newer screenshots? Innotek? Really? They sold out to Sun months ago!

    Comment by mike cariglio
    2008-09-13 09:37:29

    Hi, i wonder if after installing VB on my mac I wonder if i canget that internet online tv package that’s ownly available on PC’s. What do you think?

    (Comments wont nest below this level)
     
     
     
    Comment by John Ruschmeyer
    2008-07-10 12:44:22

    A couple of notes:

    1) I’m not sure that I’d say that Q is *that* new as it is based on Qemu.

    2) Probably the biggest present in Parallels (or VMware Fusion), but missing from VirtualBox is Direct3D (i.e., DirectX) support. Whether you miss this really depends on what you do with your virtual machines.

    3) If you think VirtualBox compares favorably to Parallels Desktop on the Mac, try comparing it to Parallels Workstation on Windows/Linux. VB blew past PWS several releases ago and even gives VMware Workstation 6.x a run for its money.

    Comment by Marcelo
    2008-07-15 14:04:53

    “2) Probably the biggest present in Parallels (or VMware Fusion), but missing from VirtualBox is Direct3D (i.e., DirectX) support. Whether you miss this really depends on what you do with your virtual machines.”

    And that in my book classifies it under “Deal Breaker”. Vista running slow in VB under OSX has less to do with Memory in a system with 1Gb of RAM, and more to do with the video horsepower, and there’s no comparison between Aero through DirectX and Aero through GDI.

     
     
    Comment by Mackenzie
    2008-07-10 13:06:45

    Oh, also, don’t use the Dynamically Expanding Drive option. It’s pretty slow. You get much better responsiveness if you have a fixed size disk. You can always add more disks if you need more storage.

     
    Comment by Rod
    2008-07-10 13:48:05

    VirtualBox is very nice. I use it my Windows PC at work to do various things with Linux such as setting up a temporary proxy server. I also have Windows XP running in VirtualBox on my MacBook Pro.

     
    Comment by Hillman
    2008-07-11 13:40:09

    Will it handle USB thumb drives? My decision hinges on that.

    Comment by eric
    2008-07-11 16:06:03

    It has worked with my USB thumb drive. Just make sure you aren’t using the OSE edition!

     
    Comment by chick yeager Subscribed to comments via email
    2008-09-28 08:37:05

    I do not see anything here that answers the question of how I can make my host USB to work with the virtual box. Does anyone have an answer to that?
    thank you

     
     
    Comment by Michael
    2008-07-11 16:17:13

    How does it work with games? I know someone higher up said it doesn’t support Direct3D, but what about some older games? Really, any information on this would be helpful.

     
    Comment by Tom
    2008-07-11 21:37:16

    One point about the latest release of VirtualBox that never seems to get mentioned is that seamless mode works for UNIX and Linux VMs in addition to Windows. Neither Parallels or Fusion do this - they only do seamless for Windows.

     
    Comment by CeilingCat
    2008-07-12 07:42:08

    I’m sticking with Parallels for multiple reasons, but the primary one has to be that it uses my Boot Camp partition, meaning I only need to maintain a single XP installation. Sure this means I don’t get to utilise Snapshots, but XP’s got its Rollback function so I’ve never really had to worry.

    Still, for an office environment, I can see the huge atraction that a free alternative would offer!

     
    Comment by CeilingCat
    2008-07-12 07:43:12

    Oh, and why does this place have NSFW advertising?

     
    Comment by Howdesign
    2008-07-12 11:00:59

    This is an amazing piece of software! I’ve used commercial alternatives a bit in the past, but this is considerably faster to boot into. My one complaint of the others was that my MacBook Pro would literally freeze while they launched until XP was available. Performance in XP was often sluggish even for simple browsing, which is all I really use it for, along with checking web sites I’ve created in IE.

    Installation was a snap and it appears VirtualBox includes many of the niceties of the big boys. Once they get audio working, it will be a boon!

     
    Comment by Jason Mayoff
    2008-07-12 20:20:41

    @Howdesign Audio works fine. I probably should have mentioned it in the article, but you have to tell it which audio driver to use. Just click audio in the main window, before you actually start the guest os and choose the proper driver. For me, it’s CoreAudio.

     
    Comment by Fish
    2008-07-12 21:48:15

    Great software!!!!

     
    Comment by jomi
    2008-07-14 09:36:35

    whqt about using the bootcamp partition?

     
    Comment by Rui Castro
    2008-07-15 06:23:01

    Does vitualbox for mac run mac server? I would love to virtualize mac so I can install apps to test out and not put junk on my main mac. Any help here?

     
    Comment by Eric Smth
    2008-07-15 12:38:28

    Which type of formatting do you recommend? FAT or NTFS? I don’t really know what the differences are, but is one better than another for this type of thing? (I did the dynamically expanding image…I don’t know if that changes which I should use)

     
    Comment by Alex
    2008-07-17 21:15:40

    Any chance you guys know of something like this that works on non-Intel Macs? I have an iBook G4, and I know I should just upgrade, but what am I, made of money? I just want to download and use ONE Windows program. Is that so much to ask? Any ideas?

    Thanks.

    Alex.

     
    Comment by attapon
    2008-07-27 09:53:36

    Thank you i am new for mac and find way to use virtualbox for long time

     
    Comment by mike prieto
    2008-07-30 13:22:50

    Is this only for Mac OS X intel? If there is also a Power PC download, please give me a link.

     
    Comment by Suarez
    2008-07-31 14:50:35

    Will the guest OS read the USB drives????

     
    Comment by whizkid515
    2008-08-01 12:09:37

    @Alex
    If you don’t need speed, I suggest Q (kju-app.org). I used it on my iBook G4 and got moderate performance on Windows 98 and 2000. Windows XP doesn’t run in Q… it crawls. If you need decent speed, go on eBay or Amazon.com and buy Virtual PC for Mac. It has much better performance than Q. If you don’t want to pay though, get Q. It’s acceptable for certain uses.

     
    Comment by John
    2008-08-04 14:54:00

    Hi all,

    I’ve been trying to get virtualbox to run Windows Vista on my Mac. I’ve followed the instructions on this site exactly, and the program tries to boot from the install disc. It loads the files, then shows the Vista boot up screen with the load bar at the bottom. While the bar is running, my computer becomes unresponsive except that I’m still able to move the mouse around (but not click on anything). Any help would be greatly appreciated. Thanks.

     
    Comment by TomBstone
    2008-08-06 16:45:31

    This was more than helpful for the setup. Thanks so much. Just one question while its installing Windows…

    Im putting it on my friends Mac Book JUST so he can run Zune (I know, I know…). What I want to know is if while in windows, will it read the USB device? An does anyone know if it works well with Zune?

    Thanks for any help!

     
    Comment by TomBstone
    2008-08-06 17:00:39

    HELP!!!! How do i switch my pointer back to my original OS??!?!!!

     
    Comment by Sarah
    2008-08-11 11:11:44

    uh… =P i must be stupid i no im 14 but i dunt get any of this but i need to know this kind of stuff xD man i really need to figure out mac computers =P …..Oh btw thnx for ur help ^.^

     
    Comment by Sriram
    2008-11-01 21:21:31

    I have already installed XP on my iMac via BootCamp. Is it possible for me to use VirtualBox to just point to this, rather than going through the install CD and things like that?

     
    Comment by Terry Lee
    2008-11-20 04:50:16

    That’s a great find!! Thanks for that. I already run Parallels but I’ll try out this open source version because I’m a geek at heart, but don’t tell my clients :-)

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Subscribe to comments via email
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment. All comments are moderated. If your comment does not show up immediately, be patient. It will show up momentarily.

    Responses:



    © 2007-2008 MakeUseOf.com. All rights reserved. Design by Unique Blog Designs.