Wrote Partition Structure to Operating System's Disk Topic is solved

Using TestDisk to repair the filesystem
Message
Author
Steigede
Posts: 3
Joined: 29 May 2012, 03:17

Wrote Partition Structure to Operating System's Disk  Topic is solved

#1 Postby Steigede » 29 May 2012, 03:29

I had an external harddrive go bad and I was attempting a to fix it with testdisk. I wasn't paying attention, was a long day of driving, and I selected my operating systems OS, windows 7. Here's the sequence of events:

Selected [No Log]
Selected Proceed
Selected Intel
Selected Analyse
Selected Quick Search
Highlighted the OS's partition and hit enter to proceed
Selected Write (to write partition structure)

It then said I needed to restart for changes to take effect. I restarted and it booted right into some sort of hardware diagnostics program that, I'm assuming, was installed by Dell. It seems like the I really screwed stuff up...

Can I fix this? Is there a way to boot into a Live version of linux or something and restore that partition??? Please give me some good news....

Sponsored links

User avatar
Fiona
Posts: 2839
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Wrote Partition Structure to Operating System's Disk

#2 Postby Fiona » 29 May 2012, 15:20

Looks like that you forgot to set your OS-Partition as bootable.
Like it's described in this post;
post2580.html?hilit=dell#p2580

Would it be possible to check and correct it?
If you have any further questions, please let me know.

Fiona

Steigede
Posts: 3
Joined: 29 May 2012, 03:17

Re: Wrote Partition Structure to Operating System's Disk

#3 Postby Steigede » 29 May 2012, 15:48

The problem is that I can't get into the OS, I can't run testdisk. It just goes right into some sort of hardware diagnostics thing. This is the main harddrive of the computer, not the external, so currently I have no OS working on that machine.

Steigede
Posts: 3
Joined: 29 May 2012, 03:17

Re: Wrote Partition Structure to Operating System's Disk

#4 Postby Steigede » 30 May 2012, 13:57

So I used a copy of CAINE (http://www.caine-live.net/), which is pretty awesome live linux version with a bunch of tools for fixing issues with booting into the main OS, and I got back to the testdisk utility. I followed the post's suggestions to set the dell utility partition to de, make it P for primary, and then set the OS as * for bootable. That made an error come up when I restarted BOOTMGR MISSING PRESS CTRL+ALT+DEL TO REBOOT.

Progress, but not working. I then searched online trying to figure out how to fix that issue. I had thought maybe I had damaged the bootmgr somehow. I burned a recovery disk with my other windows 7 computer, booted it up and of course, it wasn't compatible... So I found some commands to manually delete and rebuild the BOOTMGR. I ran the delete and rebuilt it. Still no go.

So I remembered there was a recovery partition when looking through testdisk. I decided, maybe that will boot into the recovery/repair menu I need. I set that as * for bootable and put the other two partitions, DellUtility and OS, to P for primary. I booted it up figuring to find the recovery options and to my surprise it booted right up into my OS. I was confused and overjoyed. I tested to make sure all the files and stuff could be accessed and it looks like it's all good!

Thanks for the help/suggestions. Hopefully this helps anyone else with this problem...

User avatar
Fiona
Posts: 2839
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Wrote Partition Structure to Operating System's Disk

#5 Postby Fiona » 30 May 2012, 16:02

Thanks for your feedback! :)
I'll set your topic as solved.

best regards

Fiona


Return to “Filesystem repair”

Who is online

Users browsing this forum: No registered users and 0 guests