delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/12/16:28:17

X-Recipient: archive-cygwin AT delorie DOT com
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
Message-id: <4FFF3343.5010103@cygwin.com>
Date: Thu, 12 Jul 2012 16:27:47 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: best way to re-install and keep cygwin configuration
References: <4FFF12A6 DOT 5000100 AT molconn DOT com> <CA+sc5m=qS_HiMntUncHuWN85Q5MbZaLeL+EQukYOG=kfVUfOgQ AT mail DOT gmail DOT com>
In-reply-to: <CA+sc5m=qS_HiMntUncHuWN85Q5MbZaLeL+EQukYOG=kfVUfOgQ@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 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.
>

<http://cygwin.com/faq-nochunks.html#faq.setup.registry>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019