KVM Virtual Machines made easy

Linux-KVM

Basis-Konfiguration von KVM-VMs (ohne Netzwerk):

Festplatte erstellen:
qemu-img create -f qcow2 vmhdd.qcow2 8G

System installieren:
qemu-system-x86_64 –enable-kvm -cdrom Downloads/SLES-11-SP2-DVD-x86_64-GM-DVD1.iso -vga vmware -m 3000 -smp 2 -boot d vmhdd.qcow2

System mit Netzwerk installieren:
qemu-system-x86_64 –enable-kvm -cdrom ~/Downloads/de_windows_7_professional_x64_dvd_X15-65813.iso -vga vmware -m 3000 -smp 2 -net nic,macaddr=`printf ‘DE:AD:BE:EF:%02X:%02X\n’ $((RANDOM%256)) $((RANDOM%256))` -net bridge,br=br1 -boot c /data/VMs/testvm.qcow2

VM starten:
qemu-system-x86_64 -enable-kvm -vga vmware -m 3000 -smp 2 LMDE.qcow2

Leave a Reply

Your email address will not be published.