I want to copy .ko file to “/lib/modules//extra” but it’s error: Read file only
can you suggest me how to copy .ko file to “wp76” module
I want to copy .ko file to “/lib/modules//extra” but it’s error: Read file only
can you suggest me how to copy .ko file to “wp76” module
Here is an example to make /usr/bin to be writable:
mkdir /tmp/tmp_usr_bin/;
mkdir /tmp/tmp_usr_bin_wr;
mount -t overlay overlay /usr/bin -o lowerdir=/usr/bin,upperdir=/tmp/tmp_usr_bin,workdir=/tmp/tmp_usr_bin_wr;
Maybe you can try to same.
root@swi-mdm9x28-wp:~# mkdir /lib/modules/extra
mkdir: can’t create directory ‘/lib/modules/extra’: Read-only file system
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# mkdir /tmp/tmp_lib_modules/;
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# mkdir /tmp/tmp_lib_modules_wr;
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# mount -t overlay overlay /lib/modules -o lowerdir=/lib/mo
dules,upperdir=/tmp/tmp_lib_modules,workdir=/tmp/tmp_lib_modules_wr;
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# mkdir /lib/modules/extra
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
have got the Error from mount command
Did I do anything wrong ??
[ 1169.902564] overlayfs: failed to resolve ‘lib/modules/3.18.140’: -2
mount: mounting overlay on /lib/modules/3.18.140 failed: Invalid argument
you missed the “/” character before “lib”