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-tools
Create a temporary folder:
mkdir my-modules
Reconstruct 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.tcz
Install the extension:
sudo cp my-modules.tcz /mnt/<sda1-or-so>/tce/optional/
Add
my-modules.tcz
to the/mnt/<sda1-or-so>/tce/onboot.lst
file.Reboot
于 2017-07-02T15:50:42.437 回答