* DOSEMU - writes to mounted vfat partition failing
@ 2002-10-04 20:37 Chris Metzler
2002-10-05 0:19 ` Bart Oldeman
0 siblings, 1 reply; 3+ messages in thread
From: Chris Metzler @ 2002-10-04 20:37 UTC (permalink / raw)
To: linux-msdos
Hi. I'm hoping someone here can help me. I have read both the
dosemu how-to and the README.txt that came with dosemu, have
searched for useful webpages as well as old Usenet posts, and
have looked on the archives to this mailing list, without luck.
I am using dosemu 1.0.2 under Debian 3.0 (woody), except with the
2.2.19pre17 kernel. I have a partition in which Windows 98/SE is
installed; I wish to use dosemu with the dos there. I have
configured my /etc/dosemu.conf to boot from a directory into
which I've linked command.com, io.sys, msdos.sys, and the windows
subdir from the mounted vfat partition where 98/SE sits.
dosemu boots ok; but anything requiring a write fails, and dos
commands (e.g. mkdir) that write to that disk fail as well. It
appears that write access is not enabled. For example, a
command like "copy foo bar" yields an error message of "Access
denied - bar". Also, piping dir output through more yields
"Intermediate file error during pipe", and mkdir gives "Unable
to create directory". So it looks like the dos in a box doesn't
have write access to the mounted filesystem.
I've tried everything I can think of with this. I mount the
partition read/write, umask=000, but no good. I've also tried
setting uid and gid in the mount command to correspond to the
user running dosemu. Still no luck.
Can anyone point me to something I can use to figure this out?
I'm sure I've missed something obvious; but I've spent enough
time on it on this point that I doubt I'm gonna find it. So
any advice would be very helpful.
Thanks for any help.
-c
--
Chris Metzler cmetzler@speakeasy.snip-me.net
(remove "snip-me." to email)
"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DOSEMU - writes to mounted vfat partition failing
2002-10-04 20:37 DOSEMU - writes to mounted vfat partition failing Chris Metzler
@ 2002-10-05 0:19 ` Bart Oldeman
2002-10-05 0:34 ` Solved (was Re: DOSEMU - writes to mounted vfat partition failing) Chris Metzler
0 siblings, 1 reply; 3+ messages in thread
From: Bart Oldeman @ 2002-10-05 0:19 UTC (permalink / raw)
To: Chris Metzler; +Cc: linux-msdos
On Fri, 4 Oct 2002, Chris Metzler wrote:
> dosemu boots ok; but anything requiring a write fails, and dos
> commands (e.g. mkdir) that write to that disk fail as well. It
> appears that write access is not enabled.
* check whether you can write to the partition (in Linux, using for
instance, cp) as the same user as the one that runs dosemu
* check $_bootdir in your dosemu.conf if it has ":ro". If that's the case
then remove that.
* if all else fails then type in dosemu
lredir c: linux\fs/dosc
or, say,
lredir d: linux\fs/dosc
to manually (re-)map a drive to your linux directory /dosc or wherever
else your vfat mount point is.
Bart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Solved (was Re: DOSEMU - writes to mounted vfat partition failing)
2002-10-05 0:19 ` Bart Oldeman
@ 2002-10-05 0:34 ` Chris Metzler
0 siblings, 0 replies; 3+ messages in thread
From: Chris Metzler @ 2002-10-05 0:34 UTC (permalink / raw)
To: Bart Oldeman; +Cc: linux-msdos
On Fri, 4 Oct 2002 20:19:07 -0400 (EDT)
Bart Oldeman <oldeman@math.ohio-state.edu> wrote:
>
> * check $_bootdir in your dosemu.conf if it has ":ro". If that's the
> case then remove that.
Bingo. That was it, left in from when I was first setting up dosemu and
wanted to make sure I didn't trash anything; and then just forgot to remove
it. *Duh*.
Thanks very much.
-c
--
Chris Metzler cmetzler@speakeasy.snip-me.net
(remove "snip-me." to email)
"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-05 0:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 20:37 DOSEMU - writes to mounted vfat partition failing Chris Metzler
2002-10-05 0:19 ` Bart Oldeman
2002-10-05 0:34 ` Solved (was Re: DOSEMU - writes to mounted vfat partition failing) Chris Metzler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox