Vista on Ubuntu Using VirtualBox
UPDATE: Check out the new guide to installing VirtualBox 1.4.0 from a repository.
This is a guide to installing Microsoft Windows Vista on a Ubuntu Edgy machine using VirtualBox. Note that Feisty is not yet fully supported by VirtualBox, but the edgy package is reported to work in feisty.
Certain versions of Vista may be illegal to run in a virtual machine, according to the EULA, namely the Home flavors of Vista.
Get Ready
I like to keep stuff clean, so I am going to download everything to a folder. Adjust according if you decide to not make this folder.
At the terminal:
mkdir ~/install_files
Install VirtualBox
Get VirtualBox and the necessary libraries.
cd ~/install_files sudo apt-get install libxalan110 libxerces27 wget http://www.virtualbox.org/download/1.3.8/VirtualBox_1.3.8_Ubuntu_edgy_i386.deb sudo dpkg -i VirtualBox_1.3.8_Ubuntu_edgy_i386.deb
If you have any dependancy issues:
sudo apt-get -f install
Add yourself to the vboxusers group. System > Adminstration > Users and Groups > Manage Groups > vboxusers > Properties, click the box next to your user’s name.
Make sure to restart. If you get an error “VirtualBox kernel driver not accessible, permission problem …”, make sure you are in the vboxusers group and restart your computer. (Logging in and out, did not work for me).
Set Up VirtualBox
From the terminal:
VirtualBox
Go through the steps to make a new virtual machine (Click “New”). Remember that Vista has a minimum requirement of 512 MB RAM and 15 GB HD (if you have a powerful system, consider using 1 GB RAM and 20 GB HD, with a dynamic disk). ubuntugeek.com has a screen by screen guide for making a new virtual machine
On the settings tab, mount your Vista DVD (or ISO if you have it and want a speedy install).
Now just start the virtual machine, and wait about an hour as Vista installs. You won’t get any Aero fanciness with a virtual machine (but you should already be running Beryl …right?)
Install the VirtualBox Additions
From the Devices menu, click “Install Guest Additions”
Get the Missing Network Driver
Microsoft decided to not include the network driver that VirtualBox uses in Vista, so you will have to install it yourself. (Doesn’t Microsoft claim that Windows has better driver support than Linux ….. ?)
cd ~/install_files wget http://www.amd.com/us-en/assets/content_type/utilities/V4.51.zip unzip V4.51.zip -d driver mkisofs -o driver.iso -R -J driver
In the VirtualBox window, mount driver.iso . Then go to:
Control Panel > Hardware and Sound > Device Manager. Right click on Ethernet Controller > Update Driver Software > Browser my computer…
Navigate to the CDROM drive, and click ok.
Wait a minute… and congratulations, you have installed Vista
Troubleshooting
I did upgrade to Feisty, but had an issue when upgrading. There seemed to be an issue of upgrading the kernel. I was told to run /etc/init.d/vboxdrv setup, however, this kept on erroring out, which showed a compilation error in /var/lib/vbox-install.log .
To rectify the situation, find out what version of the kernel you are running:
uname -r
This should give you what version of the Ubuntu linux kernel you are running. In my case it was “2.6.20-13-386″. Now you want to install the kernel headers for your specific version of the kernel. In my case:
sudo apt-get install linux-headers-2.6.20-13-386
Modify the numbers of the end of the apt-get command to match what uname -r tells you!
Now, just reinstall the VirtualBox package (I had to do it twice, until I got no errors) that you downloaded earlier,
cd ~/install_files sudo dpkg -i VirtualBox_1.3.8_Ubuntu_edgy_i386.deb
Now everything should work nicely!
If you have any further issues, post them in the comments and I will try to help.
References
[1] - VirtualBox How-to
[2] - Virtual Machine Comparison
[3] - AMD Drivers List
[4] - VirtualBox User’s Manual (PDF)

March 26th, 2007 at 2:26 pm
Cómo ejecutar Vista bajo Ubuntu: VirtualBox al rescate…
Existen varias alternativas para poder instalar Windows Vista bajo Ubuntu Linux, pero está claro que esta última parece una de las más rápidas y sencillas. VirtualBox no lleva mucho en el mercado, pero parece que la virtualización propuesta con es…
April 4th, 2007 at 3:19 pm
once i added universe as a sw source and ran the directions from the top all went well
April 26th, 2007 at 5:10 pm
thanks a lot, great how to
it was the only I could find that made it easy to install the metwork driver
again thanks!
May 27th, 2007 at 11:44 pm
I upgraded the kernel and restarted, but I was not able to log on to Virutalbox it gave message “VirtualBox kernel driver not accessible” and install /etc/init.d/vboxdrv setup”
I got panicked cos the Virtual machine had important files that I had edited for a long time.
I had already installed the linux kernel headers too, so I downloaded the dpkg package from Virtualbox site and reinstalled with dpkg and the kernel was compiled and it worked again and I was able to logon to the original Virtual box installation with all the files in it.
Thanks a lot for the help.
June 6th, 2007 at 4:01 pm
[...] yesterday, so I thought I would write a very quick guide to installing it in Ubuntu Feisty. My previous post detailed downloading the file directly and several troubleshooting steps. If you run into a [...]
June 30th, 2007 at 6:31 am
[...] source [...]
July 17th, 2007 at 4:15 pm
Thanks, It worked like a charm, the Ethernet controller part for Vista, sweet.
Cheers
Rob.
November 2nd, 2007 at 5:21 pm
Thank you! You are the only site I could find in two days of researching to help me get the network fix for Vista.
November 4th, 2007 at 1:53 pm
[...] Installing VirtualBox OSE on Ubuntu 7.10 Gutsy Gibbon Installing Virtualbox and Windows in Ubuntu Vista on Ubuntu Using VirtualBox Create and Manage Virtual Machines Using [...]
November 10th, 2007 at 6:52 pm
I’ve install virtulaBox on (Host)WinXP Pro and (Guest) PCLinux2007. How to access folder in host from guest OS?
COuld you can give the link to download Guest Addition? please … i need it.
Thanks for your kindness..
December 25th, 2007 at 6:24 pm
setup network with windows vista…
Yes indeed….
February 21st, 2008 at 7:58 am
Thanks a ton. Your ithernet driver thing worked like magic. I also love the mkisofs program that you use. I am glad I have that now and I think I will be using it a lot.
May 14th, 2008 at 8:48 am
man, thanks for the complete time saver! I stumbled across this post after having this issue on Vista. Didn’t even think that it didn’t support the driver. thanks again.
May 14th, 2008 at 9:55 am
[...] problem, please see John Paulett’s post on using Vista with Virtual Box. It address the problem with network card drivers with Vista on Virtual Box. That helped me [...]