Acronis ext4 fix

So numerous editions of Acronis purport to support imaging a drive formatted in ext4, but, often when you attempt to image such a partition you receive a message that “Some partitions contain errors and can only be imaged sector by sector…..” etc. I ran into this, recently, using Acronis 2018 to image a partition formatted as ext4 and containg the Linux distro PopOS 18.04. It turns out, that there’s a fix…..the explanation of which is way beyond my understanding – you can read about it here:
Read the technical data

By the way, this problem is reportedly fixed in True Image 2020.

Anyway, by running the following script from a live USB stick (and replacing “sda3” with the correct partition info) the drive can be imaged by versions of Acronis earlier than True Image 2020 with no problems:

#!/bin/bash


e2fsck -f /dev/sda3

tune2fs -O '^metadata_csum'  /dev/sda3

e2fsck -f /dev/sda3

resize2fs -s /dev/sda3

About: admin