From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32691 invoked by alias); 12 Jul 2012 20:28:07 -0000 Received: (qmail 32682 invoked by uid 22791); 12 Jul 2012 20:28:07 -0000 X-SWARE-Spam-Status: No, hits=2.7 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org Received: from vms173019pub.verizon.net (HELO vms173019pub.verizon.net) (206.46.173.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Jul 2012 20:27:52 +0000 Received: from [192.168.1.231] ([unknown] [108.7.54.123]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M7200F4ME6BARDO@vms173019.mailsrvcs.net> for cygwin@cygwin.com; Thu, 12 Jul 2012 15:27:52 -0500 (CDT) Message-id: <4FFF3343.5010103@cygwin.com> Date: Thu, 12 Jul 2012 20:28:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: best way to re-install and keep cygwin configuration References: <4FFF12A6.5000100@molconn.com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00240.txt.bz2 On 7/12/2012 4:10 PM, Earnie Boyd wrote: > On Thu, Jul 12, 2012 at 2:08 PM, LMH wrote: >> I am getting ready to re-install XP and I would like to avoid having to >> completely redo my cygwin install. Is there a way to export the current >> settings (installed packages, etc) and then re-import it after re-install? >> >> I was thinking of just copying my cygwin_install directory that has >> setup.exe and the mirror folders and then reintroducing that to the new >> install, or just copying the entire cygwin root folder as well. >> >> Is there a prescribed method for this? > > Barring a backup utility to restore it later, I would suggest a > straight copy to an external disk or perhaps burn it on a DVD. Be > sure to export a copy of the registry so you can later import it. > So the only reason to care much about the registry is if you want cygcheck to be able to report where your Cygwin installation is. This can be nice if you need to send your cygcheck information in when getting help from the list but it would also presuppose that you put Cygwin right back in the same location as in your current installation. While I would also tend to just copy off my current Cygwin install and then plop it back in when I finished the O/S reinstall, there will be things like local user and group accounts in '/etc/passwd' and '/etc/group' that will need updating. A reinstall of Cygwin avoids some of these little clean-up tasks that come from just copying over a previous installation. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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