?
Solved

Cygwin: need to copy/clone configuration

Posted on 2014-04-17
11
Medium Priority
?
375 Views
Last Modified: 2014-05-11
Hi folks,

Here is the scenario, our engineering team was working on Cygwin on Windows XP, due to some reason, XP got corrupted, now we have setup a new machine with a brand new XP too, with exactly same configuration and setup and when we installed Cygwin on it, it's not the same as that old one.

Now the question is how to get that old configuration information and place it on this new one and those folks don't even know what they had done there, because some other guy did it and he is no more in the company.

And they are insisting to have the same/old XP Cygwin setup on this new XP machine.

I've the old/complete Cygwin folder with me, but don't know, what & where to look for there configuration setup/changes.

Please assist/guide/help ... thanks in advance.
0
Comment
Question by:mkhandba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
11 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 498 total points
ID: 40006720
install cygwin in minimal config
extract old content over it replacng files
(Or install proper Linux, as XP is fertilizing grass for couple of weeks now)
0
 
LVL 32

Assisted Solution

by:phoffric
phoffric earned 1002 total points
ID: 40006749
>> insisting to have the same/old XP Cygwin setup on this new XP machine
Exactly what are the symptoms that the users are complaining about. More specifically, what is not working for them?

In addition to gheist's good suggestion, there may be a permissions issue that you will have to handle. Possibly, each user will have to create their own /home/username which should happen when they first open their Cygwin terminal in the new configuration; and then you may have to load each one of their folders into their respective login directories.
0
 

Author Comment

by:mkhandba
ID: 40007060
This is a temporary arrangement, will be moving to Windows 8 soon.

Can you please share or better to say, what to replace, which directories are good to replace with the old version.

And for the symptoms, they are working on some UI and not getting the same interface, as they were getting on old version.

But if you can tell me the precise questions, I can ask the same.

Please assist ... thanks.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 32

Assisted Solution

by:phoffric
phoffric earned 1002 total points
ID: 40007305
>> they are working on some UI and not getting the same interface, as they were getting on old version.

Does each user have their own cygwin account?

What are you using for your X-server - maybe Xming?

Is it just the look and feel of their GUIs that is different (e.g., wrong sizes, colors, fonts, etc.), or maybe their terminal is different. Could you find out more specifically what is wrong with their GUI. When you say not the same "interface", are widgets missing on their GUI?

Do what gheist's suggested, but in a new cygwin2 tree (or preferably, on a different platform that everyone can get access to). (You cannot just copy your backup over their existing folders or they lose their current work/data.)

After all users have logged out, you should backup the entire new cygwin tree.

One possible suspect is the X resources or X defaults may not be the same as on the new system. I have not used Cygwin for developing GUIs. But maybe it is just a matter of getting some backup .X files over to the new cygwin. Do you see .Xdefaults or .Xresources in any of the /home subfolders? Here is a reference that may come in handy:
how to set X resources in Cygwin
0
 

Author Comment

by:mkhandba
ID: 40007430
Thanks folks, just shared the same with the team, as heard from them, will share here.

And thanks again for all your help, assistance & guidance ... much appreciated.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40007895
Install cygwin by pressing enter around 12 times
Then unzip old files in:
C:\CYGWIN\*

DONE
0
 

Author Comment

by:mkhandba
ID: 40017932
Folks, still waiting for the actual/real questions, as I got them, will share it with you all.

Thanks again.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40019680
cygwin dll is entered once in registry by installer (but will work without that too)
rest is in c:\cygwin - package database, all config
I suspect it is you to ask REAL questions here..
0
 
LVL 32

Expert Comment

by:phoffric
ID: 40021962
mkhandba,

Just follow gheist's advice just making sure that you do not overwrite user's development folders. If all of their development is saved in a configuration manager that is backed up outside of Cygwin, then you should be OK.

Being the cautious type that I am, I would do what gheist suggested on a separate sandbox platform (or VM), and get one user to confirm that all is back to normal. This is also a way to make sure that you do not lose any user data in the process of reinstalling Cygwin and overwriting it.
0
 

Author Comment

by:mkhandba
ID: 40048318
sorry for the delay folks, but they never got back and never provided any information at all, and have no idea, where do they stand, at this pointe in time too.

thinking of closing this question, granting points to every one.
0
 
LVL 32

Expert Comment

by:phoffric
ID: 40048406
At the moment, I don't think closing the question is the right course of action. It sounds like you do not know yet whether the suggestions posted posted will work, so you don't really know if any posts are valid answers. Why not try the suggestions in a sandbox and see if that helps one of the users?
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question