Installing Windows XP As A KVM Guest On Ubuntu 8.10 Desktop - Page 2

Want to support HowtoForge? Become a subscriber!
Submitted by falko (Contact Author) (Forums) on Thu, 2009-02-12 18:55. ::

6 Using Virt-Manager To Complete The Installation

Now open the virt-manager (Applications > System Tools > Virtual Machine Manager)...

... and connect to localhost. Mark localhost and click on the New button:

The wizard for creating new virtual machines comes up. Click on Forward:

Provide a name for the virtual machine (e.g. vm8):

Select Fully Virtualized as well as x86_64 and kvm:

Select Local install media (ISO image or CDROM) as well as Windows and Microsoft Windows XP on the next screen:

Now mark ISO Image Location and fill in the path to the Windows XP ISO image (/home/winxp.iso):

Now we come to the storage space - select Simple File and fill in the path to the image we've created before (/home/administrator/vm8.img):

Specify the memory for the Windows XP guest:

Here's a summary of your settings - click on Finish to start the installation:

The Windows XP installer comes up again:

Follow the wizard until you come to the partitioning - select the partition you've previously formatted...

... and then make sure you don't format it again! Select Leave the current file system intact (no changes):

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Thu, 2010-02-25 21:07.

I kept getting formatting errors when installing XP.  I ended up using:

anon@Whitney:/home/vm1$ qemu-img create -f qcow2 winxp.qcow2.img 9G 

to create a 9G disk image that was in the qcow2 format.

XP+KVM seemed to like this much better, and the added benefit is that it only uses the space it needs on the Linux filesystem.

(ls done after the install)

anon@Whitney:/home/vm1$ ls -alh
total 269M

-rw-r--r-- 1 anon anon 2.3G 2010-02-25 06:53 winxp.qcow2.img

Then I used the

anon@Whitney:/home/vm1$ qemu -localtime -no-acpi -cdrom /home/anon/Windows_XP_pro.iso  -m 512 -boot d /home/vm1/winxp.qcow2.img

To boot the VM with the image file, and my XP.iso (and use 512 MB of mem).


Submitted by Esa Häkkinen (not registered) on Fri, 2009-03-27 12:59.

It's quite short window of time to close QEMU window after 1st formatting, just when You see that format bar filled 100% and when it disappears, click X on that exact moment!

 For me, it was inside about 1 second before "Setup is checking..." appears and install was doomed.

 I'm using LVM block devices & "<features><acpi/></features>" in domain xml config.

 This behavior is only seen in 32bit WinXP, not in Win2000 nor 64bit, at least not for me.