How to virtualize Vista on Ubuntu

James Bannan16 December 2008, 10:00 PM

Want to get Vista up and running on your Ubuntu system? Find out how with our step-by-step tutorial.

Page 1 - Intro

Step 1 - Prepare Your System

In this tutorial we're going to virtualize Windows Vista Home Premium SP1 on Ubuntu 8.04.1 x86 using Sun xVM VirtualBox 2.0.2.

Before starting the tutorial, you'll need to download the VirtualBox Debian installer for Ubuntu 8.04 (available here).

You'll need a system already running Ubuntu 8.04.1. You will also need the Vista installation DVD to hand. We chose Vista Home Premium as the virtual guest, but this tutorial works just the same for any other version of Vista.

This tutorial was tested on an Acer Extensa 5620 running Ubuntu 8.04.1.

Before going down the virtualization path, you should make sure that the system which will act as the host has sufficient resources to run both its own operating system as well as all the virtual machines you're planning to run.

Running virtualized desktop operating systems isn't particularly processor intensive, so really any relatively up-to-date CPU should be able to handle it. Obviously processors with more than one processing core is beneficial, as are CPUs which support Intel-VT or AMD-V.

RAM and disk performance and availability are the most essential components. You really want to be able to run both the host and guest OSes within physical memory. As soon as physical RAM is full and spills over to the page file, hard drive performance will decrease dramatically, adversely affecting both systems. Therefore, on a system running Windows Vista as the host you really need at least 2GB RAM to make virtualization worthwhile. Obviously the more RAM the better, but if you've got 4GB available then you will really need to install a 64-bit version operating system to get the most out of it.

For this reason, Ubuntu makes a very good virtualization host, as the amount of memory it needs to run effectively is quite low, leaving more resources available for the VMs.

Hard drive performance is also a major factor, as the virtual guest will be completely dependent on it. You shouldn't attempt to host the virtual hard drive of the guest system on a hard drive slower than 7200rpm, so laptop users should verify their hardware first. You can use an external USB 2.0 or Firewire hard drive, but certain intensive disk operations like creating the virtual disk, formatting it or copying large amounts of files around will chew up the available bus bandwidth and performance will be affected. Finally, if you host the entire virtual guest on the primary partition of the host, fragmentation will occur and affect both systems. So keep the partition defragged and reap the performance benefits.

The last word of warning is that it's important to remember that your system will be running two operating systems, so resource management becomes very important. For example, it's not a good idea to encode video while running a live VM unless you have some serious processing power to hand. It's worthwhile to fire up the System Monitor in GNOME to see under what sort of load your system is running. To access the System Monitor, go to System, Administration, System Monitor, and then the Resources tab. You want to keep your eye on the CPU and Memory graphs.

Continue to page 2: Install VirtualBox
Page 1 Intro
Page 2 Install VirtualBox
Page 3 Create New Vista VM
Page 4 Install Windows Vista
Page 5 Install Guest Additions
Page 6 More VirtualBox Options

Post your comment



Comments

RSS feed Email alert

Fabien (New user):

It does not work here. I have a Dell version of Vista Home Premium SP 1, the CD does not want to load. I have ubuntu 64bit and but Vista boot manager says attempting to load a 64bit application however this application, however this CPU is not compatible with 64 bit mode.

13 February 2009, 8:33 AM (1 year ago)report abuse Send to a friend reply

anonymous user Anonymous user

April APC on sale now!

Tags