The normal thing to install is Virtualbox, so I've installed it (VirtualBox-5.0 from Oracle's RPM repository). But, I cannot run VMs. Here's the log:
--------------------------------
[user@opensource salt-talk]$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.18.17-5.pvops.qubes.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
[user@opensource salt-talk]$ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[user@opensource salt-talk]$ cat /var/log/vbox-install.log
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
--------------------------------
I'm pretty sure I could continue down this path and find the sources and so on, but there has to be an easier way. But, whenever I google, I find discussions of why you don't want to run Qubes within Virtualbox (duh!). Nothing about the other direction.
I'm also okay with installing lxc or using Xen as the virtualization layer (if I could even control the VMs with Virtualbox instead of Qubes ...?), but I'd prefer Virtualbox because it reduces the differences with my teammates.
Hi,
You should choose "Enable EFI (special OSes only) check-box in the VM settings.
Here is video tutorial for Qubes OS 3.2 installation on VirtualBox
https://youtu.be/x08jjZbFWPo
Hope it helps.
https://gist.github.com/xahare/0f2078fc8c52e7ddece1e5ba70c6d5fc
But this is slow. You could also make a vagrant server and use that, or even share it with your co workers. heres a convenience script for that,
https://gist.github.com/xahare/1db2970b7b684c0d54c0c15cc32afb98
If your going the virtualbox route, and you want gui desktop access, you can enable vrde in your vagrantfile.