I am running Tiny Core Linux (TCL) and have installed new kernel modules to /lib/modules/<VERSION>/extra/. To have those modules available after a reboot, I need to add them to the extension files. How do I do it?
2021 次
1 回答
2
Install dependencies:
tce-load -wi squashfs-toolsCreate a temporary folder:
mkdir my-modulesReconstruct the path to the modules in this folder, the content of this folder is going to be copied to
/at boot:mkdir -p my-modules/lib/modules/<VERSION>/Copy the modules folder into this sub-folder:
cp -r /lib/modules/<VERSION>/extra my-modules/lib/modules/<VERSION>/Create an extension:
mksquashfs my-modules/ my-modules.tczInstall the extension:
sudo cp my-modules.tcz /mnt/<sda1-or-so>/tce/optional/Add
my-modules.tczto the/mnt/<sda1-or-so>/tce/onboot.lstfile.Reboot
于 2017-07-02T15:50:42.437 回答