PDA

View Full Version : Use same hibernation state over and over again...


John
January 28th 04, 01:01 PM
I'd like to switch off my PC just by unplugging the wall
socket. Still I'd like to boot quickly to a predefined
state (like out of hibernation).

Therefore, the following seems handy :

-Hibernate the system once
-Use this hibernation state every time the system reboots.

Is this possible???

Rick \Nutcase\ Rogers
January 28th 04, 01:41 PM
No.

> I'd like to switch off my PC just by unplugging the wall socket

Never do this except for extreme circumstances. This can cause damage to
system components, and irrecoverable loss of data.

Hibernation is a power save state, but you should never shut the machine off
while in this state. Use the appropriate shutdown sequence every time to
properly stop running processes.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"John" > wrote in message
...
> I'd like to switch off my PC just by unplugging the wall
> socket. Still I'd like to boot quickly to a predefined
> state (like out of hibernation).
>
> Therefore, the following seems handy :
>
> -Hibernate the system once
> -Use this hibernation state every time the system reboots.
>
> Is this possible???
>

John
January 28th 04, 02:01 PM
That's something I hear a lot : loss of data.
I'm using this particular PC as MP3-player only. No
data whatsoever is written; so any buffers, cache or
whatever isn't of vital importance.


My question still remains :
Is it possible to startup to the same hibernation state
over and over again?


>-----Original Message-----
>No.
>
>> I'd like to switch off my PC just by unplugging the wall
socket
>
>Never do this except for extreme circumstances. This can
cause damage to
>system components, and irrecoverable loss of data.
>
>Hibernation is a power save state, but you should never
shut the machine off
>while in this state. Use the appropriate shutdown sequence
every time to
>properly stop running processes.
>
>--
>Best of Luck,
>
>Rick Rogers aka "Nutcase" MS-MVP - Win9x
>Windows isn't rocket science! That's my other hobby!
>http://mvp.support.microsoft.com/
>Associate Expert - WinXP - Expert Zone
>www.microsoft.com/windowsxp/expertzone
>Win98 Help - www.rickrogers.org
>
>"John" > wrote in message
...
>> I'd like to switch off my PC just by unplugging the wall
>> socket. Still I'd like to boot quickly to a predefined
>> state (like out of hibernation).
>>
>> Therefore, the following seems handy :
>>
>> -Hibernate the system once
>> -Use this hibernation state every time the system
reboots.
>>
>> Is this possible???
>>
>
>
>.
>

Rick \Nutcase\ Rogers
January 28th 04, 02:22 PM
Xref: kermit microsoft.public.windowsxp.general:939542

Hi,

This is not meant to be critical, but I don't think you've ever run into a
system corrupted beyond recovery due to improper user habits. A corrupted
partition can result in the loss of all data, something I doubt that you
really want to experience.

To answer your question, no, I don't believe you can do what you are asking.
It would require something akin to restoring a system image each time the
system was loaded using a program especially written for this, something
that would likely take a prohibitive amount of time (talking hours, not
minutes, here).

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"John" > wrote in message
...
> That's something I hear a lot : loss of data.
> I'm using this particular PC as MP3-player only. No
> data whatsoever is written; so any buffers, cache or
> whatever isn't of vital importance.
>
>
> My question still remains :
> Is it possible to startup to the same hibernation state
> over and over again?
>
>
> >-----Original Message-----
> >No.
> >
> >> I'd like to switch off my PC just by unplugging the wall
> socket
> >
> >Never do this except for extreme circumstances. This can
> cause damage to
> >system components, and irrecoverable loss of data.
> >
> >Hibernation is a power save state, but you should never
> shut the machine off
> >while in this state. Use the appropriate shutdown sequence
> every time to
> >properly stop running processes.
> >
> >--
> >Best of Luck,
> >
> >Rick Rogers aka "Nutcase" MS-MVP - Win9x
> >Windows isn't rocket science! That's my other hobby!
> >http://mvp.support.microsoft.com/
> >Associate Expert - WinXP - Expert Zone
> >www.microsoft.com/windowsxp/expertzone
> >Win98 Help - www.rickrogers.org
> >
> >"John" > wrote in message
> ...
> >> I'd like to switch off my PC just by unplugging the wall
> >> socket. Still I'd like to boot quickly to a predefined
> >> state (like out of hibernation).
> >>
> >> Therefore, the following seems handy :
> >>
> >> -Hibernate the system once
> >> -Use this hibernation state every time the system
> reboots.
> >>
> >> Is this possible???
> >>
> >
> >
> >.
> >

John
January 28th 04, 02:42 PM
I really don't know how the hibernation process works
(obviously), but it seems not so hard just NOT to reset a
(number of) flag(s) and not erasing the hiberfil.sys file.

I mean : After hibernation, the OS has to find out somehow
that it should restore from hibernation. It seems simple
just not to erase that information. So, the next time when
booting, the same information is still present, so the same
restore from hibernation is performed.
Seems easy...not?



>-----Original Message-----
>Hi,
>
>This is not meant to be critical, but I don't think you've
ever run into a
>system corrupted beyond recovery due to improper user
habits. A corrupted
>partition can result in the loss of all data, something I
doubt that you
>really want to experience.
>
>To answer your question, no, I don't believe you can do
what you are asking.
>It would require something akin to restoring a system
image each time the
>system was loaded using a program especially written for
this, something
>that would likely take a prohibitive amount of time
(talking hours, not
>minutes, here).
>
>--
>Best of Luck,
>
>Rick Rogers aka "Nutcase" MS-MVP - Win9x
>Windows isn't rocket science! That's my other hobby!
>http://mvp.support.microsoft.com/
>Associate Expert - WinXP - Expert Zone
>www.microsoft.com/windowsxp/expertzone
>Win98 Help - www.rickrogers.org
>
>"John" > wrote in
message
...
>> That's something I hear a lot : loss of data.
>> I'm using this particular PC as MP3-player only. No
>> data whatsoever is written; so any buffers, cache or
>> whatever isn't of vital importance.
>>
>>
>> My question still remains :
>> Is it possible to startup to the same hibernation state
>> over and over again?
>>
>>
>> >-----Original Message-----
>> >No.
>> >
>> >> I'd like to switch off my PC just by unplugging the
wall
>> socket
>> >
>> >Never do this except for extreme circumstances. This
can
>> cause damage to
>> >system components, and irrecoverable loss of data.
>> >
>> >Hibernation is a power save state, but you should never
>> shut the machine off
>> >while in this state. Use the appropriate shutdown
sequence
>> every time to
>> >properly stop running processes.
>> >
>> >--
>> >Best of Luck,
>> >
>> >Rick Rogers aka "Nutcase" MS-MVP - Win9x
>> >Windows isn't rocket science! That's my other hobby!
>> >http://mvp.support.microsoft.com/
>> >Associate Expert - WinXP - Expert Zone
>> >www.microsoft.com/windowsxp/expertzone
>> >Win98 Help - www.rickrogers.org
>> >
>> >"John" > wrote in message
>> ...
>> >> I'd like to switch off my PC just by unplugging the
wall
>> >> socket. Still I'd like to boot quickly to a
predefined
>> >> state (like out of hibernation).
>> >>
>> >> Therefore, the following seems handy :
>> >>
>> >> -Hibernate the system once
>> >> -Use this hibernation state every time the system
>> reboots.
>> >>
>> >> Is this possible???
>> >>
>> >
>> >
>> >.
>> >
>
>
>.
>

Rick \Nutcase\ Rogers
January 28th 04, 03:21 PM
Hi John,

I think you are misinterpreting what hibernate does. Hibernation copies the
contents of ram to the hard drive (the hiberfil.sys you mentioned), then
powers down everything. Resuming from this state loads the contents back to
the system ram. It has naught to do with the data on the system other than
loading programs and data in use at the time of hibernation back into ram.
Each subsequent use of the system will overwrite the previous version of
that file.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"John" > wrote in message
...
> I really don't know how the hibernation process works
> (obviously), but it seems not so hard just NOT to reset a
> (number of) flag(s) and not erasing the hiberfil.sys file.
>
> I mean : After hibernation, the OS has to find out somehow
> that it should restore from hibernation. It seems simple
> just not to erase that information. So, the next time when
> booting, the same information is still present, so the same
> restore from hibernation is performed.
> Seems easy...not?
>
>
>
> >-----Original Message-----
> >Hi,
> >
> >This is not meant to be critical, but I don't think you've
> ever run into a
> >system corrupted beyond recovery due to improper user
> habits. A corrupted
> >partition can result in the loss of all data, something I
> doubt that you
> >really want to experience.
> >
> >To answer your question, no, I don't believe you can do
> what you are asking.
> >It would require something akin to restoring a system
> image each time the
> >system was loaded using a program especially written for
> this, something
> >that would likely take a prohibitive amount of time
> (talking hours, not
> >minutes, here).
> >
> >--
> >Best of Luck,
> >
> >Rick Rogers aka "Nutcase" MS-MVP - Win9x
> >Windows isn't rocket science! That's my other hobby!
> >http://mvp.support.microsoft.com/
> >Associate Expert - WinXP - Expert Zone
> >www.microsoft.com/windowsxp/expertzone
> >Win98 Help - www.rickrogers.org
> >
> >"John" > wrote in
> message
> ...
> >> That's something I hear a lot : loss of data.
> >> I'm using this particular PC as MP3-player only. No
> >> data whatsoever is written; so any buffers, cache or
> >> whatever isn't of vital importance.
> >>
> >>
> >> My question still remains :
> >> Is it possible to startup to the same hibernation state
> >> over and over again?
> >>
> >>
> >> >-----Original Message-----
> >> >No.
> >> >
> >> >> I'd like to switch off my PC just by unplugging the
> wall
> >> socket
> >> >
> >> >Never do this except for extreme circumstances. This
> can
> >> cause damage to
> >> >system components, and irrecoverable loss of data.
> >> >
> >> >Hibernation is a power save state, but you should never
> >> shut the machine off
> >> >while in this state. Use the appropriate shutdown
> sequence
> >> every time to
> >> >properly stop running processes.
> >> >
> >> >--
> >> >Best of Luck,
> >> >
> >> >Rick Rogers aka "Nutcase" MS-MVP - Win9x
> >> >Windows isn't rocket science! That's my other hobby!
> >> >http://mvp.support.microsoft.com/
> >> >Associate Expert - WinXP - Expert Zone
> >> >www.microsoft.com/windowsxp/expertzone
> >> >Win98 Help - www.rickrogers.org
> >> >
> >> >"John" > wrote in message
> >> ...
> >> >> I'd like to switch off my PC just by unplugging the
> wall
> >> >> socket. Still I'd like to boot quickly to a
> predefined
> >> >> state (like out of hibernation).
> >> >>
> >> >> Therefore, the following seems handy :
> >> >>
> >> >> -Hibernate the system once
> >> >> -Use this hibernation state every time the system
> >> reboots.
> >> >>
> >> >> Is this possible???
> >> >>
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >

John.
January 28th 04, 03:42 PM
Hi,

It took me while, but finally your getting my point : ALL
it does is reloading the exact state as it was before
hibernating.
Then why is it so hard to use this same state again every
time the system boots? Why overwrite it?


>-----Original Message-----
>Hi John,
>
>I think you are misinterpreting what hibernate does.
Hibernation copies the
>contents of ram to the hard drive (the hiberfil.sys you
mentioned), then
>powers down everything. Resuming from this state loads the
contents back to
>the system ram. It has naught to do with the data on the
system other than
>loading programs and data in use at the time of
hibernation back into ram.
>Each subsequent use of the system will overwrite the
previous version of
>that file.
>
>--
>Best of Luck,
>
>Rick Rogers aka "Nutcase" MS-MVP - Win9x
>Windows isn't rocket science! That's my other hobby!
>http://mvp.support.microsoft.com/
>Associate Expert - WinXP - Expert Zone
>www.microsoft.com/windowsxp/expertzone
>Win98 Help - www.rickrogers.org
>
>"John" > wrote in
message
...
>> I really don't know how the hibernation process works
>> (obviously), but it seems not so hard just NOT to reset
a
>> (number of) flag(s) and not erasing the hiberfil.sys
file.
>>
>> I mean : After hibernation, the OS has to find out
somehow
>> that it should restore from hibernation. It seems simple
>> just not to erase that information. So, the next time
when
>> booting, the same information is still present, so the
same
>> restore from hibernation is performed.
>> Seems easy...not?
>>
>>
>>
>> >-----Original Message-----
>> >Hi,
>> >
>> >This is not meant to be critical, but I don't think
you've
>> ever run into a
>> >system corrupted beyond recovery due to improper user
>> habits. A corrupted
>> >partition can result in the loss of all data, something
I
>> doubt that you
>> >really want to experience.
>> >
>> >To answer your question, no, I don't believe you can do
>> what you are asking.
>> >It would require something akin to restoring a system
>> image each time the
>> >system was loaded using a program especially written
for
>> this, something
>> >that would likely take a prohibitive amount of time
>> (talking hours, not
>> >minutes, here).
>> >
>> >--
>> >Best of Luck,
>> >
>> >Rick Rogers aka "Nutcase" MS-MVP - Win9x
>> >Windows isn't rocket science! That's my other hobby!
>> >http://mvp.support.microsoft.com/
>> >Associate Expert - WinXP - Expert Zone
>> >www.microsoft.com/windowsxp/expertzone
>> >Win98 Help - www.rickrogers.org
>> >
>> >"John" > wrote in
>> message
>> ...
>> >> That's something I hear a lot : loss of data.
>> >> I'm using this particular PC as MP3-player only. No
>> >> data whatsoever is written; so any buffers, cache or
>> >> whatever isn't of vital importance.
>> >>
>> >>
>> >> My question still remains :
>> >> Is it possible to startup to the same hibernation
state
>> >> over and over again?
>> >>
>> >>
>> >> >-----Original Message-----
>> >> >No.
>> >> >
>> >> >> I'd like to switch off my PC just by unplugging
the
>> wall
>> >> socket
>> >> >
>> >> >Never do this except for extreme circumstances. This
>> can
>> >> cause damage to
>> >> >system components, and irrecoverable loss of data.
>> >> >
>> >> >Hibernation is a power save state, but you should
never
>> >> shut the machine off
>> >> >while in this state. Use the appropriate shutdown
>> sequence
>> >> every time to
>> >> >properly stop running processes.
>> >> >
>> >> >--
>> >> >Best of Luck,
>> >> >
>> >> >Rick Rogers aka "Nutcase" MS-MVP - Win9x
>> >> >Windows isn't rocket science! That's my other
hobby!
>> >> >http://mvp.support.microsoft.com/
>> >> >Associate Expert - WinXP - Expert Zone
>> >> >www.microsoft.com/windowsxp/expertzone
>> >> >Win98 Help - www.rickrogers.org
>> >> >
>> >> >"John" > wrote in message
>> >> ...
>> >> >> I'd like to switch off my PC just by unplugging
the
>> wall
>> >> >> socket. Still I'd like to boot quickly to a
>> predefined
>> >> >> state (like out of hibernation).
>> >> >>
>> >> >> Therefore, the following seems handy :
>> >> >>
>> >> >> -Hibernate the system once
>> >> >> -Use this hibernation state every time the system
>> >> reboots.
>> >> >>
>> >> >> Is this possible???
>> >> >>
>> >> >
>> >> >
>> >> >.
>> >> >
>> >
>> >
>> >.
>> >
>
>
>.
>

Chris Holden
January 28th 04, 05:42 PM
"John." > wrote in message
...
> Hi,
>
> It took me while, but finally your getting my point : ALL
> it does is reloading the exact state as it was before
> hibernating.
> Then why is it so hard to use this same state again every
> time the system boots? Why overwrite it?
>
>
SNIP

That does appear to be all hibernation does, but the state of the machine
when you put it into hibernation may be reliant on the state of the
pagefile/s i.e., what's in there, various temp files etc. You reload from
the same hiberfile a second time, all that stuff will be different. You may
get away with it for a while, but eventually it is going to turn around and
bite you. I also don't think a hard power off is the greatest way to treat a
machine - get it during a disk write operation and you might end up sorry.
Chris

Alex Nichol
January 29th 04, 12:01 PM
Rick "Nutcase" Rogers wrote:

>
>To answer your question, no, I don't believe you can do what you are asking.
>It would require something akin to restoring a system image each time the
>system was loaded using a program especially written for this, something
>that would likely take a prohibitive amount of time (talking hours, not
>minutes, here).

Just to expand a bit: Hibernation writes all the content of RAM to a
file, then shuts down and powers off. On reboot, the hibernation file
is read back to RAM. But to continue the machine must also have the
pagefile still present and in its previous state. If you use the
machine and then power off again, the two files will not match and
things will not work.

A suggestion: in Power Options - Advanced, there is a pane 'when I push
the power button on the computer. . '. Set that to Shut down. You can
then safely shut down by pushing the button and walking away.


--
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K. (remove the D8 bit)

John
February 4th 04, 04:31 AM
And so we're back at my initial quesion.

I give up : It can't be done....

Thanks guys!

Google