Thread: Need help in cloning HDD
i have 2 500 gb hdd's. 1 seagate(sda) , wd (sdb). i'm using wd win7 , ubuntu 11.10. wish clone hdd image new seagate 500 gb hdd. output of sudo fdisk -l is:
please guide me through process.code::~$ sudo fdisk -l disk /dev/sda: 500.1 gb, 500106780160 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 4096 bytes i/o size (minimum/optimal): 4096 bytes / 4096 bytes disk identifier: 0x00000000 disk /dev/sda doesn't contain valid partition table disk /dev/sdb: 500.1 gb, 500106780160 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x000b19ed device boot start end blocks id system /dev/sdb1 * 63 104326109 52163023+ 7 hpfs/ntfs/exfat /dev/sdb2 104326110 413561294 154617592+ 7 hpfs/ntfs/exfat /dev/sdb3 413561295 679806539 133122622+ 7 hpfs/ntfs/exfat /dev/sdb4 679806601 976769023 148481211+ 5 extended /dev/sdb5 679806603 875124809 97659103+ 7 hpfs/ntfs/exfat /dev/sdb6 894740480 898643967 1951744 82 linux swap / solaris /dev/sdb7 875126784 894738431 9805824 83 linux /dev/sdb8 898646016 976769023 39061504 83 linux partition table entries not in disk order
assume sda new seagate drive, given sda empty. guess want clone sdb sda. here how done through command line. suggest use computer @ least 4 gb of ram.
should done livecd of ubuntu (i find faster if use usb drive ubuntu on it).
"if"means input file, "of" means output file never confuse these or lost wanted clone!!!!!! can check progress following command (run command in new terminal window):code:sudo dd if=/dev/sdb of=/dev/sda bs=32m conv=notrunc,noerrorgive id code (the number in output), run command:code:pgrep -l '^dd$'code:kill -usr1 xxxxx
use number pgrep out put in place of xxxxx. in original window dd command run output amount of copied bytes. when command finished output more info in same fashion kill command.
don't until 100% sure doing, going happen, , have set correctly. if mess can/will lose everything.
alphaa
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Need help in cloning HDD
Ubuntu

Comments
Post a Comment