KVM-VMI / kvm-vmi

KVM-based Virtual Machine Introspection
https://kvm-vmi.github.io/kvm-vmi/master/
314 stars 60 forks source link

Bare-metal setup: "modules.order not found" error when running "sudo make modules_install INSTALL_MOD_STRIP=1" #140

Closed PuckiPwn closed 1 year ago

PuckiPwn commented 1 year ago

Hi, I am trying to install kvm-vmi on my Ubuntu 20.04 VM following the instructions for the bare-metal setup.

make -j$(nproc) runs ok, but the next command sudo make modules_install INSTALL_MOD_STRIP=1 gives an error:

image

It seems like one of the commands in the makefile is looking for a file called modules.order which is not present in the current folder:

image

Wenzel commented 1 year ago

Hi @PuckiPwn !

I am trying to install kvm-vmi on my Ubuntu 20.04 VM following the instructions for the bare-metal setup.

If you are installing the KVM-VMI kernel inside a VM, that's not a bare-metal setup anymore, it's a nested virt setup (like Vagrant)

I just tested this command again on an Ubuntu 20.04 Docker image: image

I can't replicate the error that you are facing. At least not in Docker.

PuckiPwn commented 1 year ago

Thank you Wenzel for the fast response!

My host machine is running Windows 10. If I understand this correctly, if I install Docker with an Ubuntu 20,04 image this should work?

Wenzel commented 1 year ago

If I understand this correctly, if I install Docker with an Ubuntu 20,04 image this should work?

Docker is a lightweight virtualization solution and not what you are looking for. If you are running on Windows 10, please follow the Vagrant setup with the Hyper-V provider: https://kvm-vmi.github.io/kvm-vmi/master/setup.html#windows-setup

PuckiPwn commented 1 year ago

Thanks for explaining, I tried following the Vagrant Windows setup initially, but this gave me an error and therefore i tried the bare-metal setup:

image

I can open a new issue for this , to keep things clear?

Wenzel commented 1 year ago

I can open a new issue for this , to keep things clear?

Yes please !