delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/27/10:52:40

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
Date: Fri, 27 Jun 2003 10:52:23 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Download from internet = 1Mb?! (potential FAQ entry)
Message-ID: <20030627145223.GA3085@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000701c33c7a$7a4ab960$6fc82486 AT medschool DOT dundee DOT ac DOT uk>
Mime-Version: 1.0
In-Reply-To: <000701c33c7a$7a4ab960$6fc82486@medschool.dundee.ac.uk>
User-Agent: Mutt/1.4.1i

On Fri, Jun 27, 2003 at 08:05:13AM +0100, fergus AT bonhard DOT uklinux DOT net wrote:
>> There are ways of downloading an installation set that involve
>> temporarily blinding Windows to your installed Cygwin.
>
>OK, here goes. You've got Cygwin up and running and maybe even up-to-date.
>You want to (1) blind Windows to its existence; (2) download a complete
>installation set; (3) recover your existing installation.
>
>(1) From Cygwin:
>
>    mount -m > /bin/remount.txt
>
>(This puts an instruction list to achieve (3) into a text file called
>remount.txt located in c:\Cygwin\bin\. It's a convenient location for
>picking up later.)
>
>Then issue the command
>
>    umount -A.
>
>Exit Cygwin.
>
>Now, from Windows Explorer (or however you prefer to do it) rename the
>Cygwin folder to SomeOtherName. (You need to rename your Cygwin directory
>otherwise setup will still find c:\Cygwin\setup\etc\installed.db and a few
>other things. You don't want this!)
>
>That completes the blinding.
>
>(2) Now run http://cygwin.com/setup.exe and ask for Download from Internet.
>Download to some well-named directory like c:\Cyg0\ or similar. The default
>will give you a Base installation set. Change All Default to All Install to
>download a Full installation set.
>
>When the download is over, then I _think_ that as well as the two filled
>directories c:\SomeOtherName\ and, now, c:\Cyg0\ you will also have a new
>directory c:\cygwin\ . (I've just tried it, and I did have it, though it was
>almost empty.) You don't want this, so simply remove it.
>
>That completes the Download.
>
>(3) Now you want to recover your previous Cygwin installation. Rename
>SomeOtherName back to Cygwin. Then run
>
>    c:\Cygwin\bin\bash
>
>to obtain a bash window (probably with the prompt  bash-2.05b$. You might
>get a "warning: could not find /tmp" msg, but this does not matter.) From
>here,
>
>    pwd              # to confirm your current location
>/cygdrive/c/Cygwin/bin/
>    PATH=.           # so that the "mount" command can be found
>    bash remount.txt # to process the remount script
>
>Then exit.
>
>Then you can start Cygwin just as you used to.
>
>Fergus
>
>PS. I _think_ this is as simple as you can get. If anybody notices a
>redundant step or unnecessary complication, please say.

FWIW, the above is exactlhy how I would do this.  So, that's either very
scary or somewhat reassuring, I suppose.

Thanks, Fergus.  Perhaps we should add this to the FAQ?

cgf

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