delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/25/14:22:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=W/eS600lKXJWsS4pMh4LWTMWeRH+vpRgysIj182omIX
eSu87etgNCLDuYcfwPy+FtXq0F633YHj+WB0DAeB+uiUFOc5NYAGioKOia7g7Ucm
gj1WNCVSPVbuzZtjdRir1bI8aN//2HmT+j7ViqM1nKPHRJ2B7DVSsKUnOGvPYtVc
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=k7frevG08Zt97aR459hzeFXD/I4=; b=VnaTdvQxZ/5EzOYad
5KXVpJk1J7qOm/Olit9uIkHx1pFEv/HlGi/+sKuQw8LjNGdNXoi5bWJibzwR5mcD
aaxxFWq+W0OfcpVdp1Lh+okHb9meS0tQngeZZS9qGWnZoiADETtlkZ+iKynw5bUA
dWOc0uRQ3CwKGSh47RC+YS5b3Q=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_40,GIT_PATCH_2 autolearn=ham version=3.3.2 spammy=pick, computers, schrieb, Lester
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5BFAF665.2030202@tlinx.org>
Date: Sun, 25 Nov 2018 11:22:13 -0800
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: tar cygwin64/ from old to new computer:
References: <20181125143854 DOT GA20164 AT ingber DOT com> <8d846c46-bfc4-7841-2ba7-1b354a9763bf AT t-online DOT de>
In-Reply-To: <8d846c46-bfc4-7841-2ba7-1b354a9763bf@t-online.de>
X-IsSubscribed: yes


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019