I've a Seagate hard disk divided into 5 partitions: C, D, J, K, and H. C and D are primary partitions with C as the system drive hosting Windows XP.
I'd like to clone partitions C, D, and J only to a new, larger sized WD Caviar Black drive, and replace my old Seagate with the WD. Ideally, the end result is that the cloned C, D and J partitions will be identical in size to the existing ones, with a large unformatted section on the WD drive.
What would you recommend as the most straightforward procedure to accomplish the above objective using free software tools? I've spent some time reading about DriveImage XML, BartPE and a few tools but none seems to offer the selective cloning feature. Further, there appears to be frequent problems with how to set the OS partition of the new drive active.
Just boot an Ubuntu cd and use a simple command known as dd to make an exact copy of your Seagate disk. This would be accomplished by a command such as:
sudo dd if=/dev/sda of=/dev/sdb bs=1M
The 'if=' section specifies the input file, or call this the 'source'
The 'of=' section specifies the output file, or call this the 'target'
The bs specifies blocksize and is not required but will make the data transfer faster
This dd command will copy all data from disk /dev/sda to the target disk /dev/sdb. You need to change these names to correspond with the actual harddrives once you booted Ubuntu. To get a list of all harddrives found by the system, issue a: 'dmesg | grep sd' without the quotes. This will give you alot of text but you can see your disks labeled sda, sdb, sdc and so on. Figure out which one is the source or target disk.
So in short:
1. download ubuntu and boot from it
2. open a terminal and find out which names your disks have with 'dmesg | grep sd'
3. issue the dd command and double check if its correct
If you mix the source and target drives the other way around, you will loose your data so be sure to insert the command properly. After that, simply shutdown your pc and connect only the new drive, which now contains a complete copy of your old one. You can use partitioning tools to use the additional space your older drive didn't had.