Hello, I'm having trouble getting dosemu to be able to access the dos partition on my hard drive. The dos partition is on a second drive which is a SCSI drive; the first drive is an IDE drive. The dos partition is mounted under Linux as /dos:
leisure:~> df Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda1 24754 20548 2928 88% / /dev/sda1 180028 179084 944 99% /dos /dev/sda2 45664 31709 11344 74% /sdrv /dev/sda3 354553 235137 99141 70% /usr I can access it from Linux with no problem: leisure:~> ls /dos a.sav brief doc msdos.sys sam.bat tlc aspi4dos.sys c.sav dos q.bat state.rst tmp autoexec.000 command.com dv.bat qd.bat tax95 tms.bat autoexec.bat config.sav games qemm tax96 tools autoexec.old config.sys io.sys quicken5 test.bat tvga autoexec.sav config.zip mouse rr2.bat tg wina20.386 backup dblspace.bin mr.bat sam tgx.bat windows I am running dosemu_0.66.3 installed from a debian binary package. It is configured to boot from a hdimage file which resides somewhere in /dev/sda3. I have most of the dosemu debug messages configured to 'on'. When I bring up dosemu, it seems to be running properly: Linux DOS emulator 0.66.3.0 $Date: 97/04/20 $ Last configured at Mon May 5 21:00:28 EST 1997 on linux This is work in progress. Please test against a recent version before reporting bugs and problems. Bugs, Patches & New Code to linux-msdos@vger.rutgers.edu DOS-C IPL v3.31 IPL Booting kernel.exe from drive C: Booting DOS-C .. EXE loader loading: kernel.exe............ Starting kernel ... Preliminary buffer allocated at 0x0f75:0x9cac Preliminary f_node allocated at 0x0f75:0xa8f4 Preliminary FCB table allocated at 0x0f75:0xad04 Preliminary sft table allocated at 0x0f75:0xb07a Preliminary allocation completed: top at 0x0f75:0xb3f0 Buffer allocated at 0x0f75:0x9cac f_node allocated at 0x0f75:0xa8f4 FCB table allocated at 0x0f75:0xad04 sft table allocated at 0x0f75:0xb07a Stacks allocated at 0f75:b3f0 Allocation completed: top at 0x0f75:0xb7f0 Loading device driver c:\emufs.sys at segment 1af4 [Host File System] drive D: is directory /dos/ KERNEL: Boot drive = 3 DOS-C compatibility 3.31 (C) Copyright 1995, 1996 Pasquale J. Villani All Rights Reserved DOS-C version 0.92 [FreeDOS Release] (Build 37). DOS-C is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. For technical information and description of the DOS-C operating system consult "The FreeDOS Kernel" by Pat Villani, published by Miller Freeman Publishing, Lawrence KS, USA (ISBN 0-87930-436-7). Process 0 starting: command.com "Welcome to dosemu 0.66!" C:\> C:\> dir Volume in drive C is DOSEMU Directory of C:\ IPL SYS 54944 3-30-97 11:16a KERNEL EXE 100592 3-30-97 11:17a COMMAND COM 38192 3-30-97 11:17a AUTOEXEC BAT 43 3-15-97 8:15a BOOTOFF COM 12 5-05-97 9:01p BOOTON COM 12 5-05-97 9:01p CDROM SYS 840 5-05-97 9:01p CHDIR EXE 10692 11-05-95 4:46a COMPILE BAT 636 7-03-96 7:30a DOSDBG COM 9054 11-05-95 4:46a DUMPCONF EXE 842 11-05-95 4:46a EJECT COM 16 5-05-97 9:01p EMS SYS 404 5-05-97 9:01p EMUFS SYS 660 5-05-97 9:01p EMUMOUSE COM 9176 11-05-95 4:46a EMUMOUSE EXE 8821 11-05-95 4:46a EXITEMU COM 16 5-05-97 9:01p FOSSIL COM 268 5-05-97 9:01p GETCWD EXE 4158 11-05-95 4:46a ISEMU COM 5778 11-05-95 4:46a LREDIR COM 8050 11-05-95 4:46a MGARROT COM 354 11-05-95 4:46a SYSTEM EXE 4662 11-05-95 4:46a UNIX COM 8898 11-05-95 4:46a VGAOFF COM 8 5-05-97 9:01p VGAON COM 32 5-05-97 9:01p CONFIG SYS 215 5-18-97 1:33a FORMAT COM 18342 5-18-97 1:15a SYS EXE 12160 5-18-97 1:16a BOOT BIN 512 5-18-97 1:20a 30 file(s) 298389 bytes 827392 bytes free My config.sys and autoexec.bat files are set up as follows: C:\> type config.sys rem this sets up the redirector to look at the Linux root directory. rem this is probably not a good idea once you have dosemu installed rem device=c:\emufs.sys / device=c:\emufs.sys /dos rem device=c:\ems.sys C:\> type autoexec.bat @echo off echo "Welcome to dosemu 0.66!" They are the same in the hdimage and on the /dos partition. Now, when I try to access the /dos partition as drive d:, I get: C:\> d: D:\> dir Volume in drive D has no label Directory of D:\ File not found D:\> If I try to write a file out to the d: drive I get: C:\> copy emumouse.com d: C:\> dir d: Volume in drive D is tion". Directory of D:\ peed out 544175136 3-01-29 1:50p 1 file(s) 544175136 bytes 8341504 bytes free C:\> Actually, I get random results when I do this multiple times. Most of the time I end up with a different file from the c: drive than the one that I copied, and some files with unintelligable filenames. Judging from the filename in the example above, this result must be somewhat planned-for and I'm not necessarily in a unique situation. Can anyone help out there? I fell like I'm close but I've got a disgruntled wife and a couple of kids about to rebel because they can't run their favorite dos stuff. :-) Thanks in advance. --ken -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .