17 Comments

Summary:

Using a Mac is a treat for many, and after years of living on Window machines, I appreciate the little things OS X provides. There’s no point preaching to the choir here about how OS X is better…most of us already feel that way. But what […]

virtualbox_thumb

Using a Mac is a treat for many, and after years of living on Window machines, I appreciate the little things OS X provides. There’s no point preaching to the choir here about how OS X is better…most of us already feel that way. But what I’ve realized while working in IT, is that I have to be adaptable since not everybody can run OS X. Perhaps they are scared of the change or have an application that doesn’t have an Mac counterpart. Whatever the reason, not everyone will jump on the bandwagon. This is especially true in a more corporate environment.

So as an IT support technician, I have to be flexible. As much as I hate spending hours removing spyware from users machines using tools like AdAware, HijackThis & Malwarebytes; this is my trade and I need to be proficient in every aspect of it. This is why I need to live in both the Apple and Microsoft world at once. There are many options out there such as VMWare Fusion or Parallels, but Oracle’s VirtualBox offering is different in that it’s free.

Free is always good, especially if you only need to access Windows once in a while. VirtualBox can run all flavors of Windows, Linux, Solaris, OS/2 & BSD. If you need to support some random piece of software that only runs in Windows 3.1, VirtualBox will do it.

For my example below, I will run through installing Windows 7 in VirtualBox.

  1. Download VirtualBox from Oracle’s site.
  2. Run throughout the Install.
  3. Launch VirtualBox for the first time and it will ask if you want to register. It is not required.
  4. Once the Virtual Machine list comes up, we need to make a new VM.
  5. This will start the New Virtual Machine wizard. Enter your machine’s name and select the OS you will be installing.
  6. Set the amount of RAM you want to be available to your VM. I chose 1GB since this will be Windows 7 and I have 4GB to spare.
  7. We also have to create a new Virtual Hard Disk for the install to run off of.
  8. Choose whether it’ll be a dynamic or static disk. Dynamic is the default since it saves space until it’s needed.
  9. Choose your size, save location and your new virtual disk is done.
  10. Now we can launch our VM and start our OS install.
  11. The First Run Wizard will start and we need to insert our Windows 7 media so it can be installed.
  12. The Windows 7 setup process begins. To switch your mouse out of the VM and back to OS X, hit Control + Command.
  13. The Virtual Hard Disk we created earlier is available for Windows to install to.
  14. Go grab a bite to eat or a few drinks while you let Windows install. When it’s done, all should be well.
  15. Now we need to install the VirtualBox Guest Additions. Click on Devices in the VirtualBox menu bar and select Install Guest Additions…
  16. The install will finish and then let the VM reboot at the end. You no longer need to type Control + Command to switch mouse controls. You can also resize the VM window and the desktop resolution will adapt.

Having VM’s available to you in the support environment is a godsend. I still use Snow Leopard on my iMac, but I have the ability to launch a VM with whatever OS the troubled co-worker is using. People seem to think you must know everything about Microsoft Office since you’re IT. I am constantly reminding people, this is not the case. But I can launch Outlook on my end and walk them through the process.

If there is a Windows app that your job requires you to run then it’s time to use Seamless Mode. This allows you to have a Windows Start Bar on the bottom of your screen and Window applications will float on top of OS X.

We also have used VMware Fusion in the past. But so far, VirtualBox does everything Fusion does in our environment. If you haven’t dabbled in VMs before, give VirtualBox a try.

  1. This installation wasn’t done on an iMac but Hackintosh!

    Share
    1. BTW, VirtualBox installed, but failed to run Windows XP on my Leopard 10.5.8 Dual Core Hackintosh because of crappy VT-x support. On the other hand, VMWare Fusion 3.0.1 managed to do the job with only minor video issues (GMA950). I guess you get what you pay for!

      Share
    2. Not this time my friend.

      Share
  2. I take that back – the used DVD drive was confusing me. Sorry.

    Share
  3. I’ve not used VirtualBox for quite some time, but I’m wondering about USB support. I had trouble switching devices from OS X to the VM, along with it not recognizing certain USB drives.

    Have you seen any oddities related to USB devices in the current version?

    Share
  4. Can this be used if Active X is necessary? I just returned my first mac purchase a macbookpro b/c I could not log into my office since I needed Active X

    Share
    1. Yes, you can do everything within the Windows guest that you can on a real Windows computer, including run Internet Explorer for sites with ActiveX controls.

      Share
  5. Nice to see a site promote the open source option for a change instead of constantly advertising for Parallels and Fusion.

    Share
  6. VirtualBox isn’t free in commercial environments. I hope you purchased a commercial license…

    http://www.virtualbox.org/wiki/VirtualBox_PUEL

    Share
    1. We always following licensing agreements at my job. You don’t have to worry.

      Share
  7. nice post, been using Virtual Box for awhile now on my MacBook and really like it.

    Share
  8. Fantastic – I need to get Windows on one of my Macs to run some apps for EVE-online and can’t install on my corporatised Dell laptop anymore. Wasn’t looking forward to having to shell out for Parallels AND Windows 7, and didn’t want to have a dual boot so this solution presents itself in perfect time. Cheers.

    Share
    1. Exactly, you can always get a commercial app later if vbox doesn’t do what you need.

      Share
  9. thanks for the walkthrough

    Share
  10. I started with Parallels, moved to VMware and in January decided to try VirtualBox. VB worked as well as the other 2 apps but in the end I went back to VMware due to the fact that you couldn’t remap any of the keys back to the host. For example I use quicksilver for my quick launcher and when in VB the hot keys no longer worked, same is true for the Spaces hot keys.

    VirtualBox is a decent product but if you are a keyboard junky it’s just a bit lacking.

    Share

Comments have been disabled for this post