Solved

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

Posted on 2003-10-27
7
427 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
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.

786 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