public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Manual setup of cygwin (how to set cygwin dir as root dir)
@ 2002-05-06 18:18 Sukhwinder Singh
  2002-05-06 19:27 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 3+ messages in thread
From: Sukhwinder Singh @ 2002-05-06 18:18 UTC (permalink / raw)
  To: cygwin

Hello,
    I am using Windows 95 OS and microsoft client etc. is not installed.
So I am the single (default) user who uses this computer(I don't see that
login screen). So there is no home directory etc.

I tried to use setup to download cygwin but setup failed after downloading
the setup.ini file. So, I had to download files myself one by one. I have
extracted all these files to d:\c\cygwin folder. Many scripts refer /bin/sh
but bash is unable to find /bin/sh because bin is not in the root drive but
inside d:\c\cygwin\bin.
Is there any environment variable to set cygwin home so that bash treats
d:\c\cygwin as root. But I think if I did this, I won't be able to access
other drives and directories etc. So what is the solution.

    Also should bash.exe and some others are extracted inside /bin. But most
extract exes to /usr/bin. So where actually bash etc be located. Inside /bin
or /usr/bin.

Sukhwinder

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Manual setup of cygwin (how to set cygwin dir as root dir)
  2002-05-06 18:18 Manual setup of cygwin (how to set cygwin dir as root dir) Sukhwinder Singh
@ 2002-05-06 19:27 ` Larry Hall (RFK Partners, Inc)
  2002-05-07 12:34   ` Michael A Chase
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-05-06 19:27 UTC (permalink / raw)
  To: Sukhwinder Singh, cygwin

At 09:17 AM 5/7/2002, Sukhwinder Singh wrote:
>Hello,
>     I am using Windows 95 OS and microsoft client etc. is not installed.
>So I am the single (default) user who uses this computer(I don't see that
>login screen). So there is no home directory etc.
>
>I tried to use setup to download cygwin but setup failed after downloading
>the setup.ini file. So, I had to download files myself one by one. I have
>extracted all these files to d:\c\cygwin folder. Many scripts refer /bin/sh
>but bash is unable to find /bin/sh because bin is not in the root drive but
>inside d:\c\cygwin\bin.
>Is there any environment variable to set cygwin home so that bash treats
>d:\c\cygwin as root. But I think if I did this, I won't be able to access
>other drives and directories etc. So what is the solution.
>
>     Also should bash.exe and some others are extracted inside /bin. But most
>extract exes to /usr/bin. So where actually bash etc be located. Inside /bin
>or /usr/bin.


Clearly, you're trying to manually install Cygwin.  This is *highly* 
discourage from the standpoint of this list being very concerned about 
problems you may have in the process.  Still, if you're going to try 
this, it may be best for you to review the email list archives in the 
last few weeks.  The topic of manual installation came up and some 
worthwhile "hints" and "procedures" were discussed.  This could save you
some pain and answer some questions you're bound to have.  

In terms of your current approach, I don't know what you're using to 
extract the contents of the files you download but your best bet is to 
extract the Cygwin package, followed by ash, and then tar.  Once you've
done that, mount your 'd:\c\cygwin\' as '/'.  You can then mount your
usr/bin directory as '/bin', and usr/lib as '/lib'.  This will give you
the typical mounts that setup creates and allow you to put /bin in your 
path to get all the executables you need.  Use the Cygwin tar after that
to extract other packages.  It may even be worthwhile to use this as the 
bootstrap for a whole new installation directory, since this will understand
all the Cygwin value-added functionality which your current extract process/
tools probably don't.

Have fun.  You have lots of experimenting ahead of you! ;-)



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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Manual setup of cygwin (how to set cygwin dir as root dir)
  2002-05-06 19:27 ` Larry Hall (RFK Partners, Inc)
@ 2002-05-07 12:34   ` Michael A Chase
  0 siblings, 0 replies; 3+ messages in thread
From: Michael A Chase @ 2002-05-07 12:34 UTC (permalink / raw)
  To: Sukhwinder Singh, cygwin

On Mon, 06 May 2002 22:24:42 -0400 "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com> wrote:

> At 09:17 AM 5/7/2002, Sukhwinder Singh wrote:

> >     I am using Windows 95 OS and microsoft client etc. is not installed.
> >So I am the single (default) user who uses this computer(I don't see that
> >login screen). So there is no home directory etc.
> >
> >I tried to use setup to download cygwin but setup failed after downloading
> >the setup.ini file. So, I had to download files myself one by one. I  have
> >extracted all these files to d:\c\cygwin folder. Many scripts refer /bin/sh
> >but bash is unable to find /bin/sh because bin is not in the root drive but
> >inside d:\c\cygwin\bin.
>. . . 
> In terms of your current approach, I don't know what you're using to 
> extract the contents of the files you download but your best bet is to 
> extract the Cygwin package, followed by ash, and then tar.  Once you've
> done that, mount your 'd:\c\cygwin\' as '/'.  You can then mount your
> usr/bin directory as '/bin', and usr/lib as '/lib'.  This will give you
> the typical mounts that setup creates and allow you to put /bin in your 
> path to get all the executables you need.  Use the Cygwin tar after that
> to extract other packages.  It may even be worthwhile to use this as the 
> bootstrap for a whole new installation directory, since this will understand
> all the Cygwin value-added functionality which your current extract process/
> tools probably don't.

Alternatively, you can get off the manual install route by deleting
the directories where you've extracted everything in (d:\c\cygwin\),
downloading setup.ini and setup.exe to the base directory of the tree where
you downloaded the package archive files (hopefully somewhere outside
c:\cygwin\bin\) and running setup.exe.

If you "Install from Local Directory" setup.exe will take care of
everything it normally does and you will be able to ask this list for help
in good conscience.  It will also allow you to use setup.exe for
incremental updates of your Cygwin environment.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2002-05-07 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-06 18:18 Manual setup of cygwin (how to set cygwin dir as root dir) Sukhwinder Singh
2002-05-06 19:27 ` Larry Hall (RFK Partners, Inc)
2002-05-07 12:34   ` Michael A Chase

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