Until DOSEmu is provided in the 64bit repos, here are instructions for those of you who need their DOS fix..
Tested 2009-12-31 on Unity Linux 64bit-beta1, updated 2009-12-28.
wget http://prdownloads.sourceforge.net/dosemu/dosemu-1.4.0.tgz?download tar xvvf dosemu-1.4.0.tgz cd dosemu-1.4.0 su smart-root install flex m4 bison bdftopcf ./configure make make install mkdir -p /var/lib/dosemu/drives/c wget http://sourceforge.net/projects/dosemu/files/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz/download tar xvvf dosemu-freedos-1.0-bin cd dosemu-freedos-1.0-bin mv dosemu/freedos/* /var/lib/dosemu/drives/c/
shellhigh=d:command.com /e:1024 /p^
shellhigh=c:command.com /e:1024 /p^
I also needed to do the following lowram fix:
- run it with
dosemu, or go to your file, and do something like
- C: has your basic stuff
- D: has dosemu stuff
- E: has your regular filesystem
- Z: has some other stuff
To see up additional drive letters, edit your
/var/lib/dosemu/drives/c/config.systo add something like this:
install=d:dosemulredir.com y: linuxfs/home/user/dos_files rw
.. I did this, but I can't cd into any subdirectory.
I haven't played with a cdrom, so I haven't delt with:
ERROR: MFS: couldn't find root path /media/CDROM fixing "LOWRAM mmap: Invalid argument" on startup LOWRAM mmap: Invalid argument
I got this error running it as a regular user, but not as root.
The temporary solution (lost on each reboot) is:
su sysctl -w vm.mmap_min_addr=0
su echo 0 > /proc/sys/vm/mmap_min_addr
The permanent solution is (as root) to edit
vm.mmap_min_addr = 65536
vm.mmap_min_addr = 0
If you don't find that line, add it to the end.