cannot run wine on box86
Hi I get this error: /wine/bin/wine: 1: Syntax error: "(" unexpected I am trying to run wine (on box86). I have a lenovo chromebook duet so i am working in debian bullseye in crostini vm. Compiled Box86 using instruction for pi. It seems to work I can run Rochardx86 (though I get segfault entering on the first level but welcom screen, setting screen etc. works). Followed the guide on installing wine and "installation" went on ok. thanks
this error appears when binfmt integration isn't working. I don't know how binfmt integration can work on crostini (but if it "just works", than don't forget to restart systemd binfmt deamon)
So there is the problem. Any ideas what causes this error or how to find out its origin?
Thanks
Hi I have just found this (already fixed) bug report so there is the answer I will try it out later today and will report back https://bugs.chromium.org/p/chromium/issues/detail?id=1193426
Hi I have just found this (already fixed) bug report so there is the answer I will try it out later today and will report back https://bugs.chromium.org/p/chromium/issues/detail?id=1193426
Did it end up working for you? I have tried using a privileged Container as mentioned in the bug report, but systemd-binfmt still wont start.
Hi yes sorry i should have got back on the issue. No, it did not work for me either. :( it must be something related to running x86 in the virtual machine. Mark
On Thu, Mar 31, 2022 at 4:34 PM Triory @.***> wrote:
Hi I have just found this (already fixed) bug report so there is the answer I will try it out later today and will report back https://bugs.chromium.org/p/chromium/issues/detail?id=1193426
Did it end up working for you? I have tried using a privileged Container as mentioned in the bug report, but systemd-binfmt still wont start.
— Reply to this email directly, view it on GitHub https://github.com/ptitSeb/box86/issues/588#issuecomment-1085142846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYIIEMJU2BHQ56ZBYNUGKDDVCYK4TANCNFSM5Q4W3IYQ . You are receiving this because you authored the thread.Message ID: @.***>
Systemd-binfmt didn't start until I sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
then do
echo ':x86:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/local/bin/box86:' | sudo tee /proc/sys/fs/binfmt_misc/register
then I restart systemd-binfmt with sudo systemctl restart systemd-binfmt as per usual and it works, for me, anyway.
@theyseemebowlin Are you talking about Crostini or Crouton here? Because I don't understand where to run the commands, since the Crostini container doesn't have the privileges to mount that location.
ah, I was talking about Crostini, sorry for the confusion
now I just use this to help run wine instead, then grab the latest pre-compiled version of wine from here, untar it, and rename it to wine.
Bin-fmt integration is not dirrectly part of box86. So I will close this ticket.
Note that you can now run i386 bash with box86. That way, you can have a bash prompt directly in "x86 world", making the need for bin-fmt optionnal. You can have more details about that there: https://box86.org/2022/09/running-bash-with-box86-box64/