Install KVM based Windows 2008 remotely over SSH on a headless, no graphics Ubuntu 10.04 server?

Posted by taazaa on Server Fault See other posts from Server Fault or by taazaa
Published on 2011-01-15T18:18:42Z Indexed on 2011/01/15 18:55 UTC
Read the original article Hit count: 150

Hi, I have a Dell server at a remote data center with Ubuntu 10.04 as the host. It is a minimal install with the necessary virtulization packages. There is no X and the machine is headless.

I have the win2008 DVD in the machine and want to remotely install it. I tried: virt-install --connect qemu:///system -n vmwin2k8 -r 1024 --disk path=server2k8.qcow2,size=50 --cdrom /dev/sr0 --vnc --noautoconsole --os-type windows --os-variant win2k8

  • The qcow2 image get created However I don't understand how to connect to see the install via VNC.

This is my first time doing it so it may be trivial or may not be possible.

Remotely I have a Win 7 machine with Putty and RealVNC viewer.

Where is the graphic output of VNC going? Do I have to have VNC server running on the host or some other machine and then connect to it from my VNC client?

Please let me know or point me to the right direction. I have been searching the web for several days to figure out how this is suppose to work.

Thanks!

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about ubuntu