Menu

Restore image to smaller disk

2015-08-04
2016-07-03
  • joseph azer

    joseph azer - 2015-08-04

    Hi,

    i'm sure this has been discussed before but i had a failing 2TB Drive which i cloned quickly with clonezilla and got it to ignore bad blocks and all.

    then i got a 500GB drive to replace it and i was trying to restore the image to it, the actual data was around 250GB so it should fit the drive, i used icds to ignore the fact that it's smaller, no matter what i try (restoreparts or restore full image with same partition tabke, k0 or k1 for creating the table) just anything, i always get an error saying check if sda1 really exists, obviously it does exist,

    i'm using the latest stable 2.4.10 i believe.

    any idea why i'm getting that? i found old topics about clonezilla having trouble with GBT drives or something but those topics were years ago, i assume that's not the case right now,

    can anyone help please?

    thanks.

     

    Last edit: joseph azer 2015-08-04
  • Steven Shiau

    Steven Shiau - 2015-08-08

    "i always get an error saying check if sda1 really exists" -> If it's GPT disk, Clonezilla with options "-icds" and "-k1" won't help. Those parameters only work for MBR disk.
    However, you can try to create the GPT partitioin table on the destination disk manually (using gdisk command), and when cloning, use the option "-icds" and choose not to create the partition table on the destination disk.
    Still, that's the limitation for Clonezilla (partclone) to clone larger partition to smaller one.

    Steven.

     
  • Paul Storic

    Paul Storic - 2016-06-30

    Steven, does Cloneailla support GPT now?

     
  • Steven Shiau

    Steven Shiau - 2016-07-03

    Yes, the option "-k1" support GPT partition table now. However, still it's risky to restore an image saved from larger disk to smaller one. It's not working 100% all the time.

    Steven

     

Log in to post a comment.