I use a clonezilla script/option in grub to automate the image restore process for one of my unencrypted OS drives. For some reason the target drive (sdc) was not detected during POST the one time and clonezilla ended up trying to restore to the newly assigned sdc drive (formerly sdd). It threw a GPT/size error before writing the data itself so sdd's drive contents should still be recoverable (i hope).
sdd contained 5 veracrypt encrypted partitions of various sizes split over 4TB. These partitions were created with minitool partition wizard and then formatted/encrypted using veracrypt. The partition layout was formerly visible to the OS but now the disk just shows up as an unformatted MBR drive with 2 partitions (2TB & 1.8TB).
Since i panic rebooted before grabbing the original clonezilla log, here's an approximation taken from an attempt to manually recreate the same conditions of the screwup on a different disk:
i cloned the drive to another disk with ddrescue/knoppix and ran testdisk "deeper analysis" on the clone. it did find something but the sizes don't make too much sense to me (i'm no testdisk expert). Here's the testdisk log on pastebin and this is what i see on screen:
Disk /dev/sdd - 4000 GB / 3726 GiB - CHS 486401 255 63
| Partition | Start | End | Size in sectors
| --- | --- | --- | ---
| >D MS Data | 264192 | 7814035455 | 7813771264
| ]D MS Data | 1973193639 | 1977629664 | 4436026 [~?~IiM-k M-8~6M-#
| ]D MS Data | 1973193640 | 1977629665 | 4436026 [~?~IiM-k M-8~6M-#
| D MS Data | 4851368994 | 4851771756 | 402763 [
| D MS Data | 4851368995 | 4851771757 | 402763 [
Here are the original partition size approximations as best i can remember them. feel pretty sure that last one was either 63.7 or 67.3 GB:
Completely my own damn fault (and not clonezilla's) for not predicting this could happen. this post about a successful recovery) has got my hopes up but i'm clueless about disk recovery and some help would be appreciated. I'm here for any clarifications you may need.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use a clonezilla script/option in grub to automate the image restore process for one of my unencrypted OS drives. For some reason the target drive (sdc) was not detected during POST the one time and clonezilla ended up trying to restore to the newly assigned sdc drive (formerly sdd). It threw a GPT/size error before writing the data itself so sdd's drive contents should still be recoverable (i hope).
sdd contained 5 veracrypt encrypted partitions of various sizes split over 4TB. These partitions were created with minitool partition wizard and then formatted/encrypted using veracrypt. The partition layout was formerly visible to the OS but now the disk just shows up as an unformatted MBR drive with 2 partitions (2TB & 1.8TB).
Since i panic rebooted before grabbing the original clonezilla log, here's an approximation taken from an attempt to manually recreate the same conditions of the screwup on a different disk:
i cloned the drive to another disk with ddrescue/knoppix and ran testdisk "deeper analysis" on the clone. it did find something but the sizes don't make too much sense to me (i'm no testdisk expert). Here's the testdisk log on pastebin and this is what i see on screen:
Disk /dev/sdd - 4000 GB / 3726 GiB - CHS 486401 255 63
| Partition | Start | End | Size in sectors
| --- | --- | --- | ---
| >D MS Data | 264192 | 7814035455 | 7813771264
| ]D MS Data | 1973193639 | 1977629664 | 4436026 [~?~IiM-k M-8~6M-#
| ]D MS Data | 1973193640 | 1977629665 | 4436026 [~?~IiM-k M-8~6M-#
| D MS Data | 4851368994 | 4851771756 | 402763 [
| D MS Data | 4851368995 | 4851771757 | 402763 [
Here are the original partition size approximations as best i can remember them. feel pretty sure that last one was either 63.7 or 67.3 GB:
and the grub entry that caused the screwup:
Completely my own damn fault (and not clonezilla's) for not predicting this could happen. this post about a successful recovery) has got my hopes up but i'm clueless about disk recovery and some help would be appreciated. I'm here for any clarifications you may need.
Oops... Sorry to hear that.
It's very difficult to rescue that. However, maybe you can try testdisk:
https://interworks.com/blog/smatlock/2015/02/13/restore-damaged-or-corrupted-linux-partition-table/
Steven