I am trying to start a Windows 11 VM in GNOME Boxes, but I get the below error.
-
2You'll have to reboot into your BIOS, and find the "Virtual Memory/Machine" or "KVM" setting and enable it. – waltinator Dec 16 '23 at 04:03
2 Answers
If you have a CPU that supports virtualization (For the i7-12700 for example, you can check that here https://www.intel.com/content/www/us/en/products/sku/134591/intel-core-i712700-processor-25m-cache-up-to-4-90-ghz/specifications.html, scroll all the way down to "Security & Reliability". Depending you your CPU model), you also need to ensure that virtualization is enabled in the BIOS
After that
egrep -c '(vmx|svm)' /proc/cpuinfo
should print a number greater than 0. Despite what https://help.ubuntu.com/community/KVM/Installation is implying, this was only happening once it was changed in the BIOS. Before that, it was printing 0, even for a CPU that supports virtualization.
- 338
Is a bug: https://gitlab.gnome.org/GNOME/gnome-boxes/-/issues/1071
Try purge, delete all setting files and folders, like as ~/.var/app/org.gnome.Boxes (if you use flatpak) and reinstall.
- 233
-
I have the same problem. I first installed gnome-boxes and it worked with my ISO, but then decided to check SVM setting in the bios, found it to be AUTO and changed it to ON; then I had the problem with gnome-boxes. Changing the bios setting back to AUTO did not help. Purging gnome-boxes and reinstalling did not help either. – DanW58 Oct 17 '24 at 17:21