In my case -icds
alone has not solved the problem.
I don't know if the problem is exactly the same as mine. But I left here my cent.
I have tried a disc to disc clone from a 930GiB HDD (source drive) with a GPT partition table to 890GiB SSD (destination). Please note I am a Linux user and I have a dual boot with windows 10. I have tried to left unchanged all the partitions and to reduce slightly the size of my data partition only.
- With gparted, I resized the bigger data partition in order to have an overall size that fits the destination SSD, and moved all free space at the end
- I used clonezilla-Live from USB pen, with advanced mode and
-icds
enabled.
It failed. It looks like Clonezilla fails, at start, to clone the partition table to the destination disk because it wrongly uses sfdisk utility that is for older partition types instead of sgdisk utils.
My solution:
- The same as previous (overall size must fit)
I manually copied the partition from one drive to another, using Clonezilla shell with this command (only for GPT partitions!):
sgdisk /dev/sdSourceDeviceName -R /dev/sdDestinationDeviceName
Performed Clonezilla disc-to-disc clone, selecting the option -icds
and the option to NOT CREATE a partition table on destination disk, option -k
. (In this case Clonezilla uses the destination partitions as they are, and resizes partitions when sizes are smaller, in order to fit, it perform a good "best effort").
It worked. I obtained all the partitions the same size as source (Yes I only reduced the bigger partition a bit).
Dual boot with windows keeps working well.
Regards
I don't know how clonezilla works, but if there are only 20GB of data, what is the exact problem you encounter? – Michael K – 2011-09-07T10:42:53.627
1Since the image was taken of a 160GB disk, it includes a 160GB partition table, which won't allow me to override it. – Sander – 2011-09-08T05:56:27.017
Is there no way to 'open' the image and copy the data away? – Michael K – 2011-09-08T06:43:52.040
I have various .aa .ab .ac files (sda1.ntfs-ptcl-img.gz.aa till sda1.ntfs-ptcl-img.gz.ae) seeming this is the image of the harddisk, I think I can un-aa it into one .img.gz file, but then I need a way to write it back. – Sander – 2011-09-08T06:58:07.823