Query on Hibernation once resume many

G

Guest

There seems to be little confusing from SP2 Tech Preview documentation.

Statement 1: NTLDR changes the signature of the hibernation file during
boot, NTLDR interprets this signature change as a failed attempt to boot from
the file. However, if the resmany.dat file exists, NTLDR will boot from the
hibernation file normally.

Statement 2:Committing the EWF volume commits the hibernation file. This
will zero out the first page of the hibernation file. This will cause the
system to boot normally and not from the hibernation file

From these two above statment if resmany.dat file is in place then the
system should boot from the hiberanation file even if it is commited. but it
doesn't care about resmany.dat. There should be something wrong in document
or i interpreted wrongly. Pls clarify me

Sanakr
 
S

Slobodan Brcin \(eMVP\)

Hi Sankar,

If you want to get insight to what is happening during the hibernation/resume read trough this long thread.
http://groups.google.com/groups?q=g...=1&selm=#[email protected]

I had no time to test this feature yet :-(, but I'm surprised that I can't find text reference to resmany in ntldr. file.

Statement 1 is probably true but it depend on how you read commas and dots and interpret sentence:
Following is true:
- Without resmany.dat NTLDR changes the signature (HIBR to WAKE) of the hibernation file during boot.
- NTLDR interprets this signature change as a failed attempt to boot from the file.

Statement 2: is 100% correct.

Regards,
Slobodan
 
K

KM

If you want to get insight to what is happening during the hibernation/resume read trough this long thread.
http://groups.google.com/groups?q=g...=1&selm=#[email protected]

I had no time to test this feature yet :-(, but I'm surprised that I can't find text reference to resmany in ntldr. file.

I was also suprised to see the resmany mentioned in the XPe SP2 RC documentation.
That time I have checked XP Pro SP2 ntldr but couldn't find any occurance of the resmany string.
I was under impression the ntldr should be the same in XPe and XP Pro (matching SP). I am not referring to ewf ntldr.

Konstantin
 
D

Daniel Simpson \(MS\)

Hi Sankar,

Hopefully the documentation for XPE SP2 is a little clearer (see below.) I
did find the statements that you pointed out and I will bug them to make
them clearer in the next drop of our documentation update.

Hopefully, this is clearer: In typical hibernation scenarios, NTLDR will
change the signature of the hibernation after it boots. Typical Windows Pro
hibernation scenarios expect users to re-hibernate the system (recreating
the hibernation file, and eliminating the signature change). If a user
shuts down the system without hibernating, the hibernation file is still
zeroed out, and on reboot NTLDR sees that the hibernation file is invalid
and boots the system (not from the hiberatnion file).

However, to enable HORM, by adding the resmany.dat file to your run-time
image, NTLDR will load the hibernation file even if it finds the signature
change.

from the product documentation:
The resmany.dat file is used to notify NTLDR to boot from the hibernation
file. Typically, NTLDR changes the signature of the hibernation file when it
is first booted. On a standard Windows XP Professional system, it is
expected that the state of the system will change and the hibernation file
will be overwritten with new data on shutdown. However in a hibernate once,
resume many environment, a single hibernation file is used to boot the
system repeatedly. Because NTLDR changes the signature of the hibernation
file during boot, NTLDR interprets this signature change as a failed attempt
to boot from the file. However, if the resmany.dat file exists, NTLDR boots
from the hibernation file normally.

Dan
 
S

Slobodan Brcin \(eMVP\)

Hi Daniel,
However, to enable HORM, by adding the resmany.dat file to your run-time
image, NTLDR will load the hibernation file even if it finds the signature
change.

So this is how it is done.

Thanks,
Slobodan
 
D

Daniel Simpson \(MS\)

Sorry, my mistake:

resmany.dat prevents NTLDR from changing the signature when it boots from
the file, not the other way around.

Dan
 
D

Daniel Simpson \(MS\)

Support for resmany.dat is included only in the EWF version of NTLDR. EWF
NTLDR and NTLDR do have some differences, this being one of them.

Dan
 
G

Guest

hi Daniel,

If my understanding is correct, without resmany.dat the ntldr will change
the signature of the hiberfil.sys from HIBR to WAKE. but that is not
happening. The flag remains HIBR. I am able to do HORM without resmany.dat.
It seems there is no significance for resmany.dat in HORM.

Had some understanding on hiberantion after reading previous thread. Thank
you Slobodan and Konstantin.

wtih regards
Sankar

regards
 
S

Slobodan Brcin \(eMVP\)

Hi Sankar,
If my understanding is correct, without resmany.dat the ntldr will change
the signature of the hiberfil.sys from HIBR to WAKE. but that is not
happening. The flag remains HIBR. I am able to do HORM without resmany.dat.
It seems there is no significance for resmany.dat in HORM.

This was not a case in SP1.
Are you using SP2 EWF ntldr file?

This would explain why there is no reference on resmany.dat file in ntldr, and why MS claim that HORM works.
But this is apparently bug then :-(

Regards,
Slobodan
 
G

Guest

yes i am one hundred percent sure that it is ewfntldr(265,904 bytes) SP2 Tech
Preview. some one can confirm the same. if it were SP1 ewfntldr it would have
asked for delete restoration or continue with resume. I haven't tried in SP2
evaluation version. will try that and let you know my observations

regards
Sankar
 
K

KM

Daniel,

Are you sure the resmany is supported by EWF NTLDR from SP2?
I am still playing with SP2 TP and it does not seem to be there. And documentation seems to say only about NTLDR which does not have
a reference to resmany either.

I am just wondering if the support for resmany has been added to EWFNTLDR recently in RTM bits only? Then it would explain the
confusion.
 
D

Daniel Simpson \(MS\)

I'm not sure. I thought it was in the Tech Preview, but it might be in RTM
only. I will have to investiage further.

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top