From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: cygwin@cygwin.com
Subject: Re: Is there a way to clone-install Cygwin?
Date: Fri, 31 Jan 2020 12:05:00 -0000 [thread overview]
Message-ID: <20200131120526.GA6676@tik.uni-stuttgart.de> (raw)
In-Reply-To: <20200131112904.GC5074@tik.uni-stuttgart.de>
On Fri 2020-01-31 (12:29), Ulli Horlacher wrote:
> > On Mon 2020-01-20 (19:28), Brent Epp wrote:
> >
> > > Cygwin is totally portable! You can simply copy the installation folder to
> > > another PC, copy the shortcut (edit target if needed) and it will work.
> >
> > I have tried it with:
> >
> > /: cat zip.bat
> > cd C:\
> > \7z\7za a -tzip -xr!cygwin64/home/* -xr!cygwin64/var/log/* tmp\cygwin64.zip cygwin64
>
> > Next problem is: the file permissions will not be restored.
>
> And all symbolic links have been extracted as regular files :-(
Next try with tar container:
On the source host I used:
cd /cygdrive/c
tar --one-file-system --exclude=cygwin64/var/log/* --exclude=cygwin64/home/* -cvzf /cygdrive/c/tmp/cygwin64.tgz cygwin64
I transfered this cygwin64.tgz to the destintion host and tried to extract
it:
C:\>ver
Microsoft Windows [Version 10.0.18363.592]
C:\>tar --version
bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.5.f-ipp
C:\>tar -xzf cygwin64.tgz
cygwin64/bin/apropos: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\apropos'
cygwin64/bin/awk: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\awk'
cygwin64/bin/bzcmp: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzcmp'
cygwin64/bin/bzegrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzegrep'
cygwin64/bin/bzfgrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzfgrep'
cygwin64/bin/bzless: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzless'
cygwin64/bin/captoinfo: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\captoinfo'
cygwin64/bin/dnsdomainname: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\dnsdomainname'
cygwin64/bin/domainname: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\domainname'
cygwin64/bin/ex: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\ex'
cygwin64/bin/infotocap: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\infotocap'
cygwin64/bin/lzcat: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzcat'
cygwin64/bin/lzcmp: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzcmp'
cygwin64/bin/lzdiff: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzdiff'
cygwin64/bin/lzegrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzegrep'
cygwin64/bin/lzfgrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzfgrep'
cygwin64/bin/lzgrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzgrep'
cygwin64/bin/lzless: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzless'
cygwin64/bin/lzma: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzma'
cygwin64/bin/lzmore: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzmore'
cygwin64/bin/reset: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\reset'
cygwin64/bin/rnano: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rnano'
cygwin64/bin/rvi: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rvi'
cygwin64/bin/rview: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rview'
cygwin64/bin/rvim: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rvim'
^C
(I have started the cmd shell as administrator)
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF:<20200131112904.GC5074@tik.uni-stuttgart.de>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2020-01-31 12:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-21 0:58 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2020-01-21 1:27 ` Brent Epp
2020-01-31 10:25 ` Ulli Horlacher
2020-01-31 11:29 ` Ulli Horlacher
2020-01-31 12:05 ` Ulli Horlacher [this message]
2020-01-31 12:54 ` Thomas Wolff
2020-01-31 14:06 ` Ulli Horlacher
2020-02-01 10:05 ` Andrey Repin
2020-02-01 11:21 ` BGINFO4X
2020-02-03 16:40 ` Ulli Horlacher
2020-02-03 17:01 ` BGINFO4X
2020-02-04 17:16 ` Ulli Horlacher
[not found] ` <16fc5b08e80.2780.a1382e26d1292f71ec6ef0cd03d49346@pdc.ca>
2020-01-21 2:33 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2020-01-21 2:55 ` Brent Epp
2020-01-21 4:46 ` Marco Atzeri
2020-01-21 20:33 ` Achim Gratz
2020-01-28 21:35 ` Andrey Repin
2020-01-28 22:00 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2020-01-21 19:17 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2020-01-31 14:06 KARL BOTTS
2020-01-31 14:13 ` Ulli Horlacher
2020-01-31 19:21 ` Achim Gratz
2020-01-31 20:25 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200131120526.GA6676@tik.uni-stuttgart.de \
--to=framstag@rus.uni-stuttgart.de \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).