Berion
Developer
@oleguer
You must compile bswap16-ecb only if You using different kernel than default one (4.15.0-54) in Linux Mint 19.2. If You using this distribution and didn't perform kernel update (like i.e using as LiveDVD/USB) then only what is left is to load it to memory as I already compile it and attach in the archive. *.ko is a compiled binary, like i.e *.dll for Windows.
If You using other kernel version, then You must unpack archive with source too, run terminal, go to path with source (i.e "cd `/home/mint/bswap16-ecb v1.1/source/`") and type "sudo make" to start compilation. It can fail if in the distro missing additional apps, but then You get error message which points You what is missing, which You must in such case install it ("sudo apt install appnameexample") and again trying to compile And that's exactly the reason why I already compiled it, to safe headache none technical peoples as much as possible.
PS: Forget about bswap16 for nbd client and dmbswap16, because both are now obsolete and even doesn't work with current nbd-client and kernel.
To know which kernel You using, You can type in terminal "sudo uname -r" or go in update manager kernel (current used will have mark near the name).
Oh, and after compilation or just unpacking binary, You also must tell system to allow him to run it. On Mint is sufficient to click on right mouse button, then specification, then check the checkbox read and execute for Your current user just like on the screenshot in tutorial (in terminal, go to module and type "chmod +x bswap16.ko" (if target filename contain spaces, You must close whole in " or ` symbols in both sides ;])).
You must compile bswap16-ecb only if You using different kernel than default one (4.15.0-54) in Linux Mint 19.2. If You using this distribution and didn't perform kernel update (like i.e using as LiveDVD/USB) then only what is left is to load it to memory as I already compile it and attach in the archive. *.ko is a compiled binary, like i.e *.dll for Windows.
If You using other kernel version, then You must unpack archive with source too, run terminal, go to path with source (i.e "cd `/home/mint/bswap16-ecb v1.1/source/`") and type "sudo make" to start compilation. It can fail if in the distro missing additional apps, but then You get error message which points You what is missing, which You must in such case install it ("sudo apt install appnameexample") and again trying to compile And that's exactly the reason why I already compiled it, to safe headache none technical peoples as much as possible.
PS: Forget about bswap16 for nbd client and dmbswap16, because both are now obsolete and even doesn't work with current nbd-client and kernel.
To know which kernel You using, You can type in terminal "sudo uname -r" or go in update manager kernel (current used will have mark near the name).
Oh, and after compilation or just unpacking binary, You also must tell system to allow him to run it. On Mint is sufficient to click on right mouse button, then specification, then check the checkbox read and execute for Your current user just like on the screenshot in tutorial (in terminal, go to module and type "chmod +x bswap16.ko" (if target filename contain spaces, You must close whole in " or ` symbols in both sides ;])).
Last edited: