I have a Linux machine running mint, I have an external USB SATA drive, which is recognized by the Linux system. What I’m trying to achieve is a clone of the external USB SATA to another external USB SATA. I have Clonezilla on a USB, was wondering if I could achieve what I’m trying to do with Clonezilla, if so would it be device to device rather than image to device, however if Clonezilla won’t work, how would I go about doing it
You can create an image of your drive using dd, which is a command line tool, but can be launched directly from a running system.
To duplicate drive a to drive b, simply type
dd if=/dev/sda of=/dev/sdb
That is the simple part.
Unfortunately, it duplicates completely the drive… even the partition table, and all metadata.
You can also create a partition on your target drive the exact same size as the source partition, and use
dd if=/dev/sda1 of=/dev/sdb1
to only copy the first primary partition of first disk on first primary partition on second disk.
So, if your target drive is significantly bigger than source drive, you will still have some available space on it to create a second partition, or extend the duplicated one with another tool.
If you want another solution than a physical duplication, for exemple to deal with disks of different sizes from source to destination, you’d better consider simple copy tools, like tar or rsync.
Explain your needs a little bit significantly, so you may have some more help.