This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin problem...


On Wed, 20 Nov 2002 SonyMaster@aol.com wrote:

> If I installed Cygwin on a computer, burned it to another computer
> should it work? It doesn't for me.

By "burning it", I assume you copy the full cygwin directory tree from the
source machine to the same root directory on the target machine.  The
following three steps should get you a working installation in most cases:

- Make sure c:\cygwin\bin is in the path on the target machine (if it was
  in the path on the source machine; substitute "c:\cygwin" by your Cygwin
  root directory if it's different).

- Copy over the value of the CYGWIN environment variable (if you had one
  on the source machine).

- On the host computer, in bash, type:
  $ echo 'path c:\cygwin\bin' > a:/mounts.bat
  $ mount -m >> a:/mounts.bat
  On the target computer, execute mounts.bat.
  Again, if your Cygwin root directory is not in c:\cygwin, replace
  c:\cygwin by your actual root.

This should do if you have a simple install of Cygwin.  If you had
services running on the host machine, you will need to duplicate the
service installation on the target machine.  You may also need to move
some registry keys, but if you knew enough to create/modify them in the
first place, you should know what they are.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]