public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Program can not be run in DOS mode
       [not found] <A680DF2C0A29D411B4F60008C7F40FED228AB4@EXCHANGERSW2>
@ 2001-01-25  8:59 ` bob olbrich
  2001-01-25  9:30   ` Brian Keener
  2001-01-25 10:39 ` bob olbrich
  1 sibling, 1 reply; 6+ messages in thread
From: bob olbrich @ 2001-01-25  8:59 UTC (permalink / raw)
  To: McCunney, Dennis, cygwin

"McCunney, Dennis" wrote:

> > -----Original Message-----
> > From: bob olbrich [ mailto:rjob@gulftel.com ]
> > Sent: Wednesday, January 24, 2001 5:49 PM
> > To: cygwin@sources.redhat.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@gulftel.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


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Program can not be run in DOS mode
  2001-01-25  8:59 ` Program can not be run in DOS mode bob olbrich
@ 2001-01-25  9:30   ` Brian Keener
  0 siblings, 0 replies; 6+ messages in thread
From: Brian Keener @ 2001-01-25  9:30 UTC (permalink / raw)
  To: cygwin

Click on the icon and that will put you at the bash prompt.  Do you know 
Unix because if you do then you will now what to do here as you are 
essentially and a shell prompt IE much like a C:\ when you go to Command 
Prompt on NT or MS-Dos prompt on Windows.  At this prompt however you use 
unix commands like:

ls -l
cd /bin

Now you can get familiar with Cygwin - but go remove the Call line you 
mentioned from your autoexec.bat file.





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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Program can not be run in DOS mode
       [not found] <A680DF2C0A29D411B4F60008C7F40FED228AB4@EXCHANGERSW2>
  2001-01-25  8:59 ` Program can not be run in DOS mode bob olbrich
@ 2001-01-25 10:39 ` bob olbrich
  1 sibling, 0 replies; 6+ messages in thread
From: bob olbrich @ 2001-01-25 10:39 UTC (permalink / raw)
  To: McCunney, Dennis, cygwin

"McCunney, Dennis" wrote:

> > -----Original Message-----
> > From: bob olbrich [ mailto:rjob@gulftel.com ]
> > Sent: Wednesday, January 24, 2001 5:49 PM
> > To: cygwin@sources.redhat.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@gulftel.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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Program can not be run in DOS mode
  2001-01-24 14:48 bob olbrich
@ 2001-01-25  7:23 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 6+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-25  7:23 UTC (permalink / raw)
  To: bob olbrich, cygwin

At 05:48 PM 1/24/2001, bob olbrich wrote:
>Hello,
>
>      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.
>     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:
>
>      Call c:\windows\command.com /e:4096 /c c:\cygwin\cygwin.bat
>
>    Cygwin.bat looks like:
>
>        @echo off
>
>        C:
>        chdir \cygwin\bin
>
>        bash --login -i
>
>     One more command is executed (c:\windows\win.com /wx)
>  and the machine reboots to Windows. Can someone with more experience
>help?



What's invoking win.com and why?  You can't "boot" Cygwin.  You can *run*
cygwin.bat from Windows however.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Program can not be run in DOS mode
@ 2001-01-25  2:03 Schaible, Joerg
  0 siblings, 0 replies; 6+ messages in thread
From: Schaible, Joerg @ 2001-01-25  2:03 UTC (permalink / raw)
  To: cygwin

Hi Bob,

what gave you the impression, the Cygwin bash is a DOS application? The
Cygwin bash uses the API and services of Windows, it is not a *replacement*
to the command.com, but just another alternative shell for Windows. You will
not succeed. No way.

Greetings,
Jorg

>-----Original Message-----
>From: bob olbrich [ mailto:rjob@gulftel.com ]
>Sent: Wednesday, January 24, 2001 11:49 PM
>To: cygwin@sources.redhat.com
>Subject: Program can not be run in DOS mode
>
>
>Hello,
>
>     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.
>    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:
>
>     Call c:\windows\command.com /e:4096 /c c:\cygwin\cygwin.bat
>
>   Cygwin.bat looks like:
>
>       @echo off
>
>       C:
>       chdir \cygwin\bin
>
>       bash --login -i
>
>    One more command is executed (c:\windows\win.com /wx)
> and the machine reboots to Windows. Can someone with more experience
>help?
>
>Thanks,  Bob Olbrich   rjob@gulftel.com
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Program can not be run in DOS mode
@ 2001-01-24 14:48 bob olbrich
  2001-01-25  7:23 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 6+ messages in thread
From: bob olbrich @ 2001-01-24 14:48 UTC (permalink / raw)
  To: cygwin

Hello,

     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.
    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:

     Call c:\windows\command.com /e:4096 /c c:\cygwin\cygwin.bat

   Cygwin.bat looks like:

       @echo off

       C:
       chdir \cygwin\bin

       bash --login -i

    One more command is executed (c:\windows\win.com /wx)
 and the machine reboots to Windows. Can someone with more experience
help?

Thanks,  Bob Olbrich   rjob@gulftel.com


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-01-25 10:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <A680DF2C0A29D411B4F60008C7F40FED228AB4@EXCHANGERSW2>
2001-01-25  8:59 ` Program can not be run in DOS mode bob olbrich
2001-01-25  9:30   ` Brian Keener
2001-01-25 10:39 ` bob olbrich
2001-01-25  2:03 Schaible, Joerg
  -- strict thread matches above, loose matches on Subject: below --
2001-01-24 14:48 bob olbrich
2001-01-25  7:23 ` Larry Hall (RFK Partners, Inc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).