public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: LMH <lmh_users-groups@molconn.com>
To: cygwin@cygwin.com
Subject: Re: Copying HDD to another HDD
Date: Sun, 06 Nov 2011 14:20:00 -0000	[thread overview]
Message-ID: <4EB69788.5020503@molconn.com> (raw)
In-Reply-To: <20111106103720.GF23597@mrvideo.vidiot.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

  reply	other threads:[~2011-11-06 14:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-06 10:37 Mike Brown
2011-11-06 14:20 ` LMH [this message]
2011-11-06 14:36   ` Mike Brown
2011-11-06 15:44     ` KHMan
2011-11-06 17:03       ` Mike Brown
2011-11-06 17:16         ` LMH
2011-11-07 10:26       ` Mike Brown

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=4EB69788.5020503@molconn.com \
    --to=lmh_users-groups@molconn.com \
    --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).