Bad structure what to do?
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
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
-
- Posts: 7
- Joined: 05 Mar 2019, 16:09
Bad structure what to do?
Hello everyone!
I'm new to this forum and I need some help.
My laptop didn't start anymore (it didn't find the operating system), so I took out the HD and put it on a usb adpter.
Using another pc, I searched for the problem, but this HD is working in a odd way.
The hard drive has 3 partitions:
1) recovery (hidden) - it seems fine, I've already done the image backup (who know, maybe it coulb be helpful in future).
2) operatin system (C:) - it doesn't work at all, windows file manager says that it's not formatted.
3) Data (my storage) (D:) - it works perfect, I've already done the backup with windows file manager. I've done windows scandisk with sector check and it's 100% ok.
So I used testdisk, I followed step by step guide (really well done). www.cgsecurity.org/wiki/TestDisk_Step_By_Step
Testdisk see all hd partitions and it works fine until deepscan.
At the end of deep scan, there is a red alert:
"Structure: bad"
And it's not possible to write the new partition structure.
I'm new to this forum and I need some help.
My laptop didn't start anymore (it didn't find the operating system), so I took out the HD and put it on a usb adpter.
Using another pc, I searched for the problem, but this HD is working in a odd way.
The hard drive has 3 partitions:
1) recovery (hidden) - it seems fine, I've already done the image backup (who know, maybe it coulb be helpful in future).
2) operatin system (C:) - it doesn't work at all, windows file manager says that it's not formatted.
3) Data (my storage) (D:) - it works perfect, I've already done the backup with windows file manager. I've done windows scandisk with sector check and it's 100% ok.
So I used testdisk, I followed step by step guide (really well done). www.cgsecurity.org/wiki/TestDisk_Step_By_Step
Testdisk see all hd partitions and it works fine until deepscan.
At the end of deep scan, there is a red alert:
"Structure: bad"
And it's not possible to write the new partition structure.
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Bad structure what to do?
Run TestDisk, Advanced, select the OS partition, Boot, RebuildBS, List. If you can see your files, choose Write, confirm, Quit and restart your computer.
Run "cmd" (right click Run as Administrator) and "chkdsk /f d:" (replace d: by the correct drive letter).
Run "cmd" (right click Run as Administrator) and "chkdsk /f d:" (replace d: by the correct drive letter).
-
- Posts: 7
- Joined: 05 Mar 2019, 16:09
Re: Bad structure what to do?
Many thanks for your help cgrenier!
I'm following your tips.
This is "boot" step: is it ok?
I'm following your tips.
This is "boot" step: is it ok?
Last edited by hddesperado on 06 Mar 2019, 17:54, edited 1 time in total.
-
- Posts: 7
- Joined: 05 Mar 2019, 16:09
Re: Bad structure what to do?
this is "rebuild bs" step
-
- Posts: 7
- Joined: 05 Mar 2019, 16:09
Re: Bad structure what to do?
File list seems fine....
-
- Posts: 7
- Joined: 05 Mar 2019, 16:09
Re: Bad structure what to do?
Unfortunately, in the end testdisk failed to write...
what's wrong?-
- Posts: 2729
- Joined: 04 Jan 2019, 09:48
- Location: Hannover, Deutschland (Germany, Allemagne)
Re: Bad structure what to do?
Sounds like testdisk does not have the administrative right to write on this disk (on sector level - below file system level).
Otherwise it could indicate a lack of available spare sectors to replace the unreadable physical sector that contains the boot sector information by a working one.
The spare sector issue is handled by the harddisk firmware.
If this is not a rights issue cloning might be necessary.
Otherwise it could indicate a lack of available spare sectors to replace the unreadable physical sector that contains the boot sector information by a working one.
The spare sector issue is handled by the harddisk firmware.
If this is not a rights issue cloning might be necessary.
-
- Posts: 7
- Joined: 05 Mar 2019, 16:09
Re: Bad structure what to do?
Many thanks for help. I was thinking too to a rights problem. I'm working on another pc (my account is admin of this pc) with my old hard drive on USB.recuperation wrote: ↑06 Mar 2019, 22:21 Sounds like testdisk does not have the administrative right to write on this disk (on sector level - below file system level).
Otherwise it could indicate a lack of available spare sectors to replace the unreadable physical sector that contains the boot sector information by a working one.
The spare sector issue is handled by the harddisk firmware.
If this is not a rights issue cloning might be necessary.
How I can have the rights to write on sector level?
-
- Posts: 2729
- Joined: 04 Jan 2019, 09:48
- Location: Hannover, Deutschland (Germany, Allemagne)
Re: Bad structure what to do?
As an admin you should already have the rights.
Try to run testdisk from a bootable CD/DVD like Knoppix.
Check disk health.
Try to run testdisk from a bootable CD/DVD like Knoppix.
Check disk health.
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Bad structure what to do?
On Windows an antivirus may also prevent TestDisk from rewriting the boot sector.