doslinux

Run Linux programs on DOS

Github stars Tracking Chart

DOS Subsystem for Linux

A WSL alternative for users who prefer an MS-DOS environment. DOS Subsystem for Linux integrates a real Linux environment into MS-DOS systems, allowing users to make use of both DOS and Linux applications from the DOS command prompt.

Building

  • You will need a cross toolchain targeting i386-linux-musl on PATH.

    https://github.com/richfelker/musl-cross-make is a tool that can build one for you with minimal hassle. Set TARGET to i386-linux-musl.

  • Build the prequisites (Linux and Busybox) by running J=xxx script/build-prereq, replacing xxx with the desired build parallelism.

  • You will need a hard drive image hdd.base.img with an installed copy of MS-DOS on the first partition.

  • Run make

    This will produce a new hard drive image hdd.img with DOS Subsystem for Linux installed. Invoke C:\doslinux\dsl <command> to run Linux commands. C:\doslinux can also be placed on your DOS PATH for greater convenience.

Main metrics

Overview
Name With Ownerhaileys/doslinux
Primary LanguageC
Program languageMakefile (Language Count: 4)
Platform
License:Other
所有者活动
Created At2020-09-20 12:27:46
Pushed At2022-07-14 04:33:32
Last Commit At2020-09-27 13:10:03
Release Count0
用户参与
Stargazers Count1.5k
Watchers Count37
Fork Count42
Commits Count68
Has Issues Enabled
Issues Count24
Issue Open Count14
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private