This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: transfering cygwin configuration from win XP to win 7


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]