Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dosemu2

> 编程语言
Open source

Run DOS programs under linux:

717 stars0 likes1 views
WebsiteGitHub

About

Run DOS programs under linux:

dosemu2

dosemu2 is an emulator for running DOS programs under linux. It can also serve as a VM to boot various DOSes.

Binary packages for ubuntu are available here: https://code.launchpad.net/~dosemu2/+archive/ubuntu/ppa

Binary packages for fedora are here: https://copr.fedorainfracloud.org/coprs/stsp/dosemu2

Binary packages for openSUSE are here: https://build.opensuse.org/project/show/home:mnhauke:dosemu2

Please send bug reports to https://github.com/dosemu2/dosemu2/issues

Running

Just type

dosemu

to run an emulator.

Use

dosemu -E 

to run `` and exit (add -T to not exit).

Use

dosemu -K  -E 

or

dosemu  -- 

to run DOS programs from unix directory.

If you want to run the DOS program from a DOS directory, use this syntax:

dosemu -K :C:\\games\\carma -E carma.exe

This will run carma.exe from c:\games\carma. Note the leading colon after -K: it means that the DOS path, rather than unix path, is specified. You can actually specify both paths:

dosemu -K ~/dosgames:carma -E carma.exe

This creates the DOS drive for ~/dosgames, then chdirs to carma and runs carma.exe.

Configuring

Per-user configuration file can be created as ~/.dosemu/.dosemurc. Add your custom settings there. Look into the global configuration file /etc/dosemu/dosemu.conf for existing settings, their descriptions and default values, and modify the local config accordingly. $_hdimage is probably the first setting to look into, as it configures the host fs access.

Create c:\\userhook.sys and/or c:\\userhook.bat files to customize your boot sequence. userhook.sys can contain the config.sys directives and userhook.bat can contain custom boot commands.

Drive C: is usually located at ~/.dosemu/drive_c. You can add DOS programs there. Or you can run dosemu -d to mount the `` as a new DOS drive.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cdosdosemuemulator

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言