delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/08/14/06:16:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Nikos Chantziaras" <realnc AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <1123877397 DOT 230942 DOT 79310 AT g43g2000cwa DOT googlegroups DOT com> <1123880783 DOT 701914 DOT 280830 AT g44g2000cwa DOT googlegroups DOT com>
Subject: Re: DPMI Problems - Help!!
Date: Sun, 14 Aug 2005 11:21:25 +0300
Organization: Lucas Barks
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Lines: 19
Message-ID: <42ff1584$0$83999$892e7fe2@authen.white.readfreenews.net>
NNTP-Posting-Date: 14 Aug 2005 04:57:25 CDT
NNTP-Posting-Host: d70a2055.authen.white.readfreenews.net
X-Trace: DXC=7NMh9iK_A_FCGcH3:om?=Ib_[jUcf=dBGPH=X44`;MPIUc`;F:mN1NBSh=W8ghRk\DG<U6;Rbmi?FiNaGKk_9gbNKliYjWBXRdCN8D3]8lJXlI
X-Complaints-To: abuse AT readfreenews DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

arizvi wrote:
>
> Correction: The actual error string is
>
> Invalid media type reading drive C:
> Abort, Retry, Ignore?
>
> I have verified that it is not my code which accesses the hard drives.

Does the computer boot from floppy or from HD?  If it boots from HD, 
then the one responsible for accessing C: is DOS.  It has to read 
COMMAND.COM (or whatever shell you DOS uses).  You can work around this 
by setting the COMSPEC env. variable to A:\COMMAND.COM (you have to copy 
this file to A: of course).

(In any event, if the HD is broken, you shouldn't be able to boot from 
it in the first place.)


- Raw text -


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