delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/30/12:49:13

From: pavenis AT lanet DOT lv
To: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>, djgpp AT delorie DOT com
Date: Tue, 30 May 2000 18:39:40 +0200
MIME-Version: 1.0
Subject: Re: Linux
Message-ID: <39340AEC.22372.558AF8@localhost>
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10005300718310 DOT 594-100000 AT vsnl DOT net DOT in>
In-reply-to: <Pine.LNX.4.21.0005301941250.1881-100000@roadrunner.grendel.net>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com

On 30 May 2000, at 19:49, Kalum Somaratna aka Grendel wrote:

> On Tue, 30 May 2000, Prashant TR wrote:
> 
> > On Mon, 29 May 2000, Richard Dawe wrote:
> > 
> > > If you use dosemu or VMware, you need a copy of the operating system you
> > > want to run. You still have a copy of autoexec.bat that runs. You set up
> > > DJGPP exactly as you would normally. The operating system runs within
> > > dosemu or VMware.
> > 
> > You don't really need a copy of it. I've been using DOSEmu since quite
> > sometime. All you need to do is change the value of $_hdimage to
> > something like $_hdimage="/dev/hda1 /dev/hda5" 
> 
> Please note that in the above instance, for doemu to acess those
> drives,the partitions (/dev/hda1 and /dev/hda5) must *NOT* be mounted by
> linux. So AFAIK you can't use linux to acesss the partions at the same
> time as dosemu.
> 
> Also using Dosemu running FreeDOS to acesss directly a partion is like
> playing russian roulette...you never know when that FreeDos bug might
> cause disk corruption and you might have to kiss your partition
> goodbye...That kind of configuration is far too risky IMHO..
> 
> FWIW I installed djgpp on a 98 MB disk image...but the file system gets
> corrupted and other bad things happen quite frequently...so I decided that
> a reboot do windoze was much better than running Dosemu and getting
> corrupted FAT's..:(
> 

I never used $_hdimage="/dev/hda1 ...". 

I think it's much safer to let Linux to manage FAT partitions and use 
LREDIR to access mounted FAT partitions. It may be tricky to setup
to get the same drives as I'm booting DOS (or Windows) though.

Problems with DOSEMU: 
	absence of support of LFN (I think it would be possible to do that 
		for stuff accessed with lredir, but somebody should write
		support of that...)

	also doesmu-1.0.0 doesn't want to work nicely for me on console
	with 2.4 prereleases

Andris

> 
> >(of course, this depends
> > on where you've installed DOS). So you really don't need to install DJGPP
> > all over again. The performance I get is exactly the same I get under
> > *real* DOS.
> 
> You may also be getting a lot more corrupted FAT systems than *real DOS*
> produces...
> 
> Grendel... 
> 
> Hi, I'm a signature virus. plz set me as your signature and help me spread
> :)
> 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019