On 1 Apr 02 at 8:51, [EMAIL PROTECTED] wrote:
>Hello,
>After downloading several rpm's for gcc I have finally managed to compile
>dosemu-1.1.3. Now I would like to get it working with my Windows 98 SE
>partition. The "partition" is actually the whole of hda, that is, hda1. My
>machine is dual-boot and has two drives. Linux is on the second drive. My
>Windows 98 is set up to stop at dos, instead of loading Windows
>automatically. My main concern is the safety of the data on hda1. I don't
>want to do anything that might damage it. I do not plan to try to start
>Windows with dosemu. There is an important DOS application which I would
>like to run without leaving Linux. Thanks. John
If you are concerned about safety, you may probably minimize the part
of your HD which is accessible for DOSemu. You need not boot from
hda1 for that. Just mount the hda1 to your Linux file system and
redirect the directories you want to use with 'lredir' to a new drive
letter. Then you might add some of those directories even to your
PATH.
When you mount the DOS partition to Linux you already must decide, if
you want only to read, also write to the hard disk or even execute
programs from it. Choose the appropriate option with mount. In
terms of safety it might be more reasonable to copy some
applications to your dosemu home directory and to access the DOS
partition only for the data (rw,noexec).
In order to get DOS 7.10 (from Windows98) running instead of freedos
it possibly do to copy only the root directory of hda1 to a
subdirectory of dosemu and include a PATH statement into the
autoexec.bat that finds all necessary DOS files on your DOS
partition. I have duplicated only these files: msdos.sys, io.sys.
command.com, config.sys, autoexec.bat and those files that can be
called only from config.sys (display.sys, setver.exe etc.). In
config.sys you must use ems.sys from the freedos packet instead of
HIMEM.SYS and EMM386.EXE coming with MS-Windows.
The dosemu directory contains:
dosemu
xdosemu
bin
bin/dosemu.bin
bin/dosdebug
conf
conf/global.conf
conf/dosemurc
conf/dosemu.conf
dos710
dos710/command.com
dos710/io.sys
dos710/msdos.sys
dos710/autoexec.bat
dos710/config.sys
dos710/display.sys
dos710/setver.exe
dos710/dosemu
dos710/dosemu/ems.sys
dos710/dosemu/emufs.sys
dos710/dosemu/exitemu.com
dos710/dosemu/generic.com
dos710/dosemu/cdrom.sys
dos710/dosemu/lredir.com
dos710/dosemu/unix.com
freedos (not needed)
----------------- dos710/autoexec.bat -----------------
@echo off
prompt $P$G
c:\dosemu\lredir d: linux\fs\tmp\dostmp
c:\dosemu\lredir i: linux\fs\C\$DOS
PATH=I:\BAT;I:\DOS;I:\BIN;I:\NC;C:\DOSEMU;I:\APPL\WORD
set TEMP=d:\tmp
lh NLSFUNC.EXE C:\COUNTRY.CS
MODE CON CP PREP=((437,852,866,) I:\I18N\EGA3.CPI)
MODE CON CODEPAGE SELECT=850
lh I:\I18N\KEYB330 CZ,852,I:\I18N\KEYBOARD.CS2
echo.
---------------------------------------------------------
--------------------- dos710/config.sys -----------------
DOS=UMB,HIGH
lastdrive=Z
files=50
buffers=15
devicehigh=c:\dosemu\ems.sys
DEVICEHIGH=DISPLAY.SYS CON=(EGA,850,3)
DEVICEHIGH=setver.exe
shell=c:\command.com /e:1024 /p
------------------------------------------------------------
Christof Lange
_______________________________________________
Christof Lange <[EMAIL PROTECTED]>
Prokopova 4, 130 00 Praha 3, Czech Republic
phone: (+420-2) 22 78 06 73 / 22 78 20 02
http://www.volny.cz/cce.zizkov
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html