Comments on Virtualization With KVM On A Debian Squeeze Server

Virtualization With KVM On A Debian Squeeze Server This guide explains how you can install and use KVM for creating and running virtual machines on a Debian Squeeze server. I will show how to create image-based virtual machines and also virtual machines that use a logical volume (LVM). KVM is short for Kernel-based Virtual Machine and makes use of hardware virtualization, i.e., you need a CPU that supports hardware virtualization, e.g. Intel VT or AMD-V.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: mverwijs

I kept on running across this error:

 Error creating cdrom disk: Checking installer location failed: Could not find media '/var/lib/libvirt/images/<something>.iso'

 Eventhough the file was there, with correct permissions.

Restarting libvirtd helped: 

 /etc/init.d/libvirt-bin restart

By: agi

 Running "virsh pool-refresh POOL_NAME" should save you the service restart :-)

 Where POOL_NAME would probably be: default

By:

Awesome article. This helped me get started with KVM on Debian. Never used either, and am relatively new to Linux, but have a lot of experience with Windows servers and hence the transition wasn’t too hard.