delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/25/13:50:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A7072E2.19C7CC2D@gulftel.com>
Date: Thu, 25 Jan 2001 12:39:30 -0600
From: bob olbrich <rjob AT gulftel DOT com>
X-Mailer: Mozilla 4.74 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "McCunney, Dennis" <DMcCunney AT roper DOT com>, cygwin AT sources DOT redhat DOT com
Subject: Re: Program can not be run in DOS mode
References: <A680DF2C0A29D411B4F60008C7F40FED228AB4 AT EXCHANGERSW2>


"McCunney, Dennis" wrote:

> > -----Original Message-----
> > From: bob olbrich [mailto:rjob AT gulftel DOT com]
> > Sent: Wednesday, January 24, 2001 5:49 PM
> > To: cygwin AT sources DOT redhat DOT com
> > Subject: Program can not be run in DOS mode
>
> I answered this breifly last night from home, but a closer inspection
> reveals the problem may not be what I assumed.
>
> >      I just came across Cygwin a few days ago, so I decided to try it.
> > Eventually, I got it to download and install successfully. However,
> > it does not want to boot.
>
> Did you install using the Cygwin setup program?  I ask because..
>
> >     The error in the subject occurs every time I use the shortcut on
> > my desktop. By using the step-by-step boot in Win98, I found
> > that the error occurs after the following line:
>
> ...the desktop shortcut _it_ creates...
>
> >      Call c:\windows\command.com /e:4096 /c c:\cygwin\cygwin.bat
>
> looks like this:
>
> c:\windows\command.com /e:4096 /c c:\cygwin\cygwin.bat
>
> >    Cygwin.bat looks like:
> >
> >        @echo off
> >
> >        C:
> >        chdir \cygwin\bin
> >
> >        bash --login -i
>
> That's fine.
>
> >     One more command is executed (c:\windows\win.com /wx)
> >  and the machine reboots to Windows. Can someone with more experience
> > help?
>
> Offhand, it _looks_ like you tried to set up Cygwin bash as a boot shell,
> run from AUTOEXEC.BAT.  You can't do that.  Cygwin bash is a 32 bit console
> mode application.  When you are booting, you are in DOS 7.0, which is still
> 16 bit.  The 32 bit protected mode services bash requires are part of the
> GUI, and aren't active until Windows loads and initializes.  You can run
> bash as a console mode app in a window _after_ Windows is running, but you
> can't boot into it.
>
> A few more details on just _how_ you downloaded and installed Cygwin would
> be nice.
>
> > Thanks,  Bob Olbrich   rjob AT gulftel DOT com
> ______
> Dennis

      I downloaded setup.exe from the cygwin page. I ran setup.exe, chose a mirror site, and
downloaded all of the contents. I ran setup again and chose to install from a local directory.
That completed with no errors. Finally, the desktop icon was produced. Have I missed
something? Are there some post-install steps to follow?

Bob

  I think I solved the problem! For the shortcut cygwin.pif "properties", "program",
"advanced" had MS-DOS mode checked. I unchecked this and checked "suggest MS-DOS mode
as necessary". This eliminated the attempted re-boot and put me in a window with the
$ prompt.

Bob

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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