delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/23/23:22:22

X-Spam-Check-By: sourceware.org
Date: Sun, 23 Jul 2006 23:21:57 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How can I copy the configuration from one PC to another?
Message-ID: <20060724032157.GE28271@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <44C3F2B9 DOT 8050200 AT gmx DOT de> <slrnec8bhr DOT gco DOT chris AT ccserver DOT keris DOT net>
Mime-Version: 1.0
In-Reply-To: <slrnec8bhr.gco.chris@ccserver.keris.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Jul 24, 2006 at 03:19:39AM +0100, Chris Croughton wrote:
>On Mon, 24 Jul 2006 00:05:45 +0200, Daniela Duerbeck wrote:
>>I think that several people have this problem: If you get a new PC you
>>have to manually switch on all programs that you want or need.  Is it
>>possible to copy the configuration from one PC to another and if, how?
>
>Seconded! I always forget some packages.  If it were in a straight text
>file it could also be used to 'diff' two systems to find version and
>installation differences.
>
>Also, a search facility in setup.exe would be really useful, some of
>the packages are not obviously sorted (ssh for instance is sorted under
>'O' for 'openssh').

You should investigate "cygcheck", "mount", http://cygwin.com/packages/,
and, as Larry indicates http://cygwin.com/problems.html .

It's difficult to understand how you could "forget some packages" if you
are copying an installation from one system to another.  If you copy the
cygwin root (using drag-and-drop, xcopy/s, robocopy, cp, or whatever)
and all of its subdirectories, you're most of the way there.  Using the
output from "mount -m" to recreate the mount table on the other system
will get you even further and, of course, you would have to run
"mkpasswd" and "mkgroup".  If you installed services those will have to
be recreated too.

But, then, with the possible exception of the "mount -m" all of this should
be pretty obvious so there's no way to know where the problem lies.

Maybe you're just staring at the two systems and concentrating really
hard, muttering "Come on! Copy...  Copy..."

That won't work.  Believe me, I've tried.

cgf

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