On Ubuntu 20.04
Steps
# check if cpu virtualizable, if you machine report a number greater than 0, then you can use kvm $ egrep -c '(vmx|svm)' /proc/cpuinfo # check if VT is enabled, you can go to bios to enable it $ sudo apt-get install cpu-checker $ kvm-ok # install things you needed $ sudo apt-get install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager # check if the daemon is running $ sudo systemctl is-active libvirtd # check for user group $ id <userName> # add user to group $ sudo adduser <userName> libvirt $ sudo adduser <userName> kvm # copy and paste, mouse lag setup # install spice-space on client OS https://www.spice-space.org/download.html
Use
$ sudo virt-manager
On Ubuntu 18.04
- Install KVM instead of VMWare, Learn From
Steps
# check if virtualization support, 0 is not support $ egrep -c ‘(svm|vmx)’ /proc/cpuinfo $ sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager $ sudo addgroup libvirtd $ sudo adduser YourUserName libvirtd # log out and log in $ virsh -c qemu:///system list # If you see an empty list, then it works
Install guest OS
- Then follow the steps on the GUI
Reference
https://getlabsdone.com/install-windows-10-on-ubuntu-kvm/
https://getlabsdone.com/how-to-install-windows-11-on-kvm/