Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Re: Wine vs Lindows


On Thu, Jan 24, 2002 at 08:16:51PM +1100, Peter Hardy wrote:
> Cool trick for wine users:
>         * Make sure you've got support for the binfmt_misc driver[2] in
>           your kernel.  I think it gets compiled in to distro kernels
>           these days - check that /proc/sys/fs/binfmt_misc/ exists, or
>           try "modprobe binfmt_misc"
>         * If you're using a kernel later than 2.4.13, mount the
>           binfmt_misc filesystem: "mount -t binfmt_misc none
>           /proc/sys/fs/binfmt_misc"
>         * "echo ':DOSWin:M::MZ::/path/to/wine:' >
>           /proc/sys/fs/binfmt_misc/register"
> 
> And you should be able to run Windows binaries from the commandline. 
> ie, instead of "wine winfile.exe" you can just run "winfile.exe" and let
> the kernel sort out how to make it go.

for debian users, installing the wine and binfmt-support packages will automatically
do this for you (at least with current "unstable" versions)

its pretty cool.

-- 
 - Gus