X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <4C93BA9B.7050403@bopp.net> Date: Fri, 17 Sep 2010 13:59:39 -0500 From: Jeremy Bopp User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Transfer of installation settings References: <000001cb5692$7afcc170$70f64450$@cvut.cz> <20100917180736 DOT GE3503 AT jethro DOT local DOT lan> In-Reply-To: <20100917180736.GE3503@jethro.local.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 9/17/2010 1:07 PM, David Sastre wrote: > On Fri, Sep 17, 2010 at 08:02:23PM +0200, Milos Puchta wrote: >> I have installation of Cygwin that I want to transfer >> on another computer with Windows 7 operating system >> on both computers (editions are the same). >> I would not like to do it item by item. >> In my understanding >> setup -P {list of packages} >> would help, if I have this list....But how to take >> list of packages from the first computer? > > cygcheck -c | awk '{print $1}' > >> Is there any simple method, how to transfer onstallation >> settings? > > I don't quite understand what you mean here. Most Cygwin configuration information goes into /etc, so if you have replicated the package installation, you can probably just copy the contents of /etc to the new system for the most part, replacing any existing files. You probably need to skip the /etc/postinstall, /etc/preremove, and /etc/setup directories though since those have information regarding the setup process you just ran. You may also want to skip /etc/passwd and /etc/group and just regenerate them in place on the new system in case there are important differences for some reason. Other items such as services you have configured (e.g. sshd) will be easiest to replicate by running their setup/config scripts again as you did on the original computer. In case you don't remember what Cygwin services you have installed, you should be able to list Cygwin services by running the following: cygrunsrv -L -Jeremy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple