On Wed, 26 Jan 2005 19:49:36 -0600, Jeff Vian <jvian10@xxxxxxxxxxx> wrote: > On Wed, 2005-01-26 at 22:19 +0800, patrick@xxxxxxxxx wrote: > > 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. Read up on the man pages for lvextend and resize2fs. Partitioning and dd-copying is only the first step. It does an exact byte copy, which includes all the LVM and filesystem formatting information. So even though you have larger partitions, the extra room is not being used until you extend the logical volumes and filesystems to take advantage of the extra room. -- Deron Meranda