Hi everyone,

I’ve just used Clonezilla for the first time to clone a 500gb ssd with only 83gb being used.

Since only 83gb were used, could I clone that system on a computer with only 128gb? Or does it need to have at least 500gb of space even if most of it wasn’t used on my original system?

Clonezilla seems really practical but isn’t so accessible and I haven’t found an answer to that question online 😇

I’m using Fedora 38 but I don’t think it really matters.

  • @empireOfLove
    link
    English
    12
    edit-2
    10 months ago

    Depends on the kind of image, but if it is a true “clone” you cannot image a partition to a partition of smaller capacity directly due to filesystem and sector/cluster sizing things. Or at least clonezilla won’t let you by default. (Note I said partition, not drive.)

    The easy solution, assuming this is an upgrade and not a data recovery job, is to shrink the partitions on your larger drive to fit within the usable space envelope of the smaller drive before cloning. You can do this from windows disk management, or any Linux/Live USB that has gparted on it.

    • Dariusmiles2123OP
      link
      fedilink
      210 months ago

      But witch partition should I shrink?

      The source BTRFS one with my Fedora installation? And then leave the small ext4 and EFI ones that were automatically created during installation untouched?

      If I resize my Fedora partition with Gparted it’s gonna keep its data and not get erased?

      • @empireOfLove
        link
        English
        310 months ago

        Yes. Resize your main large data partition (the one with all the free space) but make it small enough that it plus all other partitions will fit on the destination disk.

        Resizing it should not lose any data. As long as it’s an unecrypted filesystem your Linux install can mount, and that gparted can see used/free space inside, it will only resize free space. However, as with all things- make a damn backup if you actually want to keep that data.