How to virtualize Ubuntu on Vista

James Bannan16 December 2008, 10:00 PM

Want to virtualize Ubuntu on top of Windows Vista for free? Check out our step-by-step tutorial!

Page 1 - Intro

Step 1 - Prepare Your System

In this tutorial we're going to virtualize Ubuntu 8.04.1 on Windows Vista Enterprise SP1 x64 using Sun xVM VirtualBox 2.0.2. To prepare for this tutorial you should download the necessary resources:

This tutorial was tested on an Acer TravelMate 7720G running Windows Vista Enteprise SP1 x64. However this tutorial will work on any version of Vista, and either 32-bit or 64-bit (subject to hardware requirements - read below).

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 of Vista to get the most out of it.

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 Performance monitor in Windows Vista to see under what sort of loads your system is running. To access the Performance monitor, right-click the Start Bar, select Task Manager and go the Performance tab. You want to keep your eye on the "CPU Usage" and "Memory" graphs.

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

Post your comment



Comments

RSS feed Email alert

Schermy (New user):

I found that you needed to run the command sudo bash VBoxLinuxAdditions.run after navigating to the correct folder cd /media/cdrom

27 December 2008, 4:57 PM (3 years ago)report abuse Send to a friend reply

JBannan (New user):

interesting - when you used the command mentioned in the tutorial, was there an error?

27 December 2008, 6:28 PM (3 years ago)report abuse Send to a friend reply

António Canha (New user):

I have a Turion 64 x2 and my machine get's slower and gives a bluescreen about usb device. After deinstalation of Sun xVM VirtualBox 2.0.2 all run's well.

07 January 2009, 7:38 AM (3 years ago)report abuse Send to a friend reply

JBannan (New user):

There is an updated version of VirtualBox available now - have you tried that?

08 January 2009, 2:29 PM (3 years ago)report abuse Send to a friend reply

Mitchell (New user):

HHHHHHHHHHEEEEEEEEEELLLLLLLLLLLLPPPPPPPPPP !!!!!!!!!!!!! After you continue from pages 4 to 5, my sun xvm thing only showed black. So I closed it and repopened it. It asked for the user name- I entered my info. When it asked me for the pass- every time I typed, it didn't show any letters!!!!! Is that supposed to happen???????????????? Please help!!!!!!!!!!!!!!!!!!!!!! It won't let me in!!!!!!!!!!!!!!!!!!!!!!! HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHEEEEEEEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

09 March 2009, 2:24 AM (2 years ago)report abuse Send to a friend reply

TJGeezer (New user):

The article's impossible to read in Firefox 3.6 or MS Internet Explorer - none of the long lines wrap to the margins. Maybe there's something haywire with my Windows 7 browsers, but I don't see this problem elsewhere.

28 June 2010, 10:39 AM (1 year ago)report abuse Send to a friend reply

anonymous user Anonymous user


February APC out  now!

Tags