Solved

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

Posted on 2003-10-27
7
442 Views
Last Modified: 2012-05-04
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
0
Comment
Question by:kisgeza2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9627614
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
 

Author Comment

by:kisgeza2
ID: 9627855
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
 

Author Comment

by:kisgeza2
ID: 9633140
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
 

Accepted Solution

by:
JJuett earned 130 total points
ID: 9651532
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question