Bookmark and Share

Ubuntu + Virtualization + Windows on HP TX1499US Laptop

Posted: Sunday, January 25th, 2009 at 11:03 pmUpdated: Friday, April 3rd, 2009 at 5:19 pm

Installing Windows XP Professional

On VirtualBox OSE window, click on New. It will open VirtualBox Virtual Machine Wizard. Just follow the wizard. Make sure you select OS Type as Windows XP. For my purpose, I’ve allocated 512MB of memory to Windows XP.

Since this will be our first time ever running VirtualBox, chances are we don’t have any hard disk yet. Outside virtual machine, hard disk is simply a big file. Inside virtual machine, that file is seen as a hard disk. Click on New button to create new hard disk. In most cases, I normally create a dynamically expanding image. At this time, I made 40GB disk for Windows XP. The end result from your Ubuntu, the disk image you just created is just a file.

Continue on with the wizard. Once it’s done, you should see your newly configured virtual machine on the list. At this time, you need to make sure that the CD-ROM is mounted when the virtual machine starts. To do this, make sure your virtual machine is selected. Then click on CD/DVD-ROM. Make sure Mount CD/DVD Drive is checked. Then select Host CD/DVD Drive.

Now since HP TX1499US comes with a nice AMD Turion 64 that supports CPU assisted virtualization, let’s tweak some settings so we can take advantage of it. Click on General and select advanced tab. Set IO APIC, VT-x/AMD-V. If you decide to allocate more than 4GB of memory to your virtual machine, make sure Enable PAE/NX is checked. Since I only assigned 512MB, I don’t really need it, so I leave it as is. Once you’re done, your Windows XP VirtualBox settings should look like below.

Now we’re ready to boot our virtual machine and start installing Windows XP. Make sure your Windows XP Professional settings is selected and click on Start button. Soon after you should see Windows Setup running. From this point on, start installing Windows XP as normal. Below are some screen shots of my progress installing Windows XP until I finally get it completely installed.

Installing VirtualBox Guest Additions

Once Windows XP installation is done, you need to install VirtualBox Guest Addition. This will improve the performance of the virtual machine and will make it easy for us to use it as well. To do so, click on Devices on your VirtualBox OSE, then select Install Guest Additions. If you can’t move your mouse outside Windows, hold the right Ctrl key on your keyboard for about 1 second. At the time of this writing, I think there’s a problem doing it from Devices menu. I believe since it’s trying to save it to but my login doesn’t have write permission. So I had to download the guest addition manually. It may be easier to do from command line. So open op your console (Applications -> Accessories -> Terminal) and enter the following commands.

user@laptop:~$ wget \
user@laptop:~$ sudo mv VBoxGuest* /usr/share/virtualbox/VBoxGuestAdditions.iso
[sudo] password for user:

Once you do the commands above, then try installing again by clicking on Device -> Install Guest Additions. Now that we’ve downloaded and saved the file in the right location, VirtualBox Guest Addition software is automatically being loaded. If everything is good, you should see the screen like below. Simply follow the instructions on the screen to install the guest additions.

That’s about it, I guess. I hope this article helps you. As always, I welcome comments / questions / critics that will help me and other readers understand better.

Pages: 1 2

Leave a Reply

Time limit is exhausted. Please reload the CAPTCHA.