3 ms·
OP here! Someone commented with how to make i386 work: https://reddragdiva.dreamwidth.org/607714.html?thread=8317666#cmt8317666 https://reddragdiva.dreamwidth.o
by davidgerard 7y ago
OP here! Someone commented with how to make i386 work: https://reddragdiva.dreamwidth.org/607714.html?thread=8317666#cmt8317666 https://reddragdiva.dreamwidth.org/607714.html?thread=831766...
not just qemu-user, but telling it the magic numbers for binfmt to work
I'll give it a spin when I get home this evening. ENCARTA 97 SHALL RIDE AGAIN, maybe
- avryhof 7y agoLooks like the same procedure from https://stackoverflow.com/questions/42120938/exec-format-error-32-bit-executable-windows-subsystem-for-linux https://stackoverflow.com/questions/42120938/exec-format-err... (second answer)
- davidgerard 7y agoThanks to my anonymous commenter, we have a route to 32-bit: sudo apt install qemu-user-static sudo update-binfmts --install i386 /usr/bin/qemu-i386-static --magic '\x7fELF\x01\x01\x01\x03\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00\x01\x00\x00\x00' --mask '\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xf8\xff\xff\xff\xff\xff\xff\xff' sudo service binfmt-support start And now we can do: > fun@DESKTOP-7F6DU8P:~$ wine --version > wine-3.0 (Ubuntu 3.0-1ubuntu1) Encarta 97 doesn't install, though: > fun@DESKTOP-7F6DU8P:/mnt/e$ wine SETUP.EXE > wine: Unhandled page fault on read access to 0xffffffff at address 0x11df:0x00002c11 (thread 0011), starting debugger... > 0011:err:seh:start_debugger Couldn't start debugger ("winedbg --auto 15 108") (2) > Read the Wine Developers Guide on how to set up winedbg or another debugger I'll leave that bit to someone who knows what they're doing.
- davidgerard 7y agooh, and Encarta 97 works flawlessly in Wine 4.13 on Linux and continues to fail in Wine 4.13 on Windows 10 with qemu doing the win32 bits