Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Copying a partition from one disk to another

  • Subject: Re: Copying a partition from one disk to another
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Sun, 01 Oct 2006 00:02:46 +0100
  • Newsgroups: uk.comp.os.linux
  • Organization: schestowitz.com / ISBE, Manchester University / ITS / Netscape / MCC
  • References: <VA.00000f01.04fa489d@nospam.aaisp.org> <slrnehtai3.2m8.andy@gently.org.uk>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ Andy Hawkins ] on Saturday 30 September 2006 18:39 \__

> In article <VA.00000f01.04fa489d@xxxxxxxxxxxxxxxx>,
>            Daniel James<wastebasket@xxxxxxxxxxxxxxxx> wrote:
>> I do need to preserve the file permissions and symlinks, not just copy
>> data .. what's the best set of tools to use to achieve this?
> 
> (cd /mnt/src && tar cf - *) | (cd /mnt/dest && tar xf -)

Snazzy.

Another approach:

dd if=/dev/hdd0 of=/some-location/hdd0.img

(ensure file system is not mounted)

http://freshmeat.net/projects/sdd/
http://freshmeat.net/projects/g4l/

There's also Qtparted and Gparted, but they might offer a
laborious-to-complete solution.

Best wishes,

Roy

-- 
Roy S. Schestowitz      |    Have you hugged your penguin today?
http://Schestowitz.com  |  Open Prospects   ¦     PGP-Key: 0x74572E8E
Tasks: 133 total,   1 running, 130 sleeping,   0 stopped,   2 zombie
      http://iuron.com - knowledge engine, not a search engine

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index