delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/26/20:19:34

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: <5.0.2.1.2.20010926193220.00a16150@pop.gmx.net>
X-Sender: nospam AT newsweekly DOT net (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Wed, 26 Sep 2001 20:17:09 -0400
To: cygwin AT cygwin DOT com
From: "Steven E. Bailey" <nospam AT newsweekly DOT net>
Subject: RE: Moving Cygwin Install dir
Mime-Version: 1.0

Actually, I just did this, I copied the cygwin directory installed on 
another machine to a new one (This is all Win98) - but I didn't install 
everything, I just installed the binutils using setup and then deleted the 
newly installed directory and copied the old directory to the new path.

Here is a diff of what changed in the registry with the install:

[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions]
[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin]
[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2]
[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/]
"native"="D:/cygwin"
"flags"=dword:0000000a

[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin]
"native"="D:/cygwin/bin"
"flags"=dword:0000000a

[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib]
"native"="D:/cygwin/lib"
"flags"=dword:0000000a

[HKEY_USERS\.DEFAULT\Software\Cygnus Solutions]

[HKEY_USERS\.DEFAULT\Software\Cygnus Solutions\Cygwin]

[HKEY_USERS\.DEFAULT\Software\Cygnus Solutions\Cygwin\mounts v2]
"cygdrive prefix"="/cygdrive"
"cygdrive flags"=dword:00000022

Conceivable it should be possible to edit the registry by hand and add 
these or change the mount points if these entries already exist.  Or it 
should also work to create a cygwin.reg file with this in it and just 
double-click that file (although I haven't tested it, so I don't know if it 
works...):

REGEDIT

HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2 \/\native = 
D:/cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2 \/\flags = 
dword:0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts 
v2\/usr/bin\native = D:/cygwin/bin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts 
v2\/usr/bin\flags = dword:0000000a]
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts 
v2\/usr/lib\native = D:/cygwin/lib
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts 
v2\/usr/lib\flags = dword:0000000a
HKEY_USERS\.DEFAULT\Software\Cygnus Solutions\Cygwin\mounts v2\cygdrive 
prefix = /cygdrive
HKEY_USERS\.DEFAULT\Software\Cygnus Solutions\Cygwin\mounts v2\cygdrive 
flags = dword:00000022



 >RE: Moving Cygwin Install dir
 >
 >   * To: "Brian Michael Genisio" <genisiob at pilot dot msu dot 
edu>,<cygwin at sources dot redhat dot com>
 >    * Subject: RE: Moving Cygwin Install dir
 >   * From: "Ronald Landheer" <info at rlsystems dot net>
 >    * Date: Mon, 24 Sep 2001 21:24:33 +0200
 >
 > Any ideas to get it back to normal?
 >Yup: re-install using setup.
 >Putting everything in a zip or tarball doesn't take the registry entries 
along, so they stay behind, so Cygwin is >not installed.
 >
 >Just re-install the packages, that won't damage your data (unless you've 
been working on cygwin sources, in >which it might work if you re-install 
and than unroll your tarball over the cygwin tree.
 >
 >Greetz!
 >
 >Ronald


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

- Raw text -


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