how to install linux-modules-extra under pve?

mcdull

Active Member
Aug 23, 2020
65
2
28
46
The requirement is to install the module that I could use it in container. However, I have searched lots of post and did not find any source that is available to do it under pve.
I am running 6.5.13-1-pve, any suggestion? Thanks.

<-- ubuntu sample-->
apt install linux-modules-extra-`uname -r`
modprobe binder_linux devices="binder,hwbinder,vndbinder"
modprobe ashmem_linux
 
I would like to run redroid "an android emulator" in lxc container.
I remembered I had it running a year ago, probably in the age of 5.14 or 5.15 kernel. But I cannot recall how I am able to create the binder module.
There is no such package as "linux-modules-extra" in Debian. The binder_linux and ashmem_linux modules are for Android. What exactly are you trying to do?
 
I don't have access to my Proxmox right now but I checked a Debian 12 machine and it has the binder module but not ashmem. I believe binder was brought into the mainline kernel at some point.

The other one you'll probably have to build from source. Or you could install an Ubuntu VM and run your emulator there.
 
If you want to compile additional modules for the proxmox kernel, you may look into dkms. Hopefully those modules are dkms buildable, otherwise you would need to rebuild the proxmox kernel itself.