Although Cygwin is a self-contained installation with little in the way of the normal tendrils hooked into the dark shady corners of Windows there are a few hidden catches to moving an existing installation.
Cygwin creates a number of mount points for your drives, and it's these that cause the problems when you move your installation directory around.
Here are the steps to move your Cygwin installation:
This tip was compiled from information about Backup Your Cygwin installation
Technorati Tags: Windows, Unix, Linux, Terminal, Cygwin, Installation, Relocation, Andrew Beacock
Cygwin creates a number of mount points for your drives, and it's these that cause the problems when you move your installation directory around.
Here are the steps to move your Cygwin installation:
- Save off existing mount points
mount -m > /usr/bin/mountCommands.bat
- Unmount existing mount points
umount -A
- Copy Cygwin directory to new home
- Update any Windows shortcuts & Start Menu items
- Update the Cgywin path within
$CYGWIN_HOME/cygwin.bat
- Update mount points within
$CYGWIN_HOME/bin/mountCommands.bat
- Re-mount to new location
- Start Cygwin
./mountCommands.bat
- Close Cygwin
- Start Cygwin
- Restart Cygwin, and carry on with life
This tip was compiled from information about Backup Your Cygwin installation
Technorati Tags: Windows, Unix, Linux, Terminal, Cygwin, Installation, Relocation, Andrew Beacock
Comments
I might yet survive the corporate lockdown.