Thứ Năm, 30 tháng 6, 2016

Partition table lost after Hibernate part 1


nabilalk

Hey all,
Strange thing happened. After my last hibernate, Windows will not boot. After a few attempts to fix via Safemode, Hiren�s boot CD with MBR utilities, and a startup repair, my Win 7 partition is no longer listed in the MBR.

How can I get it back, or should I just reformat?



lorddenis

can you run windows in "Save Mode" ?

nabilalk

Quote�� Quote: Originally Posted by lorddenis View Post
can you run windows in "Save Mode" ?
nope. Can I use a bootCD like Hiren's or a Live CD to access cmd and go that route?

Francis93

Reboot your PC. Press and hold down F8 until you see the Advanced Boot Options screen. Choose the option 'Safe Mode with Command Prompt'. Enter the commands once you're in.

lorddenis

Found this article:
Partition recovery - understanding and recovering partitions.

maybe that will help you.

nabilalk

Quote�� Quote: Originally Posted by frzwin7 View Post
Reboot your PC. Press and hold down F8 until you see the Advanced Boot Options screen. Choose the option 'Safe Mode with Command Prompt'. Enter the commands.
F8 won't get me into safe mode. How else can I get in?

Update: Ok, I'm into Safe mode with command via (F4).

What directory do I need to enter these commands into, because I keep getting a cmd"is not recognized as an internal or external command..." error. I have tried in C:\, C:\Windows\System32

also, some people have listed the commands on here as Bootrec and some with bootrec. Which is correct?

Francis93

Quote�� Quote: Originally Posted by nabilalk View Post
Quote�� Quote: Originally Posted by frzwin7 View Post
Reboot your PC. Press and hold down F8 until you see the Advanced Boot Options screen. Choose the option 'Safe Mode with Command Prompt'. Enter the commands.
F8 won't get me into safe mode. How else can I get in?
You can try Hiren's BootCD if there are no other options. There are Master Boot Record (MBR) tools included in the disc.

nabilalk

Quote�� Quote: Originally Posted by frzwin7 View Post
Quote�� Quote: Originally Posted by nabilalk View Post
Quote�� Quote: Originally Posted by frzwin7 View Post
Reboot your PC. Press and hold down F8 until you see the Advanced Boot Options screen. Choose the option 'Safe Mode with Command Prompt'. Enter the commands.
F8 won't get me into safe mode. How else can I get in?
You can try Hiren's BootCD if there are no other options. There are Master Boot Record (MBR) tools included in the disc.
first post updated with progress

nabilalk

Hi All,

For some unknown reason I have lost my MBR and Windows won't start

The partitions I have are:

Disk 0 Partition 1: System Reserved 100MB
Disk 0 Partition 2: Windows partition 50.8GB
Disk 0 Partition 3: Docs 247.2GB

Disk 1 Partition 1: Backup

How can I get Windows to recognize Disk 0 Partition 2 as the Windows partition and boot off that? Do I have to reformat?

I have Hiren's bootCD if anyone knows how I can use it, or I can rebuild the MBR from scratch, just could use some help.

Thanks!

Bare Foot Kid

Hello nabilalk.





Before we make any specific recommendations will you please post a snip/screen-shot of the entire disk management drive map with a full description as to which drive/partition is which, so we can see what you have going on as there may be a fairly simple way to resolve the situation.

In the Windows start menu right click computer and click manage, in the left pane of the "Computer Management" window that opens click disk management and post a snip of that.

How to Upload and Post a Screenshot and File in Seven Forums

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Hello nabilalk.





Before we make any specific recommendations will you please post a snip/screen-shot of the entire disk management drive map with a full description as to which drive/partition is which, so we can see what you have going on as there may be a fairly simple way to resolve the situation.

In the Windows start menu right click computer and click manage, in the left pane of the "Computer Management" window that opens click disk management and post a snip of that.

How to Upload and Post a Screenshot and File in Seven Forums
I can't boot into Windows so I can't take a screen. But I did type in everything in the drive map. When I try to go back into Safemode I'm now getting a BOOTMGR is missing error.



Bare Foot Kid

OK, I wasn't sure the snip just makes it easier to 'see' what's going on.



The issue is the partition that that you need to create the new boot files to has to be marked as "Active" so the repair utility will know where to create the new boot files to.

Is there a reason you don't want the "System Reserved" partition to continue as the boot partition as it was originally created for?

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
OK, I wasn't sure the snip just makes it easier to 'see' what's going on.



The issue is the partition that that you need to create the new boot files to has to be marked as "Active" so the repair utility will know where to create the new boot files to.

Is there a reason you don't want the "System Reserved" partition to continue as the boot partition as it was originally created for?
Oh that would be fine. I was under the impression the Windows partition was the one that needed to be made active. How do I accomplish this? I'm in the Win 7 installation DVD now and have access to the command line.

Bare Foot Kid

Have a look at Option Two to start in this tutorial at the link below.

Do use the "System, Reserved" partition as that's what it's for.


Startup Repair - Run 3 Separate Times

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Have a look at Option Two to start in this tutorial at the link below.

Do use the "System, Reserved" partition as that's what it's for.


Startup Repair - Run 3 Separate Times
@ the "list partition" cmd step.

The 100MB system partition that should be listed as Partition 1 of Disk 0 is missing. There is only 1 partition listed and its 298GB. Which is strange since in the drive map I posted, there was a 100MB system partition when I went to the Windows install menu. I have noticed that when using other disk partition tools, like Gparted, only the 298 GB partition was listed and only disk 0 was listed. When I went to the Win 7 install menu, 2 disks were listed and all of the partitions for each.

Bare Foot Kid

OK then see if you can mark the Windows Disk 0 partition 2 as active and do the 3 startup repairs talked about in the tutorial to get it booting; any idea what may have happened, just because I'm curious?

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
OK then see if you can mark the Windows Disk 0 partition 2 as active and do the 3 startup repairs talked about in the tutorial to get it booting; any idea what may have happened, just because I'm curious?
In diskpart, only disk 0 is listed and only 1 partition the 298GB one. Should I mark that as active?

As to what caused this no idea. Last night i was using my computer, I hibernated it, and when I started it this morning, it wouldn't boot.

Bare Foot Kid

Sorry about that mate, I realized that after I posted.


Mark that as active and see if that will do it, don't forget to do the startup repairs.

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Sorry about that mate, I realized that after I posted.


Mark that as active and see if that will do it, don't forget to do the startup repairs.
Which startup repairs are you specifically referencing? I dont want to make another mistake, so just checking to be absolutely sure.

Bare Foot Kid

Take the time to read this entire tutorial.


Startup Repair - Run 3 Separate Times

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Take the time to read this entire tutorial.


Startup Repair - Run 3 Separate Times
Ok, running the sequence of startup repairs. Will post back.



Bare Foot Kid

OK I'll be here.

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
OK I'll be here.
Startup repair is unsuccessful each time. Should I still run it 3 times?

Bare Foot Kid

It takes at least 3 and sometime 4 successive startup repairs with a system restart between each repair to create a new set of boot files to the new location.

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
It takes at least 3 and sometime 4 successive startup repairs with a system restart between each repair to create a new set of boot files to the new location.
im getting BOOTMGR error sometimes when trying to get back into Win 7 install DVD. What does that mean?

Bare Foot Kid

Do you actually have more than 1 Hard Disk Drive (HDD) connected in the PC?

If so you may have to disconnect the other HDD and leave only the one you want to do the startup repairs to, then you may have to start over and mark that as "Active" and then do the startup repairs.

See why when a snip of disk management (if available) is so helpful?

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Do you actually have more than 1 Hard Disk Drive (HDD) connected in the PC?

If so you may have to disconnect the other HDD and leave only the one you want to do the startup repairs to, then you may have to start over and mark that as "Active" and then do the startup repairs.

See why when a snip of disk management (if available) is so helpful?
lol yes. Although I did list a second HD in my first post titled Backup i think. I will give that a shot and post back.

Bare Foot Kid

Yes sometime that is necessary to get it to create the boot files to the new location.

Sometime a second partition/HDD gets marked active through some kind of error and having 2 actives makes life very difficult when this process is needed.



We'll be here, do remember to post back with an update.

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Yes sometime that is necessary to get it to create the boot files to the new location.

Sometime a second partition/HDD gets marked active through some kind of error and having 2 actives makes life very difficult when this process is needed.



We'll be here, do remember to post back with an update.
I'm into Windows woot and thanks!

Disconnected the 2nd HD and was able to reboot in Windows. I then reconnected the 2nd HD and restarted in Windows again.

This problem occurred after I Hibernated last night. The only thing I can think of is that Hibernate set my HDs to use really low power. When I woke up the computer, the BIOS got confused which HD to boot off of and it selected the 2nd HD (storage device) rather than the 1st with the System and Windows partitions.

The second thing I noticed is that the SATA cable I have has two branches. One was connected to each HD. I don't know if it makes a difference, but I switched the branches because one of them looks like the main trunk and the other looks like a branch off the main.

Maybe because the main trunk was set to the 2nd HD, my BIOS saw that as the Primary Master and the 1st HD which actually has Windows on it as the Slave. Is there a difference in the SATA cables like one branch is always supposed to be main and the other is slave?

Is my theory plausible or can anyone else offer a possible cause of this?

Bare Foot Kid

First, I want to say I'm glad you got back in and thanks for the update.



Now I'm going to read the rest of your post to see if I can help with an explanation but if others have ideas be sure to post because I'm often clueless.

nabilalk

Please post back a screenshot of your full Disk Management drive map and listings. Use Snipping Tool in Start Menu.

It's possible your System partition was derailed to the data drive. It needs to be checked to see if it is still marked System Active.

Then we need to see what partition is now marked System Active on the WIn7 HD since its partitioning was unclear in DISKPART prior to repair.



Bare Foot Kid

Quote�� Quote: Originally Posted by gregrocker View Post
Please post back a screenshot of your full Disk Management drive map and listings. Use Snipping Tool in Start Menu.

It's possible your System partition was derailed to the data drive. It needs to be checked to see if it is still marked System Active.

Then we need to see what partition is now marked System Active on the WIn7 HD since its partitioning was unclear in DISKPART prior to repair.
Drive map attached. Zenith (E: ) is active when it should not be, as it is a slave. Thanks for the followup.

How do I take care of the second step you are talking about with DISKPART?

nabilalk

The way is shown in my snip below.

click to enlarge
-inactive2.jpg



Bare Foot Kid

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
The way is shown in my snip below.

click to enlarge
Attachment 100242


Got it, thanks.

Any thoughts on my theory as to why this problem occurred after the hibernate in the first place?

nabilalk

It likely happened because Zenith was marked Active which confused or corrupted the MBR.

We see this here all the time with random partitions marked Active.

Bare Foot Kid

Hello again mate, sorry I got side-tracked earlier.



As I mentioned earlier a lot of different people have a second get marked active quite often, I've even had one do so without my ever finding the reason as do a lot of others; just chalk one up and remember the remedy.

nabilalk

Quote�� Quote: Originally Posted by gregrocker View Post
It likely happened because Zenith was marked Active and confused or corrupted the MBR. We see this here all the time with random partitions marked Active.
Ah, but Zenith wasn't marked active until after I followed your instructions.

Bare Foot Kid

Quote�� Quote: Originally Posted by nabilalk View Post
Quote�� Quote: Originally Posted by gregrocker View Post
It likely happened because Zenith was marked Active and confused or corrupted the MBR. We see this here all the time with random partitions marked Active.
Ah, but Zenith wasn't marked active until after I followed your instructions.

How do you know, you couldn't boot into Windows?

Guest

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Quote�� Quote: Originally Posted by nabilalk View Post
Quote�� Quote: Originally Posted by gregrocker View Post
It likely happened because Zenith was marked Active and confused or corrupted the MBR. We see this here all the time with random partitions marked Active.
Ah, but Zenith wasn't marked active until after I followed your instructions.

How do you know, you couldn't boot into Windows?
I assumed b/c startup repair said there was a partition table issue. I do believe that my BIOS thought Zenith was the primary. Hopefully that problem won't creep up again. I wish I could tell the difference in the BIOS b/w the 2 identical drives.

Guest

You were trying to do a startup repair to a system with 2 active partitions, active is the flag that tells the repair procedure where to create the "new" boot files and that caused the confusion.

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
You were trying to do a startup repair to a system with 2 active partitions, active is the flag that tells the repair procedure where to create the "new" boot files and that caused the confusion.
Gotya. Thanks for all the help. This saved me a reformat



Bare Foot Kid

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
You were trying to do a startup repair to a system with 2 active partitions, active is the flag that tells the repair procedure where to create the "new" boot files and that caused the confusion.


You are welcome; this is why we ask for a snip of disk management whenever possible, saves the confusion we (you and I) had.

nabilalk

The instructions were confusing as to which partition on Disk0 to mark Active because DISKPART was giving you bad readouts from what you reported.

At this point, you should be asked to Detail Partition on each Disk0 partition so we could verify it intact and whether it is marked Active:

-capture.png

Once it's confirmed that 100mb or Win7 partition is marked Active, then run the Repairs with all other HD's unplugged - unless you want to detail each of the other HD's partitions to see if they are incorrectly marked Active.

Bare Foot Kid

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Quote�� Quote: Originally Posted by Bare Foot Kid View Post
You were trying to do a startup repair to a system with 2 active partitions, active is the flag that tells the repair procedure where to create the "new" boot files and that caused the confusion.


You are welcome; this is why we ask for a snip of disk management whenever possible, saves the confusion we (you and I) had.
Well mate, if I could boot into Windows to get you the drivemap, then we both would have saved a lot of time!

nabilalk

Greg just listed the other way to figure it out above but few understand all that and I decided to forgo that to see if the way we did it would yield results then that was the next order of business.

Bare Foot Kid

Quote�� Quote: Originally Posted by gregrocker View Post
The instructions were confusing as to which partition on Disk0 to mark Active because DISKPART was giving you bad readouts from what you reported.

At this point, you should be asked to Detail Partition on each Disk0 partition so we could verify it intact and whether it is marked Active:

Attachment 100252

Once it's confirmed that 100mb or Win7 partition is marked Active, then run the Repairs with all other HD's unplugged - unless you want to detail each of the other HD's partitions to see if they are incorrectly marked Active.
Just checked (via gregrocker) and only the system (100MB) partition is marked active. Job well done guys. And now I know how to fix this in the future should it pop up.

nabilalk

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Greg just listed the other way to figure it out above but few understand all that and I decided to forgo that to see if the way we did it would yield results then that was the next order of business.
Another way is to ask for a camera snap of booted Partition Wizard drive map. Most will reply with it. PW is easier to read and use than Diskpart since its a picture.

Bare Foot Kid

Quote�� Quote: Originally Posted by gregrocker View Post
Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Greg just listed the other way to figure it out above but few understand all that and I decided to forgo that to see if the way we did it would yield results then that was the next order of business.
Another way is to ask for a camera snap of booted Partition Wizard drive map. Most will reply with it. PW is more user-friendly than Diskpart since its a picture.


Those are both good, I'll remember them, especially the PW one.

Guest

Quote�� Quote: Originally Posted by gregrocker View Post
Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Greg just listed the other way to figure it out above but few understand all that and I decided to forgo that to see if the way we did it would yield results then that was the next order of business.
Another way is to ask for a camera snap of booted Partition Wizard drive map. Most will reply with it. PW is easier to read and use than Diskpart since its a picture.
I don't know if that would have solved things. I ran several partition manager apps off of LiveCDs and none of them even showed the HD that actually had Windows on them. Strangely enough, only the Win 7 install DVD recognized that there were 2 HDs and showed me the partitions in each.

I tried, PW, Gparted, and ran a couple of tools off of Hiren's. Only Win 7 showed what was really going on. Strange no? I did type out the drivemap in my first post that Win 7 showed me. But I guess that detail was not enough to figure out exactly what the specific issue was.

PS: It's so much nicer to be able to discuss this issue after it's been solved rather than before when I was freaking out!

Guest

Nothing like this then eh?

-set_inactive.jpg

nabilalk

Barefoot called it for the fix here, removing DISK1 interference:

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Do you actually have more than 1 Hard Disk Drive (HDD) connected in the PC?

If so you may have to disconnect the other HDD and leave only the one you want to do the startup repairs to, then you may have to start over and mark that as "Active" and then do the startup repairs.

See why when a snip of disk management (if available) is so helpful?
Good work, Barefoot, and with bad Diskpart output.



Bare Foot Kid

Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Nothing like this then eh?

Attachment 100261
Well, it only showed one drive. And I didn't know that the drive that was being displayed was the slave, b/c they are identical drives. Next time I'm getting different drives.

Bare Foot Kid

Thanks Greg, I appreciate the compliment.

nabilalk

Quote�� Quote: Originally Posted by nabilalk View Post
Quote�� Quote: Originally Posted by Bare Foot Kid View Post
Nothing like this then eh?
Attachment 100261
Well, it only showed one drive. And I didn't know that the drive that was being displayed was the slave, b/c they are identical drives. Next time I'm getting different drives.


I chose that particular snip to show one of the other things PW is capable of.



Have a look at these.

Partition Wizard : Use the Bootable CD

Dual Boot : Create Partitions Using PWBD

Partition : Recover Space Used by an Older OS

Bare Foot Kid

Quote�� Quote: Originally Posted by nabilalk View Post
I tried, PW, Gparted, and ran a couple of tools off of Hiren's. Only Win 7 showed what was really going on. Strange no? I did type out the drivemap in my first post that Win 7 showed me. But I guess that detail was not enough to figure out exactly what the specific issue was.
A little pro-active troubleshooting based on the bad readouts:

Run Disk Check

Then test the HD using maker's diag/repair CD scan: http://www.tacktech.com/display.cfm?ttid=287

Hirens is dated with Win7 - PW boot CD is the best tool we've found. I would trust it over Disk Mgmt too hence the need for tests.

seekandfind

Quote�� Quote: Originally Posted by gregrocker View Post
Quote�� Quote: Originally Posted by nabilalk View Post
I tried, PW, Gparted, and ran a couple of tools off of Hiren's. Only Win 7 showed what was really going on. Strange no? I did type out the drivemap in my first post that Win 7 showed me. But I guess that detail was not enough to figure out exactly what the specific issue was.
A little pro-active troubleshooting based on the bad readouts:

Run Disk Check

Then test the HD using maker's diag/repair CD scan: Hard Drive Diagnostics Tools and Utilities (Storage) - TACKtech Corp.

Hirens is dated with Win7 - PW boot CD is the best tool we've found. I would trust it over Disk Mgmt too hence the need for tests.
Where can I get a PW boot CD?

nabilalk

There is a link in any of the tutorials I posted links to in the post above.

seekandfind

I am a novice at understanding Acronis, MBR's, etc.
BUT

I did have to use Acronis a few times to replace my system with that image. I chose all 3, MBR, System Reserved and C.

Is that where I lost Hibernate?

Should I have only chosen drive C?

I still have that image. Is it still fixable?

Guest

Quote�� Quote: Originally Posted by seekandfind View Post
I am a novice at understanding Acronis, MBR's, etc.
BUT

I did have to use Acronis a few times to replace my system with that image. I chose all 3, MBR, System Reserved and C.

Is that where I lost Hibernate?

Should I have only chosen drive C?

I still have that image. Is it still fixable?
You probably should post a new question, as this one has been solved (I'm the original poster). Your problem sounds different from mine. MBR = Master Boot Record, which is a way for your computer to tell which hard drive to try to load Windows from. The people on here are great, so post your question, in Installation and Setup Installation & Setup - Windows 7 Forums and they should be able to help you out.

Guest

I appreciate your response. I did post I believe 3 differning threads and no one responded to any of the issues. Thanks

Bare Foot Kid

Quote�� Quote: Originally Posted by seekandfind View Post
I appreciate your response. I did post I believe 3 differning threads and no one responded to any of the issues. Thanks


I'll tell you why, you put your questions at the end of solved threads and no-one sees them, just like in this instance; if you want answers you need to start YOUR OWN threads and not tag onto someone else's.


How to start a new thread


Không có nhận xét nào:

Đăng nhận xét