Comments (9)
I'm afraid running on KVM is not supported yet, as drakvuf project itself has some problems with KVM (drakvuf builds are created with --disable-kvm
flag).
We have tested nested virtualization as in kvm => xen => windows
and haven't managed to get it working (yet).
Hopefully in the future we will support it, but at the moment we don't support running on KVM.
from drakvuf-sandbox.
@BonusPlay If he already succeeded to install Windows on vm-0
, then there is a huge chance that his setup will actually work, so it would be good to debug this further.
@LANopop The error you have pasted looks like there is some trouble with LibVMI itself. What guest operating system are you using and what is the name/hash of ISO you are using?
from drakvuf-sandbox.
@LANopop Ah, you wrote that it is Windows 10 x64. Could you point to the exact version of Win 10 ISO? It would be easier to reproduce this bug.
from drakvuf-sandbox.
@LANopop Ah, you wrote that it is Windows 10 x64. Could you point to the exact version of Win 10 ISO? It would be easier to reproduce this bug.
KVM Information (drakvuf is running here):
Linux debian 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux
debian 10.3
windows 10 x64 iso md5 hash: 23e397a21a9e01f141c64b7e1260314a (i had this iso stored somewhere and dont remember how i got it)
Proxmox Information (host system for kvm and lxc):
Kernel Version Linux 5.3.18-3-pve #1 SMP PVE 5.3.18-3
pve-manager/6.1-8/806edfe1
debian 10.3
CPU: 12 x Intel(R) Xeon(R) CPU D-1528 @ 1.90GHz (1 Socket)
the installation of windows itself took very long (at least 30 minutes). Also for some reason windows 7 x64 installation always blue screened after the installation was over and it started to boot.
from drakvuf-sandbox.
Also for some reason windows 7 x64 installation always blue screened after the installation was over and it started to boot.
For some reason Windows 7 doesn't play well when it's inside Xen which is inside KVM. According to your report, Windows 10 (surprisingly) seems to work under such setup.
For the MD5 sum you've provided, I see that this disk image is at least 5 years old. Could you try again with a more recent image?
https://www.microsoft.com/pl-pl/software-download/windows10 - there is an option to download ISO directly if you visit the page using a browser on Linux
Introspection tools are usually adjusted for the latest OS versions. Your particular bug is about LibVMI not being able to find Windows kernel in the memory. I suppose it may be so old and different that it simply could not detect it at all.
from drakvuf-sandbox.
downloaded the newest version from the page you mentioned and after 30 minutes of me starring at the windows 10 logo i gave up. I dont think it is working :(
from drakvuf-sandbox.
@LANopop Unfortunately, nested virtualization is very tricky and we don't officially support the setup with Xen nested inside KVM. This doesn't even have much to do with DRAKVUF Sandbox itself. If the VM is hanging during installation process, this is the problem with Xen, KVM or both.
If you have the possibility to use a dedicated server for it, DRAKVUF Sandbox would be most stable. We are also actively working to prepare a compatibility list, just to find out which popular cloud solutions (like Google Cloud Platform) are compatible with our sandbox and this would be published soon.
from drakvuf-sandbox.
here is the windows 7 bluescreen if anyone is interested
from drakvuf-sandbox.
Closing this for now, as nested virtualization is unfortunately not well supported due to Xen/KVM issues.
from drakvuf-sandbox.
Related Issues (20)
- `draksetup` doesn't set exit codes when operation fails
- DLL Profiles HOT 2
- Multiple Guest VM Setup HOT 1
- [REQUIRED DLL] Injector timed out for Windows/System32/ntdll.dll HOT 6
- `draksetup` doesn't care if chosen explorer.exe for injection is 32-bit or 64-bit HOT 1
- Xen-hypervisor is not in releases HOT 1
- CI is broken HOT 2
- mac can run ???? HOT 1
- `draksetup postinstall` doesn't work with 32-bit Windows
- injector: Repeat injection in case of failure and add proper exception handling
- install drakcore error ubuntu22.04 HOT 5
- errror
- error
- drakplayground: Transfer files from guest os to host. HOT 2
- Guest VM can not get IP via DHCP
- Postinstall airgap PDB HOT 1
- Flaky preflight check
- Unable to analyze HOT 1
- Where is Xen-Hypervisor Release download HOT 2
- Log parsing issue? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drakvuf-sandbox.