In part 1 of this article we talked about the advantages of setting up a virtual Windows machine in Linux and where to find the free VirtualBox software. Now, let’s look at how to set up the virtual machine.

Click the blue button to start.

A wizard shows up ready to help you.

Click “next”. Set the name, brand and version of your virtual operating system. For this example I used Windows 7.

Click “next”. Select the amount of RAM memory that you wish to allocate to the virtual system by dragging the cursor or by typing it into the box.

 

After you click “next” you are asked to create a new virtual hard-drive or use an existing one. Since is the first virtual machine you setup, choose to create a new one.

The next window already has an option selected. Leave it as it is and click “next”.

You do the same on the next step, where the default option is already selected.

Then you will be asked to give a name to the virtual image and allocate a space for the virtual OS to run properly. By default is 25GB and you should be fine leaving it like this, it’s more than enough.

In the next window, press “create”. Now the wizard closes and the main Virtual Box window looks like this.

Click the “Start” button (that green arrow). Quickly hit the F12 key in order to bring the boot menu on the screen.

Usually, this is done using  your Windows program CD-ROM, so make sure you have the Windows 7 labeled disc is inserted and hit the “c” key. The virtual machine will boot from it and you may start installing Windows as you would do on a real machine. Think of your virtual hard-drive is a brand new, empty computer. There is no need to format the disk, though.

Once you have the virtual OS up and running, install all the device drivers and programs needed.

Every time you start the “host”, which is your Linux system, open VirtualBox and run Windows. You don’t have to reboot.

 Note: VirtualBox can also be used to test or run virtual Linux operating systems with Windows as a host. This is also useful if you plan to migrate from Windows to Linux and want to learn more.

 ~Adrian