Hi guys,
    Applogies for the mail client but once this question is answered I should be able to return to something Linux based :)  ). I need to upgrade my hard disks in my main server from the 2gig drives it currently has to a couple of 6 gig drives that I have spare (the 2's are almost full).
 
What I was planning to do was install the new drives and mount them as /mnt/temp and /mnt/temp2 for example and then run cp -a / /mnt/temp so as to copy everything form the root structure across.. but I got to thinking.. wouldn't it eventually try to copy the /mnt/temp content into itself and start a really bad loop? What is the best way to upgrade hard drives in a Linux box?
 
Is there any software which will just write out the contents of an actual partition to another? ie copy /dev/hda1 to /dev/hdc1 or something like that.. ignoring the mount points etc.
 
I also realise I'm going to need to make a boot disk and boot off that the first time to run lilo to write to the boot sector of the new hard disk when it is moved to /.
 
TIA (I can always rebuild it but there were alot of things like snort etc that were configured as well as demarc which requires a decent amount of config time and I'd rather avoid that if possible)
 
Paul

Reply via email to