This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[cgf-use-the-mailinglist-please@cygwin.com: Re: replicating my cygwin install on a different machine]
- From: David Arnstein <arnstein at panix dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 6 Jun 2007 19:49:05 -0400
- Subject: [cgf-use-the-mailinglist-please@cygwin.com: Re: replicating my cygwin install on a different machine]
- Reply-to: arnstein at pobox dot com
----- Forwarded message from Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.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/