Categories
Unix Windows

Using virt-install with KVM to install Windows XP

As a follow-up to my post on installing centos 6x using KVM, I have since had the need to install a winXP ISO on my KVM host. I had to play with the commands a bit before hitting upon the right mix, so here it is:

virt-install --name=vm_xp --ram=512 --vcpus=1,cores=1 \
--disk path=/opt/vm_xp.img,size=4 --network bridge=br0 \
-c /opt/en_winxp_pro_sp3.iso --os-variant winxp --os-type windows --hvm \
--graphics vnc,password=1234,port=5905,listen=192.168.2.10

Leave a Reply

Your email address will not be published. Required fields are marked *