I'm trying to build and install a third-party kernel module on CoreOS, but I'm having a bit of trouble with the installation step.
core@core-01 ~ $ mv mymodule.ko /lib/modules/.
mv: inter-device move failed: 'mymodule.ko' to /lib/modules/./mymodule.ko'; unable to remove target: Read-only file system
On other Linuxes, I install the kernel module in /lib/modules, and then I can load it using modprobe. That won't work here. I had a look at using something like cloud-config to install the module in the right place upon boot, but it seems like a kernel module is a bit big to be putting in the YAML file. I briefly looked at making the file system writable, but that seems like the wrong approach.
Is there somewhere I should be installing kernel modules other than /lib/modules?
Thanks,
-- Alex