There is a tutorial about binfmt here: https://ownyourbits.com/2018/06/13/tran … nfmt_misc/ and some hints at: https://www.linux.com/news/how-launch-w … x-directly. Apparently the kernel documentation binfmt_misc.txt can now only be found only at https://lwn.net/Articles/679310/, a html version is at https://www.kernel.org/doc/html/latest/ … -misc.html.
In the end, I think that on the system where it worked, I had done an 'apt search wine' and installed by chance also the wine-binfmt package not exactly knowing what it really does nor completely understanding what I was doing ...
]]>Any ideas why and what steps are necessary that a system recognizes PE32 file as executables (beside setting the executable bit) and uses wine automagically as program loader?
]]>