Archive for 10 October 2008

VirtualBox

Posted by: john

I really needed to have access to a Windows application that would not work using WINE. Using Sun''s VirtualBox I was able to install Windows and on it install the application. VirtualBox is a free program you can download, and with it you can install other operating systems in Ubuntu. I am not referring to a dual boot system, which is actually what I did for about a year while I was weening myself off of Windows. VirtualBox gives you the versatility to have both, or more, operating systems open simultaneously.

In Ubuntu you can install VirtualBox via the terminal using "sudo apt-get install virtualbox" or you can install it using the Synaptic Package Manager by doing a search for "virtualbox-ose".

Before you can install an operating system, such as Windows, you must establish a ''virtual machine''. To begin this process select ''new''. Selecting ''new'' will launch a ''New Virtual Machine Wizard''.
VirtualBox1


VirtualBox2

At this stage you assign the virtual machine a name. In this example I named it ''Vista''. Also choose the operating system type from the drop menu, then select ''next''.
VirtualBox3

At this stage you will use the slider to divide the RAM up between the host OS and the guest OS. As you can see I divided it in half.
VirtualBox4

Chances are you''ll need to create a ''virtual hard drive''. Do this by selecting ''New''.
VirtualBox5

VirtualBox6

At this stage you can either assign a fixed hard drive size, or you can choose to have it''s size expand as needed. Obviously, any hard drive space you give to the guest OS reduces available space on your host OS.
VirtualBox7

At this stage you must give your virtual hard drive a name. In this example I named it Vista. I also chose to start with a 20 GB virtual hard drive.
VirtualBox8

VirtualBox9

At this stage you should be able to select your virtual hard drive from the drop down list, then select next.
VirtualBox10

VirtualBox11

At this point you can place your Windows installation CD in the CD drive, highlight Vista, or whatever name you gave it, and select ''start''. If you have installed Windows before, you''ll find yourself in familiar territory from this point on.
VirtualBox12

As shown below, Windows Vista is running within Ubuntu.
VirtualBox13

Now you may want to also add the VirtualBox guest modules. This will allow you to have full screen resolution on your guest operating system, otherwise the default maximum is somewhat lower. With the VirtualBox guest Modules you can run Windows full resolution on one screen and Ubuntu on the other.