Page 1 of 1

Parition write error

Posted: 22 Aug 2019, 06:06
by rufa11
Hello,
I accidentally removed my partition table and i want to recover all the partitions in the HDD (Ubuntu and Windows), i'm using testdisk from Gparted live where i can see all my data after changing the partition type from Unknown to Linux LVM--> ext4 but when i want to write the partition in the disk i get the error message "Partition: write error", below screenshots.
Can someone help me please!
Thanks,

Re: Parition write error,

Posted: 23 Aug 2019, 05:58
by cgrenier
Can you provide the screenshots or better copy/paste the testdisk.log file content ?

Re: Parition write error

Posted: 23 Aug 2019, 20:06
by rufa11
Hi,
Thank you for accepting my post and for the reply, i attached the screenshots.
To don't override data i didn't install anything, with gparted i see /dev/sda unallocated space

Re: Parition write error

Posted: 25 Aug 2019, 16:27
by cgrenier
There may be a bad sector or an antivirus may block the write operation.
Can you retry with TestDisk 7.1 with your antivirus disabled and copy/paste the testdisk.log file ?
If testdisk is still unable to write the partition table, you should probably clone the disk using ddrescue to a new empty disk. (cf https://www.cgsecurity.org/testdisk.pdf )