public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: L A Walsh <cygwin@tlinx.org>
To: cygwin@cygwin.com
Subject: Re: tar cygwin64/ from old to new computer:
Date: Sun, 25 Nov 2018 19:22:00 -0000	[thread overview]
Message-ID: <5BFAF665.2030202@tlinx.org> (raw)
In-Reply-To: <8d846c46-bfc4-7841-2ba7-1b354a9763bf@t-online.de>



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


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

  reply	other threads:[~2018-11-25 19:22 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   ` L A Walsh [this message]
2018-11-25 20:05     ` tar cygwin64/ from old to new computer: Andrey Repin
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=5BFAF665.2030202@tlinx.org \
    --to=cygwin@tlinx.org \
    --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).