Are there any instruction on how to run Virtual machines on Clear? Need to run Windows in a VM for work I do.
Just switched to Clear from a couple other distributions and enjoying it. I usually use VirtualBox or VMware workstation. VMware is asking for the system service script directory and I’m not sure where this directory is on CL.
I need to run VMs on Clear Linux. For example, I have a Windows 10 host in a VirtualBox VM I need to port to my new Clear Linux install on a laptop to test dev work on.
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