Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The computer in question is a Windows 8 machine. I've cloned a SSD using dd, like so: dd if=/dev/sdb of=/dev/sda.

The machine boots with the new hard drive, and the issue is that the partition table from the source was 1TB, the destination drive was only 480GB. Windows still thinks that the drive is 1TB, and I need to resize the partition so it's aligned with the physical disk.

share|improve this question
The safest approach would be to shrink the original partition and then redo the copy. – Harry Johnston Nov 26 '12 at 1:44
up vote 1 down vote accepted

Doing a low-level disk clone with dd from a larger disk to a smaller one is very likely to result in lost data. Any files that happened to be stored after the 480GB mark on your source disk will now be lost on your 1TB target. Thus, the best way to do the job is to use another utility. Offhand, I don't know of any Linux utilities that will do this job for NTFS (IIRC, ntfsclone requires that the target be at least as large as the source). I'm sure there are Windows backup utilities that will do the job. I've used XML Backup once or twice in the past, but it's been a while, so I'm not sure how well it would handle your situation. Alternatively, you could use ntfsresize to shrink the source filesystem before cloning the disk with dd or ntfsclone. Be aware, though, that filesystem resizing tools always pose a risk; you could end up losing data in your effort to clone the filesystem.

I don't know offhand how ntfsresize or similar utilities will react to a filesystem that's larger than the containing disk. They might work, or they might crash or even damage the filesystem. Thus, to be safe, I recommend going back and doing it again in a more appropriate way.

share|improve this answer
The cloning as successful. The machine is in the Os and works fine. It's all bootable. However, the partition is reporting its 1TB, when it needs to be 480GB. – Michael Nov 23 '12 at 20:49
Just because you can read some files from the filesystem does not mean that you can read all files from the filesystem. It's conceivable that you got lucky and all your files are intact, but I wouldn't want to bet anything on it. – Rod Smith Nov 24 '12 at 3:52
For simplicity; what I ended up doing was restoring the unit back to the factory settings, this made it possible to re-size all the partitions down so they would fit on the destination disk. – Michael Mar 13 '13 at 17:33

Make a partition as big as the drive and use ntfsresize.

share|improve this answer
There is also resize2fs if the filesystem is not ntfs – Ярослав Рахматуллин Nov 23 '12 at 18:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.