delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/13/21:46:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040113214032.03814ac8@127.0.0.1>
X-Sender:
Date: Tue, 13 Jan 2004 21:42:48 -0500
To: cygwin AT cygwin DOT com, jon wild <wild AT fas DOT harvard DOT edu>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: recovering cygwin settings after a Win98 anomaly
In-Reply-To: <Pine.GSO.4.56.0401131920300.2663@slinky.cs.nyu.edu>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0401131828570 DOT 14745-100000 AT ls03 DOT fas DOT harvard DOT edu> <Pine DOT GSO DOT 4 DOT 56 DOT 0401131920300 DOT 2663 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0

At 07:26 PM 1/13/2004, Igor Pechtchanski you wrote:
>On Tue, 13 Jan 2004, jon wild wrote:
>
>> Hello all
>>
>> This sounds like it should be a FAQ question but I couldn't see it there.
>> Sorry in advance if this is tedious.
>>
>> A few days ago my OS (Win98) inexplicably reverted to a much earlier
>> registry version, resetting all program preferences and file associations
>> etc. Big headache--and recent registry restore files were all wiped at the
>> same time, so I can't fix everything in one fell swoop. The registry was
>> reset to a time (4 years ago!) when I didn't have cygwin installed, which
>> I presume is the cause of the present problem I am having. Cygwin boots
>> into the wrong folder, and won't recognise commands apart from pwd and cd
>> (as far as I've checked--no ls etc). If I cd to my home directory and try
>> to run one of my executables there, I am told that cywin1.dll doesn't
>> exist, though windows sees it fine (in c:\cygwin\bin).
>>
>> Everything was running v smoothly before the anomaly. Is there a simple
>> way I can fix whatever happened? Or will I have to reinstall cygwin from
>> scratch? If anyone can point me in the right direction for understanding
>> what happened and how to fix it, I'll be grateful. I don't know much about
>> the interaction between cygwin and windows, I just use it for compiling
>> and running C programs and some batch text-processing, so apologies if the
>> question is very basic.
>>
>> Thanks --Jon Wild
>
>The only thing Cygwin normally stores in the registry at this point are
>mounts (technically, there are other things, but if you'd used them, you'd
>know how to fix this).
>
>If you've installed in the standard location, try running the following
>commands (from c:\cygwin\bin):
>
>mount -s -b --change-cygdrive-prefix "/cygdrive"
>mount -f -s -b "C:/cygwin" "/"
>mount -f -s -b "C:/cygwin/bin" "/usr/bin"
>mount -f -s -b "C:/cygwin/lib" "/usr/lib"
>
>If you've installed X, you should also run
>
>mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts"
>
>If you didn't install in the standard location, change "C:/cygwin" in the
>above commands to the location where you installed Cygwin.
>
>Please let the list know if this works for you.


Or, if you're not this adventurous, just rerun setup.  It will recreate 
the mount points you're missing.  It will even update any packages that
might be out-of-date to boot! :-)




--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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