Link to home
Start Free TrialLog in
Avatar of kisgeza2
kisgeza2

asked on

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
Avatar of sunray_2003
sunray_2003
Flag of United States of America image

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
Avatar of kisgeza2
kisgeza2

ASKER

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
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?
ASKER CERTIFIED SOLUTION
Avatar of JJuett
JJuett
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial