New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Qubes work in VirtualBox #5041
Comments
Related issue with useful comments: #2249 |
It would be nice if Xen supported nested virtualization. Qubes-in-Qubes would be very nice for development of Qubes itself. |
I would suggest first to try to get the installation in Virtualbox on Linux or on Windows working. If this is known to work, we may look through our port of Virtualbox to Genode to understand what we do potentially different. I tried to install Qubes 4.0.1 iso on Ubuntu 18.04 with VBox 5.2, but couldn't succeed. I used inst.text because of the Xorg error and later on failed during disk preparation with a "Encryption requested for LUKS device sda2 but no encryption key specified" message. |
Yes, this is exactly what this issue is about. It is known to be broken (at least the Xorg issue) on "vanilla" Virtualbox right now. BTW there are workarounds for text installation issue:
|
Thanks for the information. I succeed to install Qubes on VBox5/Ubuntu and I did not got the disk I/O errors. So, the issue is probably in the Genode port of VBox5. If I have some time left, I will try to look into this. |
- IDE disk model in .vbox file seem to work QubesOS/qubes-issues#5041
I succeed with an installation on a test Genode branch (so not on Sculpt OS) by using an IDE disk model, but in principle it should also work on Sculpt OS. Just ex-change in the specific machine.vbox file of the Qubes VM the AHCI model with the IDE model:
|
Thanks! I'll give it a try. |
Qubes 4.1 pre-release appears to install OK in vbox 6.1 (after trying and failing with Qubes 4.0). But I have two runtime issues so far:
I would link to the qubes-users thread I started, but Google Groups no longer allows you to read groups without signing in. The thread title is "Running Qubes 4.1 under VirtualBox as migration strategy". |
The link: https://www.mail-archive.com/qubes-users@googlegroups.com/msg35135.html Is the login requirement of Google Groups a bug? I didn't see any announcement about this change and also it didn't happened before. But indeed now when trying to use the web interface I get redirected to a login page most of the time (but not always). |
@marmarek are you using Tor? |
No, this try was over clearnet. |
I wonder if they are being mean and requiring anyone to login if they don’t have a browser that lets their tracking work. |
In VirtualBox Testbuild (r148976) Is Added The IOMMU Support I Activated But The Boot Stop It With A Message The HAP Is No Detected. HAP = Hardware Assistant Paging How To Fix It For Continue The Boot, For I Waiting The Stable 6.2? |
The problem you're addressing (if any)
Qubes installer (and probably installed system too) fails to run inside VirtualBox. Known problems:
(EE) VESA(0): V_BIOS address 0x0 out of range
messageTried with Qubes 4.0.1.
Describe the solution you'd like
Fedora 25 runs fine with exactly the same VirtualBox configuration, so I guess it's either missing/misconfigured drivers shipped with Qubes, or Xen interfering with them.
The easiest thing for start would be to try with Qubes 4.1 (updated drivers), but I guess it will not be enough.
Where is the value to a user, and who might that user be?
Generally running Qubes OS in a virtual machine is discouraged, as it does not offer protection from the host system. But there are use cases where it makes sense:
Note that VirtualBox only recently introduced nested virtualization and only for AMD CPUs. And AFAIK none of it include nested IOMMU. This means isolation within such Qubes instance is significantly weaker than bare metal one, as only PV is possible.
Describe alternatives you've considered
Alternative for Genode use case may be trying Seoul VMM, which works well with some Linux distributions. I don't know if it's able to run Xen (even with PV only).
Relevant documentation you've consulted
Setting up a VirtualBox VM in Sculpt OS: https://genodians.org/m-stein/2019-03-07-vm-with-sculpt-ce-preview
cc @nfeske
The text was updated successfully, but these errors were encountered: