Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to install Windows XP in order to test Internet Explorer for my web development needs.

I have a D525 Intel Atom based Ubuntu server 12.04. I was thinking to install VMware on it, and Windows XP, but the D525 doesn't support hardware virtualization.

Is this a problem? Is what I'm going to do hard?

I couldn't find any up to date tutorial on this matter.

share|improve this question
    
I have no experience on this, but installing VMware and then trying Windows XP wouldn't take that long, would it? –  slhck Oct 13 '12 at 19:26
    
@slhck Hi, I also wrote my steps to describe how I managed to make it work. It was not hard, but if somebody had written little instructions like I did now, I would not spend 2 hours messing with this. –  Sandro Dzneladze Oct 13 '12 at 23:41

1 Answer 1

I tried to do it all by myself without any tutorial, just used common sense and some forum thread to put info together. It turned out to be very easy!

So I will document here my steps, so you can do it yourself too.

What I found out is that vmware server was discontinued, instead it was changed to vwmare player. And vmware website was uber confusing, some places asking for money some places saying product for free. They also bugged me to register, and finally I decided to abandon them.

I thought about KVM briefly, but on ubuntu server documentation I read that KVM is useless if processor doesn't support virtualization, that it is slow in those cases.

My final choice was virtualbox 4.2.

First you need to add sources:

sudo vi /etc/apt/sources.list

Add somewhere in the sources:

deb http://download.virtualbox.org/virtualbox/debian precise contrib

sudo apt-key add oracle_vbox.asc

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

sudo apt-get update
sudo apt-get install virtualbox-4.2

sudo apt-get install dkms

Add your root username to group vboxusers

sudo adduser administrator vboxusers

At this point you need to install extension pack, to be able to install windows XP remotely on headless server.

mkdir ~/tmp && cd ~/tmp

wget http://download.virtualbox.org/virtualbox/4.2.0/Oracle_VM_VirtualBox_Extension_Pack-4.2.0-80737.vbox-extpack

sudo VBoxManage extpack install *.vbox-extpack

The rest of instructions is about setting up virtual XP machine via terminal.

VBoxManage createvm --name "Windows XP" --ostype WindowsXP --register
VBoxManage modifyvm "Windows XP" --memory 512 --acpi on --boot1 dvd --nic1 nat
VBoxManage createhd --filename "WinXP.vdi" --size 10000
VBoxManage storagectl "Windows XP" --name "IDE Controller" --add ide --controller PIIX4
VBoxManage storageattach "Windows XP" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium "WinXP.vdi"
VBoxManage storageattach "Windows XP" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /Downloads/Windows.XP.Professional.OEM.Original.Not.Cracked.iso
VBoxHeadless --startvm "Windows XP"

At this point you download your favorite program for handling remote viewing protocol. I'm on mac, so I got used to cord.

Run cord, and point it to: serverIP, use username and password of your account on ubuntu server. And click connect. You will be greeted with blue screen of XP installation.

That's it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.