Sunday, January 11, 2009

Running dosemu in Ubuntu Intrepid

dosemu is a great little program to use to keep all those old legacy dos programs you might still use running even in this modern day and age. But in Ubuntu 8.10 (or Xubuntu 8.10 for that matter), running `dosemu` right after installation will give a

LOMRAM mmap: Invalid argument
Segmentation fault

error. Based on the steps written here, you need to edit (with sudo of course) the file '/etc/sysctl.d/90-low-memory-access.conf' (the file might not exist yet, so just create it if it doesn't exist) and add in the line:

vm.mmap_min_addr=0

and then run

sudo invoke-rc.d procps start

Then you are all set. Now you can even run those old dos games of your misty youth or even some old dbase accounting programs if that's what you're into.. ;)

Oh yeah.. and another thing, printing works almost out of the box. Configure your ubuntu box with a default printer and even 'shift-print screen' will work. How cool is that? :D

No comments:

Haiya ala Solah