tags: #linux #vm #virtual ## Virtualisation To [see if hardware vms are enabled](https://www.cyberciti.biz/faq/linux-xen-vmware-kvm-intel-vt-amd-v-support/): ```bash cat /proc/cpuinfo ``` and look for `lm` (for 64-bit cpu), `vmx` for intel or `svm` for amd. To install kvm on ubuntu: ```bash sudo apt-get install qemu-system ``` For the virtual machine manager ```bash sudo apt-get install virt-manager ``` To make a qcow2 hard drive image: ```bash qemu-img create -f qcow2 disk.img 4G ``` Examples to boot an image using qemu: ```bash # From a floppy img qemu-system-i386 -fda floppy.img -boot a # Install to hard drive from cd image qemu-system-i386 -cdrom cd.iso -hda myhdd.img -boot d -m 256 -localtime ``` ### Running Linux Virtualised Under Windows, most of the time, WSL does what I need, and so I use that due to its far better integration with the host. For other VM duties, under Windows, I use VirtualBox and under Linux I use KVM. ## virt-manager ### Import image