clone a disk by dd, but OS still remember its old size

Jeff Vian jvian10 at
Thu Jan 27 01:49:36 UTC 2005

On Wed, 2005-01-26 at 22:19 +0800, patrick at wrote:
> Hi,
> I try to duplicate my xp and FC3 to a larger disk, I try
> 0) use fdisk to partition new disk(hdb)
> 1) dd if=/dev/hda1 of=/dev/hdb1 bs=32256 (for XP)
> 2) dd if=/dev/hda2 of=/dev/hdb2 bs=32256 (for /boot)
> 3) dd if=/dev/hda3 of=/dev/hdb3 bs=32256 (for LVM, and / is included)
> I reinstall grub after everything is finished. Everything works properly, except...
> "from the df and windows explorer, I found both OS still remember their
> old partition's size".  I think partition resize tool like QTparted can help me, but
> it also tells me the partition table is correct, I can do nothing about it.

dd does an EXACT copy of the source.  It is byte-for-byte the same and
will not give you what you want.

> What can I do on XP to make it aware the new space?
Ghost can be used to copy a partition to a new different sized partiton.
I am not sure if any open source software can do that for an ntfs
partition, but g4u works with vfat filesystems.

Try using g4u or ghost to move the data and create the partitions at the
same time.

> Any input would be appreciated.
> Patrick

More information about the users mailing list