[CentOS] Transferring system to new drive
gayleard at eircom.net
Tue Sep 14 08:58:34 EDT 2010
Marcelo M. Garcia wrote:
>> I was thinking of copying the old root partition with
>> sudo cp -a -P /* /mnt/hd
> I think the command rsync is a better approach for this task. It has
> much more features, for example, you can exclude certain files.
Thanks for the suggestion.
Could you offer a precise command for copying the system
from / to /mnt/hd , say?
Would one exclude /dev or /proc , for example?
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
More information about the CentOS