[CentOS] Transferring system to new drive

Timothy Murphy

gayleard at eircom.net
Tue Sep 14 12:12:46 UTC 2010


Is there a document with instructions for this?
I've had smartd warnings that a hard disk in my server is sick,
so I am installing a new drive (in addition to the old).

I was thinking of copying the old root partition with
	sudo cp -a -P /* /mnt/hd
(after mounting the prospective new root partition).
Then I'd have to modify the new /etc/fstab .

Is that a sensible approach?

-- 
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