Resizing NTFS partition to make room for FC10

Matthew Flaschen matthew.flaschen at gatech.edu
Sun Mar 1 02:07:39 UTC 2009


Tod Thomas wrote:
> dd if=/dev/zero of=/dev/hda

As noted, this is greatly excessive.  Do:

dd if=/dev/zero of=/dev/hda bs=512 count=1


> dd if=/dev/hdb1 of=/dev/hda1 bs=10000000 count=2000
>  - copies resized xp partition to new drive

That's a bs bs, if you follow me.  If you're going to use bs (byte-size)
and count, use a sane value of bs like the the logical block size.
Otherwise, just leave it out; there's no need.

> Reboot to new drive and all is well.

As noted, you'll need to fix the MBR of hda with fixmbr (or use GRUB).

> Defragging is factored in somewhere prior to this operation.

There is no need to defrag, since you've already done ntfsresize and are
simply going to do a bit-for-bit copy from hdb1 to hda1.  It might have
helped to do a defrag /before/ ntfsresize (since you were "squeezing"
the NTFS filesystem), but no point now.

> I think upon reboot this will trigger xp to perform a chkdisk.

Possibly, due to the earlier ntfsresize.

> Does this make sense?

Mostly.

Matt Flaschen




More information about the fedora-list mailing list