Method used to replace a KO file on SUSE?

How do I replace a KO file on SUSE?
If you want to replace or add a KO file, perform the following steps:
1. Upload the KO file to the host system.
The directory to which the KO file is uploaded is generally /lib/module/xxxx/kernel/scsi.
2. Modify properties of the KO file to be same as those of other KO files.
3. Load the KO file.
Run the insmod /lib/module/xxxx/kernel/scsi/yyy.ko command, and then lsmod to verify that the KO file has been loaded.
4. Run the mkinitrd command on the host system to edit the kernel again.
5. Restart the host system.

Scroll to top