Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Running DOS applications in Linux Red Hat 5.2

Posted on 1999-07-07
7
Medium Priority
?
263 Views
Last Modified: 2013-12-06
How does on run a DOS application from Linux.The DOS application is located in a Dos/Windows partition,
Are there are are any GUI based development tools for Linux to develop C++/Java/Pascal applications
thanks
venks
0
Comment
Question by:venks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 4

Expert Comment

by:gunny051499
ID: 1635167
you can run DOS applications either with dosemu (often needs some finetuning) or VMWare (this will emulate a complete PC under linux, where you can even run WinNT). for the later however, you will have to pay.

for dosemu there is no problem accessing mounted DOS/Windows partitions.

there are such develpment tools. if you just need an "environment" as pascal programmer i would have a look at XWPE, it extremely remembers me old times with Borland-Turbo-Pascal.

there are environments, but most of them are not free of charge. for C++/java codewarrior from metrowerks would be a nice thing, but i don't know if it's already ported.
0
 
LVL 1

Author Comment

by:venks
ID: 1635168
Dear Gunny
Thanks.Can you post the answer so that i can award the points.Can you please tell me how to mount the dos
partitions .I am running KDE 1.1
thanks
venks
0
 

Accepted Solution

by:
JadeFang68 earned 200 total points
ID: 1635169
Hello, Venks.

To mount your DOS partition and make it accessible to Linux:

as root user:

# mkdir /mnt/dosdisk  <-- makes a directory under the /mnt directory, you can call it whatever you want

# mount /dev/hda1 /mnt/dosdisk  <-- Mounts the actual partition and makes it accesible to Linux

# cd /mnt/dosdisk   <-- Puts you into the DOS partition

hda1 is usually the PC's main hard disk, and normally the main partition, from where you derive space to Install Linux, usually in a partition called /dev/hda2

Good Luck
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 1

Author Comment

by:venks
ID: 1635170
Dear JadeFang68
I have done waht you had suggested.But when i try to run any exe file nothing happens.Hence how does one run the DOS
exe files
thanks
0
 

Expert Comment

by:JadeFang68
ID: 1635171
venks:

DOS applications will not run in a pure Linux environment. To do that, you need the DOS emulator, or the VMWARE virtual machine engine, as Gunny suggested. After those are setup, you can run applications that will not run otherwise in Linux.

I like VMWARE a lot, since it let's you have a nice window in case you need something from "the other side"  :)
0
 
LVL 4

Expert Comment

by:gunny051499
ID: 1635172
that's true, VMWare is nice. but it is NOT free. this is a big loss. if you want to run just your dos-apps, set up dosemu.
0
 
LVL 1

Author Comment

by:venks
ID: 1635173
Thanks
venks
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question