Solved

Cygwin: need to copy/clone configuration

Posted on 2014-04-17
11
370 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 166 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 334 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 32

Assisted Solution

by:phoffric
phoffric earned 334 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

717 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