How to boot to a previous hibernation (W2K, XP)

My original problem was, that my game crashed while saving (it is a very popular soccer management game, and the savegame is over 240MB). Of course the save file became corrupted and i have to throw it away (I played the game for more than a year, so I was a bit disappointed...)

Before the crash, my XP was in a hibernate state. So I thought, that if I find a way to boot the computer using the same hibernation file, I could get back my game running, thus I could save it again, hoping it would not crash again.

I hibernated the system again, then booted another XP on another hard disk, changed the freshly created hiberfil.sys to the one, which was created before the crash, modified the file dates, and started the originial XP. Unfortunatelly it was booting normally, not resuming from hibernation.

So, my questions are

1. How Windows decides that it has to use the hiberfil.sys?
2. How can I change the hiberfil.sys?

Thanks in advance
kisgeza2Asked:
Who is Participating?
 
JJuettCommented:
Try this:
1. Hibernate your system
2. Boot the other XP installation on the other HDD
3. Copy the \hiberfil.sys just created in step 1 to a working directory somewhere
4. Create a working copy of the hiberfil.sys file you want to restore (don't use the actual file you want to restore, just in case it goes wrong)
5. Using a HEX editor of your choice that is capable of handling such large files (it may take a long time to open/save such a file), copy the header info from the new hiberfil.sys to the working copy of the one you want to restore
6. Put the working copy of your hiberfil.sys in place and test resuming your system from it.
0
 
sunray_2003Commented:
Whenever you do hibernation, windows automatically writes the data from RAM to this file . This file is present in the root folder


Why do you want to change this file . If you want to get rid of this file , You can remove this file by disabling hibernation, which is by Control Panel, Power Options, Hibernate tab


Sunray
0
 
kisgeza2Author Commented:
I have saved a memory image (hiberfil.sys) from a previous hibernation, and I want to restore my computer to that state. I assumed, that the solution is easy, all I have to do is to hibernate the computer and replace the newly created hiberfil.sys with the old one. But this just don't work.

KisGeza
0
 
kisgeza2Author Commented:
the hiberfil.sys has a 160 byte header which is cleared during the boot process.
the actual memory dump begins at 0x1000.

does anybody knows anything aboout this header part?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.