delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/06/10:44:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4EB6AB46.5060109@gmail.com>
Date: Sun, 06 Nov 2011 23:44:06 +0800
From: KHMan <keinhong AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Copying HDD to another HDD
References: <20111106103720 DOT GF23597 AT mrvideo DOT vidiot DOT com> <4EB69788 DOT 5020503 AT molconn DOT com> <20111106143533 DOT GQ23597 AT mrvideo DOT vidiot DOT com>
In-Reply-To: <20111106143533.GQ23597@mrvideo.vidiot.com>
X-IsSubscribed: yes
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

On 11/6/2011 10:35 PM, Mike Brown wrote:
> On Sun, Nov 06, 2011 at 09:19:52AM -0500, LMH wrote:
>> I think you want to use a disk clone to do this, something like the
>> clonezilla live CD. As long as the drives are the same size, or the target
>> drive is larger, clonezilla will just copy one drive to the other. It does
>> a bit by bit clone, so it doesn't care about files and permissions and
>> such.
>
> Unfortunately the original is larger.
>
>> Even if you could copy with cp, you need the boot sector and such to get
>> the OS up, so that wouldn't work.
>[snip snip]
> An interesting thought just came to mind.  If I can get all of the XP stuff
> copied over and get it to boot and finish the XP upgrade, I can then copy
> over the remainder of the files for all of the other stuff, as I'll now have
> the permissions I need.

Some random notes. fsarchiver also allows for flexibility on size. 
But I have mostly used partimage from systemrescuecd in practice 
for the bootable partition, for: (a) moving from IDE to SATA, (b) 
moving from SATA to a larger SATA, and (c) restoring older 
partition image due to flakey 780G support in new ATI drivers.

Restoring using partimage onto a larger partition area gives a 
partition of the old size, which can then be expanded using 
gparted. gparted can shrink NTFS too, I think, but I have never 
used it since I size boot partitions rather small.

IIRC, I moved cygwin folders by cutting-and-pasting folders while 
both drives are installed. Since I use the traditional simple 
security scheme, I cannot say for sure whether any of the above 
will work in all cases.

-- 
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

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