Parition write error

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Post Reply
Message
Author
rufa11
Posts: 2
Joined: 22 Aug 2019, 05:44

Parition write error

#1 Post by rufa11 » 22 Aug 2019, 06:06

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,
Last edited by rufa11 on 23 Aug 2019, 19:49, edited 2 times in total.

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 4887
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Parition write error,

#2 Post by cgrenier » 23 Aug 2019, 05:58

Can you provide the screenshots or better copy/paste the testdisk.log file content ?

rufa11
Posts: 2
Joined: 22 Aug 2019, 05:44

Re: Parition write error

#3 Post by rufa11 » 23 Aug 2019, 20:06

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
Attachments
Error-33.jpg
Error-33.jpg (109.82 KiB) Viewed 702 times
Error-22.jpg
Error-22.jpg (82.82 KiB) Viewed 702 times
Error-11.jpg
Error-11.jpg (90.91 KiB) Viewed 702 times

User avatar
cgrenier
Site Admin
Posts: 4887
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Parition write error

#4 Post by cgrenier » 25 Aug 2019, 16:27

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 )

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests