delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/17/03:22:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Re: Question about moving cygwin to another dirve
Date: Tue, 17 Aug 2004 08:17:27 +0100
Message-ID: <830404B1D376BA46BC25BE71A3E128734C4D95@corvus.tcgp.dundee.ac.uk>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Fergus Daly" <f DOT daly AT tcgp DOT dundee DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
Cc: <yihuli AT ee DOT queensu DOT ca>, <fergus AT bonhard DOT uklinux DOT net>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i7H7MExa031601

> Change the mount information in the registry

Or, if you are nervy about editing your registry,

1. It looks as though your mount points are still located on c: not g:?
At the bash prompt you could try

	mount

just to see what the mount points are. If still c:/.. then try

	mount -m > /bin/mnt.log

and then exit Cygwin. To be honest I'm not certain from what you have
said whether the file mnt.log will have ended up in the directory
c:\Cygwin\bin\ or g:\Cygwin\bin\ but in any case find it, and move to
that directory. From there, and in a command window using any editor,
change all mentions of "c:" in the file mnt.log to "g:". Then, still in
the command window

	.\umount -c
	.\umount -A
	.\bash mnt.log

should set your mount points correctly on g: not c:.

Or

2. I think you should still find umount in either c:\Cygwin\bin\ or
g:\Cygwin\bin\ and from a command window move there and run

	.\umount -c
	.\umount -A

to get rid of all confusions about where you might or might not be
mounted. Then call up http://cygwin.com/setup.exe, press Open not Save,
and when the default 

	c:\cygwin

is offered change it to

	g:\cygwin

and then proceed to the end of setup. (You might or might not be offered
updates, that you can accept or not.) This will recover your mount
points.

Fergus

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019