X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,TW_XV
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: ycweUreswBCK.d0cygTP5tXwHncbOU7YVeVfIxOQoyRMI2IuIKLmUqE-
Message-ID: <4EB69788.5020503@molconn.com>
Date: Sun, 06 Nov 2011 09:19:52 -0500
From: LMH <lmh_users-groups@molconn.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Copying HDD to another HDD
References: <20111106103720.GF23597@mrvideo.vidiot.com>
In-Reply-To: <20111106103720.GF23597@mrvideo.vidiot.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.

Even if you could copy with cp, you need the boot sector and such to get 
the OS up, so that wouldn't work.

LMH



Mike Brown wrote:
> I'm in a situation where a new mobo refuses to boot the SATA boot HDD, but it
> will boot an IDE drive.
>
> So, I'm trying to copy all of the files from the SATA drive to the IDE drive,
> but I'm hitting a roadblock where there are files with 10-digit user/group
> IDs and file persmissions of 700, which means I can't copy the files because
> the Windblows IDs are different.  It is XP Pro - 32 bit.
>
> What can I do that will allow me to do this:
>
>      cd h:
>      (cd g:/ ; tar cf -)|tar xvpf-
>
> and get all of the files copied from the SATA drive (g:) to the IDE drive (h:)?
>
> Thanks.
>
> Oh, and yes, the normal Windblows copy fails as well.  Even though I am the
> only user on the system and should have 100% administrative permission, there
> are file that I can't copy.
>
> MB

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

