This tutorial shows how to load VirtualBox on an Intel-equipped Mac. It then demonstrates how to load Windows 7 as a virtual machine running under VirtualBox. It was created on 1/27/2010. My current configuration:

1. Download the VirtualBox binaries from http://www.virtualbox.org/wiki/Downloads. VirtualBox is free for personal use.

I downloaded the file to my Desktop.

2. Double-click the Disk Image (.dmg) file to start the installation. Then, double click on the installation package:

3. Click through the Introduction and accept the license. Then choose a destination to install VirtualBox.

4. Click Continue, then click Install. You may need to enter your password. VirtualBox will install itself in the destination you selected. Click Close to exit the Installer.

5. Find VirtualBox in your Applications folder and doub le-click it to launch VirtualBox. Note - you can drag the VirtualBox icon to your dock for easy launching going forward.

6. When you launch VirtualBox for the first time, you will be asked to register VirtualBox. Fill in the necessary information and click Register.

Note - don't try to use my information! Create a new Sun Online accont if necessary. Also note that you can click Cancel and bypass registration. But then you'll miss the heartfelt message that follows!

7. The VirtualBox startup screen appears.

8. Click New to start the New Virtual Machine Wizard. Click Next.

9. Name the virtual machine and choose your version of Windows. Note - I chose Windows 7. If you have a different version of Windows, make sure you choose the correct version. If you don't have a version of Windows, and you are taking a class in the Computer Science department at NCC, contact Professor Charles Hornung at chornung@ncc.commnet.edu to get a DVD containing a full version of Windows. Click Next.

10. Choose how much memory to allocate to the virtual machine. If you are installing Windows 7, I recommend at least 1 GB of memory. Note that the virtual machine, when running, shares the available memory on your system. So, on my system, I have 2 GB of memory installed. By allocating 1 GB for the Windows 7 virtual machine I am, in effect, hiding 1 GB from OS X. Click Next.

11. Since this is the first time you are running VirtualBox, you have no choice but to create a new Virtual Hard Disk. Leave the Boot Hard Disk selected. Click Next to start the New Virtual Disk Wizard. Click Next.

12. Choose the type of hard disk to create. I recommend choosing Dynamically expanding storage. Click Next.

13. Choose a file name and size for the virtual hard disk. The recommended size for Windows 7 is 20 GB. Note that this size is reported to the OS as the available size. iF you chose Dynamically expanding storage, the virtual hard disk will be much smaller. Click Next.

14. Click Finish to create the virtual hard disk.

15. Click Finish to end the Virtual Machine Wizard. Click the Start button.

16. Prior to clicking OK on the information sheet that follows. Insert your Windows 7 DVD. This will start the First Run Wizard. Click Next.

17. Select the drive in which you inserted the Windows media. Click Next.

18. Click Finish to start the Windows Installation.

19. Click inside the window and choose Capture to enable the mouse in the virtual machine. Note - use the left command button to return the mouse and keyboard to OS X.

20. Click Next and follow the on-screen prompts to install Windows 7. Accept the license agreement and click Next.

21. Choose Custom Install, Click Next. The Windows installation routine will begin. Note - depending on the speed of your machine, this could take some time.

22. The virtual machine will restart a few times during the installation. After a few minutes, Windows will start and run the First Use Wizard. You'll need to create a user name. Click Next.

23. You can also optionally create a password. I chose not to do this. Click Next.

24. Type in your product key. If you received a disc from Professor Hornung, contact him via e-mail for your product key.

25. Choose how you want to update Windows. For most people, the recommended settings are fine.

26. Set the time.

27. Select your location. Don't worry about network settings - instructions will follow.

28. That should do it! Let Windows finish its thing.

29. And voila! Windows 7 is now installed.

30. Click the Start button and choose Shut Down. Then, in the VirtualBox app, click on Network to open the Virtual Machine Settings dialog.

31. On the Network tab, choose Bridged Adapter in the Attached to drop down. In the Name drop down, choose the adapter that you use to connect to the Internet in OS X. I connect wirelessly using a built-in AirPort card, so I chose that. If you typically connect via an ethernet cable, choose that option.

 

32. Choose OK, then start the Virtual Machine again by clicking Start. You are now ready to run Windows. I highly recommend installing anti-virus software as your first task in Windows. I use AVG free. You can download AVG Free at http://free.grisoft.com. It can be confusing because the AVG folks want you to buy a premium edition but, if you hunt around a little, you'll find the download to the free version. When you run the AVG setup routine, they make one more effort to get you to try the premium edition. I chose to simply install the free version.

The rest is up to you! See your instructor for instructions about what you'll need for class.