[Wine] Running a DOS program in Wine

Martin Gregorie martin at gregorie.org
Sat Jun 9 06:00:48 CDT 2012


On Fri, 2012-06-08 at 22:16 -0700, Jeffrey Needle wrote:
> I'm trying to run the Q&A database in Wine.  I change to the QA
> directory in terminal, type "Wine qa.com", and get this error:
> 
> err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte
> for DOS mode
> 
> I know this is some sort of DOS-type error.  Any idea how to get past
> it?  Thanks.
> 
> 
Try adding the following two lines:

# Sets a value required by WINE in DOS emulation mode.
vm.mmap_min_addr = 0

to the end of /etc/sysctl.conf


Martin





More information about the wine-users mailing list