Has anyone had luck running QubesOS inside QubesOS? Is there a guide on how to do this?
I’m writing another guide on how to run BusKill in QubesOS, and I need to take a screenshot of the “Q” Application Menubar – but apparently you cannot take a screenshot in dom0 while the menubar is open??
Please let me know the best way to run QubesOS inside of QubesOS (as an AppVM).
@fepitre, may I ask why, technically speaking ?
I’m using Qubes 4.1 nested on a Debian Xen dom0 and it “works”.
Of course it’s hackish+unsecure (esp. to get the network), and not everything works (PV qubes only).
But, only considering nesting, what is Qubes restricting that my dom0 isn’t ?
As @fepitre said, nested virtualization is disabled in Qubes for security reasons (it isn’t security supported in Xen, at least not yet). But if you use just PV, besides having to configure quite a few things manually (like, sys-net and sys-usb), it should work, at least in theory. That said, it’s probably not worth the effort if you are just after making screenshots.
As for screenshots with menu open, the xfce screenshot tool has an option to take screenshot with a delay (run it without arguments - xfce4-screenshooter, I have it bound to ctrl+prnscr, but that’s my custom setting), and then you should be able to capture open menu.
@zithro how did you get this to work? Is there a guide anywhere?
I downloaded the latest QubesOS .iso, created a new AppVM named my_qubes_vm, set it to boot to the .iso and set the virtualization mode to PV. On booting it, I got the following error
Qubes my_qubes_vm has failed to start: Internal error: libxenlight failed to create new domain ‘my_qubes_vm’
I also tried changing the virtualization mode from PV to HVM. This made it further; it booted to the grub boot menu, but when I selected Install Qubes OS R4.1.2, it starts to boot and then abruptly shuts-down after ~20 seconds.
(xfce4-screenshooter is definitely a good workaround, but for my documentation, I’d like a screenshot of the application menu with a fresh install; I have so many darn AppVMs that it’s cluttered and distracting)