Hello,
I am trying to clone 64 GB USB flash drive with OMV 4.x to 16 GB USB flash drive. I tried clonezilla in expert mode and Acronis, but all unsuccessful. I found this thread, but got stuck on tune2fs line giving me invalid UUID format error.
My original drive is sda and drive where I like to clone to is sdb. Here is an example of fdisk:
root@sysresccd / % fdisk -l
Disk /dev/loop0: 469.9 MiB, 492683264 bytes, 962272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 59 GiB, 63350767616 bytes, 123731968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe9c3d89e
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 115347455 115345408 55G 83 Linux
/dev/sda2 115349502 123729919 8380418 4G 5 Extended
/dev/sda5 115349504 123729919 8380416 4G 82 Linux swap / Solaris
Disk /dev/sdb: 14.4 GiB, 15502147584 bytes, 30277632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe9c3d89e
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 20973567 20971520 10G 83 Linux
/dev/sdb2 20973568 29362175 8388608 4G 82 Linux swap / Solaris
root@sysresccd / % blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="d4f6f199-db2b-499a-bcb2-c4b9030e0916" TYPE="ext4" PARTUUID="e9c3d89e-01"
/dev/sda5: UUID="1b7d7422-b7ab-4f6b-b21d-a391033d9af4" TYPE="swap" PARTUUID="e9c3d89e-05"
/dev/sdb1: UUID="720282e7-a69b-44d3-973d-957f16cee786" TYPE="ext4" PARTUUID="e9c3d89e-01"
/dev/sdb2: UUID="5cfcf1af-c0fb-4342-bddc-85aeecdb8383" TYPE="swap" PARTUUID="e9c3d89e-02"
root@sysresccd / % tune2fs /dev/sdb1 -U uuid_from_sda1_from_blkid
tune2fs 1.43.6 (29-Aug-2017)
Setting UUID on a checksummed filesystem could take some time.
Proceed anyway (or wait 5 seconds to proceed) ? (y,N) <proceeding>
tune2fs: Invalid UUID format
I would appreciate the solution to solve my problem.