[CentOS] Transferring system to new drive

Timothy Murphy gayleard at eircom.net
Tue Sep 14 12:58:34 UTC 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?


-- 
Timothy Murphy  
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 mailing list