Virtualization With KVM On Ubuntu 12.04 LTS

—–Creating VMs using KVM on Ubuntu—-

root@openstack:~# kvm-img create -f qcow2 ubuntu-12.04_64.img 5G

 

Formatting ‘ubuntu-12.04_64.img’, fmt=qcow2 size=5368709120 encryption=off cluster_size=65536

 

root@openstack:~# ls
ubuntu-12.04_64.img

root@openstack:~# sudo kvm -m 256 -cdrom ubuntu-12.04-server-amd64.iso -drive file=server.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc :0

Leave a Comment