delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/06/19:49:28

X-Spam-Check-By: sourceware.org
Date: Wed, 6 Jun 2007 19:49:05 -0400
From: David Arnstein <arnstein AT panix DOT com>
To: cygwin AT cygwin DOT com
Subject: [cgf-use-the-mailinglist-please AT cygwin DOT com: Re: replicating my cygwin install on a different machine]
Message-ID: <20070606234905.GA3970@panix.com>
Reply-To: arnstein AT pobox DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.5.10i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

----- Forwarded message from Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> -----
I would not suggest using "zip" as the mechanism for backing up and
restoring.  As has been noted 10497 times in this mailing list Windows
ZIP does not properly save the bits needed to recreate things like
symlinks.

And, we've also mentioned at least as many times that you DO NOT MANIPULATE
THE REGISTRY DIRECTLY.  Use "mount -m" to create a .bat file suitable for
recreating the mount table.

So, the proper way to do this is to copy cygwin1.dll, tar.exe, mount.exe
to the other computer, in a temporary directory.  Run the .bat file
created by mount -m to recreate the mount table and use tar.exe to
extract the tar ball created.
----- End forwarded message -----

Will this alternate method work? I am thinking about trying this.

1. Archive the "Local Package Directory" that features in setup.exe.
2. Restore the above to the new computer. Preserve file structure, but
   don't worry about permissions or symlinks. Make everything read and
   writable by everyone.
3. Run setup.exe on the new computer. Apply the "Install from Local
   Directory" option. Select the new location of the above "Local
   Package Directory" that was restored in step 2.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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