At Fri, 25 Mar 2005 11:12:16 +0100 Rodolphe Rocca <[EMAIL PROTECTED]> wrote:

> Mike Turcotte wrote:
>> Hello!
>> 
>> I would like to move a partition from one disk to the other, so I
>> can make use of more space. What I have done is create a new
>> partition on the other disk, and just copied all files
>> over.
>> 
>
> Copiyng files is not good when you move a partition: you get bad
> files ownership/permissions.  You could have used the tar command
> with the -p option (especially if you have different file systems on
> each partition), but the best in this case would have been dd:
>
> dd if=<input_file> of=<output_file>
>
> for instance:
>
> dd if=/dev/hda1 of=/dev/hdb1

Would copying the partition like that work if they are different
sizes?

I would suggest the double tar solution you mentioned, or perhaps cp -a.

allan
--
[email protected] mailing list

Reply via email to