On 14/06/12 04:26 PM, Michael Tokarev wrote:
On 15.06.2012 00:10, Gary Dale wrote:
I finally bit the bullet to try a fresh install from the command line. After 
much gnashing of teeth, the command line I came up with is:

virt-install -n ghostwheel --cpu kvm64 -c 
"/home/garydale/Downloads/WindowsXPPro64.iso" --os-variant=winxp64 --disk 
path=/var/lib/libvirt/images/ghostwheel.img,size=20,format=raw --controller=sata 
--ram=1024 --graphics vnc -v
virt-install is difficult thing, you can't really control qemu-kvm using it.
Also, --controller=sata is unlikely to work with qemu-kvm 1.0.

Please try something much simpler.  Like this:

  qemu-img create ghostwheel.img 20G<= this will zero-out the file if it exists.
  kvm -cdrom WindowsXPPro64.iso -drive file=ghostwheel.img,cache=unsafe -m 1G 
-cpu qemu64

(it will open an X window with guest console.  Ofcourse it needs permissions to
access /dev/kvm, but this is trivial to achieve, just add yourself to kvm 
group).

[]
BTW: I also tried to create a fresh virtual machine using virt-manager and failed. I get 
"Uncaught error validating install parameters: 'NoneType' object has no attribute 
'set_parent'" when I try to create any Windows XP virtual machine.
This is a bug in virt-manager/libvirt.

Thanks,

/mjt

Thanks. I'm actually trying another virt-installer install using qemu64 instead of kvm64 and it has progressed to the "Installing windows" stage, but seems to be taking a long time with no progress. I know it hasn't hung because the message on the right side of the panel changes from time to time and the lights along the bottom-right also keep cycling through their loop.

I'll give it a while longer before giving up.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to