intern & software

Usage

  • To clone a hard disk partition from a dual-boot system

Requirements

  • A USB flash drive

    It will be used to boot Clonezilla.

  • A hard disk drive

    It will be used to store the copy of the partition.

    Warning

    Make sure the total space of this hard disk drive is larger than the size of the partition you want to copy.

    For example, if you want to copy a 512GB partition with 100GB used space, the hard disk drive should have at least 512GB space. If the hard disk drive has only 256GB space, although it is enough to store the used space, the copy process will still fail.

Steps

Prepare the Disks

  1. Download the Clonezilla iso file from the official website.

  2. Burn the iso file to the USB flash drive using Rufus or Raspberry imager.

  3. Divide the hard disk drive into two partitions using GParted or Gnome-disk-utility.


The bigger partition will be used to store the copy of the target partition.
The smaller partition (0.5-1GB is enough) will be used to store the copy of EFI system.

Copy the target partition

  1. Boot the computer from the USB flash drive.

  2. Choose Clonezilla live (Default settings, VGA 800x600).

  3. Choose language

  4. Keep default keyboard layout

  5. Start Clonezilla

  6. Choose device-device work directly from a disk or partition to a disk or partition

  7. Choose Beginner mode

  8. Choose part_to_local_part

  9. Choose the source partition

  • In this case, sda5 store the Ubuntu partition.
  1. Choose the destination partition
  • In this case, sdb2 store the copy of the Ubuntu partition.
  1. Choose skip checking the source partition

  2. Choose reboot

  3. Select yes to start the copy process

Copy the EFI system partition

  1. Boot the computer from the USB flash drive.

  2. Choose Clonezilla live (Default settings, VGA 800x600).

  3. Choose language

  4. Keep default keyboard layout

  5. Start Clonezilla

  6. Choose device-device work directly from a disk or partition to a disk or partition

  7. Choose Beginner mode

  8. Choose part_to_local_part

  9. Choose the source partition

  • In this case, sda1 store the EFI system partition.
  1. Choose the destination partition
  • In this case, sdb1 store the copy of the EFI system partition.
  1. Skip checking the source partition

  2. Choose reboot

  3. Select yes to start the copy process

Notes

Info

There might be an another way to copy the both EFI system and Ubuntu at the same time (choose device-image instead of device-device work directly). However, I have failed serval times, I will update this note if I find a way to do it.

Reference