Re: [SOLVED] Unallocated space and corrupted NTFS after resize
Assuming you've got a new partition on a new drive of size 1341728768 512-byte sectors (or larger) of type HPFS/NTFS/exFAT.
Lets call it:
0 - 207631 MiB - Start of FS, single copy
207632 - 227524 MiB - More of FS, first copy of duplicate section
227525 - 247417 MiB - More of FS, second copy of duplicate section
247417 - 748452 MiB - End of FS, single copy
We want to copy:
1. From the start to ~1/2 way through "More of FS, first copy of duplicate section" and
2. From ~1/2 way through "More of FS, second copy of duplicate section" to the end
just skipping 19893 MiB in the middle.
Copy first 220000 MiB
Skip next 19893 MiB
Copy 239893 MiB onwards
dd if=/dev/sdb6 bs=1M count=220000 of=/dev/$NEWPTN dd if=/dev/sdb6 bs=1M skip=239893 seek=220000 of=/dev/$NEWPTN