X-Spam-Check-By: sourceware.org Date: Sun, 23 Jul 2006 23:21:57 -0400 From: Christopher Faylor 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 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/