I can confirm QEMU as well as that is my go-to. I have Win 7, Kali, and ClearLinux as well running just fine. Took a little work, I will post something in Q&A when I have time.
Hi and thanks for your instructions. I’m new to CL, have been ditching win recently and looking around for a good linux desktop env. I love CL look and philosophy. I was able to install win10 on virt-manager following your instructions but failed in setting the network for it, the guest does not see any network. Can anyone help please?
Thanks for your reply… Gnome-boxes was my first choice but it kept on telling me that virtualization was not enabled while I’m super sure it was… and it fails during creation. If there is a way to fix that I’d be more thank happy to use it and/or to support to fix it. My laptop is a Lenovo x1 carbon yoga.
I tried but it does not create any network, it ends with no msg but nothing gets added to the list. I also do not have any default network enabled on that screen.
I tried the following (after some investigation): “sudo virsh net-list --all” and I get an empty list back.
How did you get kvm modules to load? I’m on the latest native kernel (5.2.8.821) for x86_64 with kernel-native-dkms and kvm-host bundles installed but still no dice?
Just as a sanity check virtualization extensions are enabled in the bios & kernel modules look to be included (all be it x86?)
Thanks @puneetse, after your feedback I did a quick google to dive a bit deeper and it looks like my problem stems from flatpak, (specifically not being able to start the android emulator from within intellij application)
I checked running the emulator from the command line and everything works fine so now to work out how flatpak encapsulates groups so that my users kvm groups cascade through.
Thanks for your help!
Hot tip for anyone that hits this issue. For me it was because Intelllij IDEA with android plugin (not Android Studio) didn’t get passed in the appropriate flatpak permissions so I rectified this by editing the application’s .desktop file to contain the --device kvm within the Exec field:
bjc@bjc-xps~ $ cat .local/share/flatpak/exports/share/applications/com.jetbrains.IntelliJ-IDEA-Community.desktop
[Desktop Entry]
Categories=Development;IDE;
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --device=kvm --command=idea com.jetbrains.IntelliJ-IDEA-Community
GenericName=Capable and Ergonomic Java IDE
Icon=com.jetbrains.IntelliJ-IDEA-Community
Keywords=development;idea;intellij;java;
Name=IntelliJ IDEA Community
StartupNotify=true
StartupWMClass=jetbrains-idea-ce
Terminal=false
Type=Application
X-Flatpak=com.jetbrains.IntelliJ-IDEA-Community```
download the “all distributions” version of virtualbox
https://download.virtualbox.org/virtualbox/6.1.4/VirtualBox-6.1.4-136177-Linux_amd64.run
install dkms
sudo swupd bundle-add kernel-native-dkms
or for lts
sudo swupd search kernel-lts2018-dkms
run /sbin/vboxconfig
Just for the sake of completion. If someone like to use the Gnome Boxes Flatpak, you also need to install kvm-host and add your user to the kvm group like so:
Trying to install win 10 from installation dvd but VM doesn’t recognize operating system on dvd. But when I use a CL iso it does recognize linux. Does VM only work using iso or do I have to do more with KVM??
Thanks @inmanturbo. Indeed, I saw these bug requests.
I was surprised it didn’t work, because I’ve tested Clear Linux in a virtual machine and this was working.
Also, Docker was working fine. Something which disappeared as well in the later releases.
Hopefully it will come back.