-
(Someone pointed me at virtme-ng just today, so I'm not entirely familiar with how it works, apologies.) Let's say that instead of using virtme-ng to build a fresh new minimal kernel, I have an already configured and built kernel tree in I didn't see an option to specifically point Is it actually supported to run vng like that (i.e. point |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
vng is automatically using the modules from the build dir, basically it installs all the modules in your target kernel build dir ($PWD in this case) in Keep in mind that this will replace the original Also note that |
Beta Was this translation helpful? Give feedback.
vng is automatically using the modules from the build dir, basically it installs all the modules in your target kernel build dir ($PWD in this case) in
.virtme_mods/
and it will bind mount this dir in/lib/modules/$kernel_version
, so inside the vng session you'll be able to load external modules normally.Keep in mind that this will replace the original
/lib/modules/$kernel_version
on the host, so if you have out-of-tree dkms modules you won't be able to see them with your recompiled kernel. But you can see them if you run the host's kernel (usingvng -r
).Also note that
vng -r .
is equivalent to simply runningvng
(default is to run the kernel from the current working dir).