virt-manager | GUI zum Verwalten von KVM-basierten VMs |
---|---|
virsh | CLI-Manager für KVM-VMs |
gnome-boxes | Noch eine GUI für KVM-VMs, aber einfacher zu bedienen |
virt-install –prompt
führt einen durch die Erstellung einer VM.
virt-install \ --name=guest-name \ --os-type=windows \ --network network=default \ --disk path=path-to-disk,size=disk-size \ --cdrom=path-to-install-disk \ --graphics spice --ram=1024
All image files are stored in /var/lib/libvirt/images/ by default. Other directory locations for file-based images are possible, but may require SELinux configuration.
[Quelle: Red Hat – using virt-install to create a Windows guest]
# The primary network interface auto eno1 iface eno1 inet manual auto br0 iface br0 inet dhcp bridge_ports eno1
anschließend: systemctl restart networking
Performance mit virtio-Treibern ist weitaus höher, siehe auch:
Install and start ebtables
and dnsmasq
. Restart libvirtd
afterwards.
If this error occurs after you set the boot drive to virtio, you should do the following:
bcdedit /set "{current}" safeboot minimal
bcdedit /deletevalue "{current}" safeboot
If that doesn't work, add a virtio device, boot, install the virtio drivers, shutdown, remove the virtio disk, change IDE boot disk to virtio.