Results 1 to 3 of 3
hi there....i'm very new to linux.
here is my situation...i have an old server running on redhat 7.2 20Gb. i intended to clone the existing h/d to the new one ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-02-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 51
Cloning Hard Disk..HELP URGENT!!
hi there....i'm very new to linux.
here is my situation...i have an old server running on redhat 7.2 20Gb. i intended to clone the existing h/d to the new one (40Gb) using g4u. my questions are:
1) can i just plug in the new h/d so that my old server has two h/d. then i will use the g4u to clone the old h/d locally.
2) do i have to make a partition on the new h/d. if yes, how?
3)if i succeeded cloning the old h/d into the new one, is the OS will detect my new hardware.(especially my motherboard & graphic card).
thanx in advance
- 02-04-2007 #2Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
try this script.
We did it on Centos, but after you make clone you can not boot comp with both disks together.
#!/bin/sh
newdir=`date --iso-8601`
sync_log=$newdir"sync.log"
echo
echo "Starting to Sync Disk A to Disk B"
echo "Everything on Disk B will be deleted!"
echo
echo -n "Are you sure (y/n) ?"
read result
if [ "$result" = "y" ]; then
echo "Staring sync"
echo "Staring sync" > $sync_log
date >> $sync_log
echo "---------------------------" >> $sync_log
dd if=/dev/hda of=/dev/hdb >> $sync_log 2>> $sync_log
fi
- 02-05-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 51
thanx for the help. fortunately, i manage to clone my h/d using g4u and its works fine.the only things i need to do now is to install my new graphic card driver ( which i didnt know how to start. i noob! )


Reply With Quote
