View Single Post
  #1  
Old 3rd March 2010, 18:36
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default kvm install guest without gui?

I'm running Debian Squeeze and kvm/qemu which installed successfully. Is there any equivalent to the way xen did it, where it bootstraps in and you just console in and set the rest up, or do you have to build vnc somehow to finish the guest install? I don't want a gui on either host or guest.

I have tried to start a new vm using:
Code:
virt-install --connect qemu:///system -n vm11 -r 1024 --vcpus=8 -f /home/vm/vm11.qcow3 -s 100 -c /some/path/debian/debian-testing-amd64-CD-1.iso -vnc :1 --noautoconsole --os-type linux --os-variant debianSqueeze --accelerate --network=bridge:br0 --hvm
which was successful, then try to connect to it with
Code:
vncviewer :1 
or
vncviewer my.lo.cal.ip:1
but I get
Code:
Error: can't open display
I have also tried connecting to it with a Debian server running a gui on the same subnet using vnc, but it won't connect. Then I tried to use virt-install with the -serial switch, but that just errored out and wouldn't build the machine

Last edited by unclecameron; 3rd March 2010 at 19:25.
Reply With Quote
Sponsored Links