delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/12/21:20:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Fri, 13 Jul 2012 05:09:16 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <176672993.20120713050916@mtu-net.ru>
To: LMH <lmh_users-groups AT molconn DOT com>, cygwin AT cygwin DOT com
Subject: Re: best way to re-install and keep cygwin configuration
In-Reply-To: <4FFF12A6.5000100@molconn.com>
References: <4FFF12A6 DOT 5000100 AT molconn DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Greetings, LMH!

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

Just pack up the installation directory, and splash it somewhere afterward.
You'll have to regen the /etc/passwd and /etc/group, unless you're running in
domain environment.
On an unrelated note, install Cygwin on a separate partition next time. :)

> I was thinking of just copying my cygwin_install directory that has 
> setup.exe and the mirror folders

Totally unnecessary. If you've maintained your installation for quite some
time, updating regularly, then setup cache contains lots of obsolete packages.
Would be much, much faster to just burn it and download new setup.exe when you
need it.

> and then reintroducing that to the new install, or just copying the entire
> cygwin root folder as well. 


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 13.07.2012, <05:04>

Sorry for my terrible english...


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