This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: transfering cygwin configuration from win XP to win 7
- From: Robert Klemme <shortcutter at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 9 Oct 2013 09:12:09 +0200
- Subject: Re: transfering cygwin configuration from win XP to win 7
- Authentication-results: sourceware.org; auth=none
- References: <5252F02B dot 2060705 at free dot fr> <CAJ3eT+92CdByebNmd2ozN5fpOy9_TCBgwf7B1o6yS96zEidjWw at mail dot gmail dot com>
On Tue, Oct 8, 2013 at 11:33 PM, Chris Olin <chris@chrisolin.com> wrote:
> I recently did this at work by backing up the C:\cygwin directory, my
> Windows user profile directory and manually creating the directory
> path C:\cygwin\etc\setup, then copying
> C:\cygwin\etc\setup\installed.db to the new computer, running the
> installer, and changing the install method from "Default" to
> "Reinstall". Because my previous installed.db file is where the
> installer would be looking for it, it thinks that all of the packages
> I had installed are installed, so switching the install method to
> reinstall, everything is reinstalled.
That's a nice trick! Thank you!
> I pass 'winsymlinks' to the CYGWIN environment variable and create a
> symlink from /cygwin/c/Documents and Settings/Chris Olin to
> /home/colin and update /etc/passwd to point to the new home directory.
> After recreating this symlink, it was just a matter of manually
> copying over configuration files and directories back into my home
> directory.
I follow a different approach: I have a cygwin-home under my Windows
home directory and have created a symlink pointing from /home/rklemme
to that directory. Advantage: all backups from my Windows home also
include cygwin settings and I need to only update that single symlink
if I throw away my cygwin installation and reinstall.
Kind regards
robert
--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/
--
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