Giter Site home page Giter Site logo

Comments (9)

BonusPlay avatar BonusPlay commented on August 26, 2024

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.

icedevml avatar icedevml commented on August 26, 2024

@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.

icedevml avatar icedevml commented on August 26, 2024

@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 avatar LANopop commented on August 26, 2024

@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.

icedevml avatar icedevml commented on August 26, 2024

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.

LANopop avatar LANopop commented on August 26, 2024

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.

icedevml avatar icedevml commented on August 26, 2024

@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.

LANopop avatar LANopop commented on August 26, 2024

here is the windows 7 bluescreen if anyone is interested

image

from drakvuf-sandbox.

icedevml avatar icedevml commented on August 26, 2024

Closing this for now, as nested virtualization is unfortunately not well supported due to Xen/KVM issues.

from drakvuf-sandbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.