HORM - Hibernate Once Resume Many
This is a very good page on how to use HORM
English
HORM make a computer boots Windows XP in less than 5 seconds with a standard harddrive, and in around 1 second with a good SSD.
One creates once a hibernate file after a clean boot and Windows will keep using it without altering or regenerating it: we get the speed of the hibernate system, without the imaged WinXP getting older and crappier.
Main source of information I used
Step by step:
- Download winXp emb sp2 trial. I think I used the following link
- Launch install and alt+tab to an explorer
- Go to the install temp directory, then to the "rep" subdir
- Copy ewfmgr.exe to your Windows\System32
- Copy ewf.sys to your Windows\System32\drivers
- Copy ewfntldr to \ntldr (first rename \ntldr to ntldr.bak just in case you want to roll back)
- Cancel the WinXp emb trial installation. We don't need its uncompressed temp dir anymore (plus it won't install itself given that we don't have the basic WinXp emb).
- Delete or rename \Windows\bootstat.dat - that's to fix a bug which would open the boot menu (F8) on every boot.
- Create an empty file \resmany.dat - that's to switch on HORM.
- Run this .reg
- Reboot
- Might have to run \Windows\System32\ewfmgr.exe -disable C: from cmd.exe ; otherwise my partition was read-only.
- Hibernate the system
- Reboot and enjoy as many times as you want
Update:
- NTFS-3G won't mount an hibernated partition under Linux.
- I had several suspect fsck since installing this HORM.
- The EWF is quite annoying to set up not to disallow write access.
- --> I give up.
Français
HORM permet de démarrer un PC sous Windows XP en moins de 5 secondes (et autour de 1 seconde à partir d'un disque SSD).
HORM consiste à réutiliser la même image d'hibernation de Windows sans jamais la regénérer : on se retrouve à chaque démarrage avec le système à peine démarré utilisé pour générer l'image. On peut même lancer des applications utilisées souvent, comme Firefox, afin de les avoir immédiatement à chaque démarrage.
Principale source d'informations
- Downloader winXp emb sp2 trial. Je crois que j'ai utilisé ce lien
- Lancer l'install et ne rien faire. Alt+tab vers un explorer
- Aller dans le répertoire temporaire de l'install, puis sous-dir "rep"
- Copier ewfmgr.exe vers \Windows\System32
- Copier ewf.sys vers \Windows\System32\drivers
- Copier ewfntldr vers \ntldr (d'abord renommer l'original en ntldr.bak au cas où on veuille tout annuler)
- Annuler l'install de WinXp emb trial, qui aurait de toute manière échouer vu qu'on a pas Xp Embedded.
- Effacer ou renommer \Windows\bootstat.dat - sinon un bug fait que le menu de boot (F8 au démarrage) s'ouvre à chaque lancement de Windows.
- Lancer ce .reg
- Créer un fichier vide \resmany.dat - pour activer HORM.
- Rebooter
- J'ai dû lancer depuis cmd.exe: \Windows\System32\ewfmgr.exe -disable C: ; sinon ma partition était read-only.
- Hiberner le système
- Rebooter et apprécier autant que vous voulez.
Update:
- NTFS-3G refuse de monter une partition hibernée sous Linux.
- Plusieurs fsck suspects depuis l'installation du HORM.
- L'EWF est assez chiant à mettre en place sans bloquer les accès en écriture.
- --> je laisse tomber.