Home Page › Forums › Network Management › ZeroShell › Replacing kernel module (unsupported ethernet card) › Reply To: Replacing kernel module (unsupported ethernet card)
My suggestion would be to use the “-hide-rr-moved” option of mkisofs instead of removing
And the best option to use with depmod is “–dry-run” or “-n” . This sends the resulting
modules.dep and the various map files to standard output rather than writing them into
the module directory(FROM MAN PAGE)/. From there you can redirect the output to a file
which you can later on rename to modules.dep in the target modules dir.
Boot up with the required kernel (let it produce the module dependency errors while
booting) on the target machine.
Once you get to the shell run “depmod -n > /lib/modules/$(uname -r)/modules.dep”.