Linux – Copy/clone data from bigger HDD to smaller one

clonehard drivelinux

I have one 500 GB hard drive with Linux Ubuntu and I wish to move it to a smaller SDD drive (40 gigs) because the system itself (with some data) occupies only a few gigs.

I did some searching and found out about dd but apparently it cannot copy to smaller drive (partition table would have incorrect size).

Is there some way how to achieve this and leave the system in tact?

Best Answer

You could use a GParted Live system to resize your Ubuntu partition then use dd to clone it.

Related Topic