public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: L A Walsh <cygwin@tlinx.org>, cygwin@cygwin.com
Subject: Re: tar cygwin64/ from old to new computer:
Date: Sun, 25 Nov 2018 20:05:00 -0000	[thread overview]
Message-ID: <1381677255.20181125225824@yandex.ru> (raw)
In-Reply-To: <5BFAF665.2030202@tlinx.org>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1904 bytes --]

Greetings, L A Walsh!



> On 11/25/2018 9:08 AM, Hans-Bernhard Bröker wrote:
>> Am 25.11.2018 um 15:38 schrieb Lester Ingber:
>>> I'd like to simply transfer my cygwin64/ directory from my old Thinkpad
>>> to my new Thinkpad, both running Win 10 x64 Pro.  E.g., I would put my
>>> old c:/cygwin64/ onto a flash SSD USB drive e:/ .
>>> cd c:/
>>> tar cfp - cygwin64 > e:/cygwin64.tar &
>>> Then e:/cygwin64.tar would be mounted on my new computer.
>> 
>> You're overlooking a chicken-and-egg problem there: your new computer
>> has no 'tar' to unpack that file.
> ---
>         Hmm...can't tar it, but he could drag&drop from Explorer
> like he was moving the image (but do a copy instead).

It would screw permissions on Cygwin files/directories.

>         It should pick up everything, as that's what explorer
> would do.  

>         One caveat.  if you have a /etc/passwd + group...
> you will need to change the entries for local users on the disk cuz
> your computer's "machine id" has changed, and local accounts will
> get a different UID because of that.  If you don't use the /etc/passwd
> and group...then it might just work...though there will need to be
> some entry in the registry.  Might be easiest to install an empty
> cygwin on new machine (minimal install, only required packages),
> then copy your old cygwin-dir on top of the new one.

>         The worst that could happen is you'd have to reinstall the 
> normal way. (Obviously you don't destroy old image before new image
> is verified as working).


-- 
With best regards,
Andrey Repin
Sunday, November 25, 2018 22:57:46

Sorry for my terrible english...\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

  reply	other threads:[~2018-11-25 20:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-25 14:39 tar cygwin64/ from old to new computer? Lester Ingber
2018-11-25 17:09 ` Hans-Bernhard Bröker
2018-11-25 19:22   ` tar cygwin64/ from old to new computer: L A Walsh
2018-11-25 20:05     ` Andrey Repin [this message]
2018-11-26 19:19       ` L A Walsh
2018-11-25 17:20 ` tar cygwin64/ from old to new computer? Achim Gratz
2018-11-25 18:50 ` Andrey Repin
2018-11-25 19:31 ` Lester Ingber
2018-11-25 20:13   ` Achim Gratz
2018-11-26 13:47     ` KARL BOTTS
2018-11-26 20:32 Gilbert St. Firmin
2018-11-26 21:22 ` Hans-Bernhard Bröker
2018-11-27 15:20 ` Andrey Repin
2018-11-27 15:34   ` cyg Simple

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=1381677255.20181125225824@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=cygwin@tlinx.org \
    /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).