delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/23/14:43:06

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
Date: Thu, 23 Sep 2004 14:42:51 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: special install
In-Reply-To: <Pine.GSO.4.61.0409231438050.22306@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.61.0409231441230.22306@slinky.cs.nyu.edu>
References: <7D4F19744C396841A2E93891806C7CE313A02B AT aplesfreedom DOT dom1 DOT jhuapl DOT edu> <81pt4crjno DOT fsf AT adboyd DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0409231323590 DOT 12402 AT slinky DOT cs DOT nyu DOT edu> <20040923174211 DOT GD19595 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 61 DOT 0409231438050 DOT 22306 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 23 Sep 2004, Igor Pechtchanski wrote:

> On Thu, 23 Sep 2004, Christopher Faylor wrote:
>
> >[snip]
> > something like this should still work, though (untested):
> >
> > 1)
> > On the reference system:
> >
> >   mount -m > mounts.bat
> >   cd /
> >   tar -cjf /cygdrive/c/cygwin.tar.bz2 --exclude=/etc/passwd --exclude=/etc/group
> >
> > 2)
> > "Somehow" copy the following files to a temp directory on the new system, e.g.,
> > c:\tmp:
> >
> > cygwin1.dll
> > mount.exe
> > mkpasswd.exe
> > mkgroup.exe
> > tar.exe
> > bzip2.exe
> > mounts.bat
> > cygwin.tar.bz2
> >
> > 3)
> > In c:\tmp
> >
> >   .\mounts.bat
> >   mkpasswd -l # or -d, or whatever options are appropriate
> >   mkgroup -l  # or -d, or whatever options are appropriate
> >   c:
> >   cd \cygwin # or whereever cygwin's root is
> >   tar --use-compress-program=/cygdrive/c/tmp/bzip2.exe -xf /cygdrive/c/tmp/cygwin.tar.bz2
> >
> > There are probably some details that I forgot and some other minor
> > cleanups to worry about but I don't see why the above shouldn't
> > work, at least in principle.
> >
> > cgf
>
> FWIW, the above is missing at least a couple of things:
>
> - The /etc symlinks
> - The "rm /rf c:\tmp\cygwin1.dll". :-D
            ^
Ugh, how'd that get there?  Make that "rm -rf c:\tmp\cygwin1.dll" or "del
c:\tmp\cygwin1.dll" (removing the other stuff is optional).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

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