The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: ncflagg on March 20, 2008, 01:57:36 pm

Title: Re-use XP Hibernation file?
Post by: ncflagg on March 20, 2008, 01:57:36 pm
I'm want to get the quickest boot time possible in XP. I had an idea. Make a hibernation file in XP and find a way to have it load that same hiberfil.sys every time the PC starts (as well as pagefile.sys I'm guessing)

Does anyone know what the trigger is that makes XP load the hiberbation file into memory?
Title: Re: Re-use XP Hibernation file?
Post by: protokatie on March 20, 2008, 07:36:21 pm
I forsee a problem with this. Since everytime windows shutdown, it stores that it has shut down properly, and when you turn it back on it wont even look for the hibernate file... You might be able to do it by just unplugging the computer tho...
Title: Re: Re-use XP Hibernation file?
Post by: TelcoLou on March 20, 2008, 07:53:19 pm
You cant wait like 30 seconds?  ;)
Title: Re: Re-use XP Hibernation file?
Post by: gonzo90017 on March 20, 2008, 08:04:02 pm
Have you tried making a sliptreamed xp? Head over to the Nlite thread.
Title: Re: Re-use XP Hibernation file?
Post by: NickG on March 20, 2008, 11:49:07 pm
You can do HORM (hibernate once resume many times.)  It is a little trick to get specialized installs (as in arcade machines) to startup faster and behave the same way at every start.  It is also a good way to reduce the number of writes on a flash based system.   I originally read about it at Mp3 Car.com (http://www.mp3car.com/vbulletin/winnt-based/97696-just-horm-only.html) 
You'll need to get a hold of some files from XP embedded; which is free to trial here. (http://www.microsoft.com/windows/embedded/eval/trial.mspx)

BTW; the guy on the first link got his startup down to about 10 seconds.
Title: Re: Re-use XP Hibernation file?
Post by: Silver on March 21, 2008, 09:55:19 am
You can do HORM (hibernate once resume many times.)  It is a little trick to get specialized installs (as in arcade machines) to startup faster and behave the same way at every start.  It is also a good way to reduce the number of writes on a flash based system.   I originally read about it at Mp3 Car.com (http://www.mp3car.com/vbulletin/winnt-based/97696-just-horm-only.html) 
You'll need to get a hold of some files from XP embedded; which is free to trial here. (http://www.microsoft.com/windows/embedded/eval/trial.mspx)

Good comment, I'd forgotton about playing with HORM no a embedded system years ago.

I've created a page on the wiki for speeding up windows boots (as there did not seem to be one), and included a section on HORM based on that thread.

Feel free to add, it's a bit rough and ready.

http://wiki.arcadecontrols.com/wiki/Fast_Booting_Windows
Title: Re: Re-use XP Hibernation file?
Post by: ncflagg on March 25, 2008, 12:06:07 am
I've installed HORM on XP Pro SP2 and it does work. However with EWF on I can't change any settings (or write to the hard drive). I've discovered I can disable EWF with EWFMGR C: -DISABLE (and am then able to write to the drive) but then HORM quits working. I can hibernate once but not more.