I cloned a drive using dd on a CentOS 6.2 box. Used the following commands to image then clone:
dd if=/dev/sdb of=/home/al/image.dd
dd of=/home/al/image.dd if=/dev/sdb
I went from a 160 GB drive to a 320 GB drive
No errors reported with either creating the image or restoring the drive.
if I do a fdisk -l. I get partition info on the new drive:
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 25 200781 83 Linux
/dev/sdb2 26 286 2096482+ 82 Linux swap / Solaris
/dev/sdb3 287 19457 153991057+ 83 Linux
Disk /dev/mapper/vg_test-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
However if I try to boot from the drive nothing happens, the drive light on the computer stays lit and the monitor displays a pre-boot screen.
If try to mount the drive:
mount /dev/sdb /media I get the following error:
mount: you must specify the filesystem type
I have tired to mount the drive as ext, ext2, ext3, ext4 and nothing works.
The original drive will mount as a slave in CentOS and will boot.