Hibernation corruption on Windows 8

User discussion and information resource forum for BootIt Bare Metal.

Hibernation corruption on Windows 8

Postby davewilk » Mon Jan 14, 2013 4:25 am

So of course I didn't pay attention, and installed Windows 8 without disabling Fast Startup, either in Windows 8 itself or in BIBM (actually I used an older version of BIBM that does not have this feature). However I am thinking that I may yet be able to avert disaster.

I have a system with an OS disk HD0, which uses unlimited primaries, and that contains all my OS's (currently just Win7 and Win8 on this machine) and a data disk HD1 that contains data shared between the OS's. On HD0, for each OS, only one partition is present, the rest are hidden.

I started with just one Windows 7 partition and then, following my usual methodology, I created a new partition for Win8 on HD0, hid the data disk HD1, installed a sacrificial copy of Vista, and then did a clean install of the $39.00 Windows 8 upgrade. Then I reinstated BIBM and un-hid the data disk. I worked in Windows 8 for a while, probably restarting it and/or shutting it down several times.

So far, so good, I think. But next I used BIBM to boot Windows 7 (I have not booted Windows 8 since then). What I cannot remember is whether I exited Windows 8 the last time using Shutdown or Restart. Probably Restart, in which I think everything should be fine, because Restart does not use hibernation.

So let's suppose I did a Shutdown (how could I tell?). Is there some way that I can prevent Windows 8 from restarting itself using the hiberfil.sys file? For example:

1. Install later version of BIBM and disable Fast Startup. Obviously I should do this anyway, but will it prevent Windows 8 from using the hiberfil.sys file on restart?

2. Manually delete hyberfil.sys in the Win8 partition without starting Windows 8 (how would I do this?).

3. Boot with the Win8 disk and do some kind of Repair install.

4. Suppose I just use BIBM to hide the data partition before booting into Windows 8. Would that work? Or failing that, remove the disk from the machine.

But here's a scary thought. I have another Windows 7 machine in my house which works as HTPC and server. And the Win7 and Win8 on the first machine both use this server. Could this hibernation on shutdown feature corrupt the disks on the networked machine?
davewilk
 
Posts: 43
Joined: Sun Jan 13, 2013 5:59 am

Re: Hibernation corruption on Windows 8

Postby TeraByte Support » Tue Jan 15, 2013 12:43 am

yes, you can use the new version of BIBM and disable it before going in to
W8.

"davewilk" wrote in message news:4330@public.bootitbm...

So of course I didn't pay attention, and installed Windows 8 without
disabling Fast Startup, either in Windows 8 itself or in BIBM (actually I
used an older version of BIBM that does not have this feature). However I am
thinking that I may yet be able to avert disaster.

I have a system with an OS disk HD0, which uses unlimited primaries, and
that contains all my OS's (currently just Win7 and Win8 on this machine) and
a data disk HD1 that contains data shared between the OS's. On HD0, for each
OS, only one partition is present, the rest are hidden.

I started with just one Windows 7 partition and then, following my usual
methodology, I created a new partition for Win8 on HD0, hid the data disk
HD1, installed a sacrificial copy of Vista, and then did a clean install of
the $39.00 Windows 8 upgrade. Then I reinstated BIBM and un-hid the data
disk. I worked in Windows 8 for a while, probably restarting it and/or
shutting it down several times.

So far, so good, I think. But next I used BIBM to boot Windows 7 (I have not
booted Windows 8 since then). What I cannot remember is whether I exited
Windows 8 the last time using Shutdown or Restart. Probably Restart, in
which I think everything should be fine, because Restart does not use
hibernation.

So let's suppose I did a Shutdown (how could I tell?). Is there some way
that I can prevent Windows 8 from restarting itself using the hiberfil.sys
file? For example:

1. Install later version of BIBM and disable Fast Startup. Obviously I
should do this anyway, but will it prevent Windows 8 from using the
hiberfil.sys file on restart?

2. Manually delete hyberfil.sys in the Win8 partition without starting
Windows 8 (how would I do this?).

3. Boot with the Win8 disk and do some kind of Repair install.

4. Suppose I just use BIBM to hide the data partition before booting into
Windows 8. Would that work? Or failing that, remove the disk from the
machine.

But here's a scary thought. I have another Windows 7 machine in my house
which works as HTPC and server. And the Win7 and Win8 on the first machine
both use this server. Could this hibernation on shutdown feature corrupt the
disks on the networked machine?

TeraByte Support
 
Posts: 2335
Joined: Thu May 05, 2011 3:37 pm

Re: Hibernation corruption on Windows 8

Postby davewilk » Tue Jan 15, 2013 6:40 am

TeraByte Support wrote:
> yes, you can use the new version of BIBM and disable it before going in to
>
> W8.

Thanks for the reply.

So that will actually prevent use of hiberfil.sys on reboot?

How does that work exactly?
davewilk
 
Posts: 43
Joined: Sun Jan 13, 2013 5:59 am

Re: Hibernation corruption on Windows 8

Postby davewilk » Tue Jan 15, 2013 8:42 am

OK, I see that when I install latest BIBM and disable Fast Startup on the Windows 8 partition, it explicitly says that the existing hibernated state will be removed (or something like that).

I am still curious how this is done...

I can see that this is more critical for Windows 8, because it implements (partial) hibernation on shutdown. But would it be a good idea to disable return from hibernation for other Microsoft OS's? True, you might lose some work, but not as bad as corrupting the disk.
davewilk
 
Posts: 43
Joined: Sun Jan 13, 2013 5:59 am

Re: Hibernation corruption on Windows 8

Postby davewilk » Wed Jan 16, 2013 8:57 am

OK, I finally got up courage to boot into Windows 8, and everything seems OK.

When I went to disable Fast Startup from inside Windows 8, I found that it was already disabled. Did BIBM do that?

I have also completely disabled hibernation in both Windows 7 and Windows 8. Just too dangerous in a multi-boot situation (I never realized this before).

Anyway, on to my other machine...
davewilk
 
Posts: 43
Joined: Sun Jan 13, 2013 5:59 am

Re: Hibernation corruption on Windows 8

Postby DrTeeth » Wed Jan 16, 2013 1:52 pm

On Wed, 16 Jan 2013 07:57:42 PST, just as I was about to take a herb,
davewilk disturbed my reverie and wrote:

>I have also completely disabled hibernation in both Windows 7 and Windows 8.
Me too. It's a shame it is poorly implemented as I would really like
to use it.
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose whether or not
to dance in the puddles (Jewish proverb).
DrTeeth
 
Posts: 970
Joined: Fri Aug 12, 2011 11:58 am

Re: Hibernation corruption on Windows 8

Postby Ed Smith » Fri Jan 18, 2013 12:15 am

Don't know if your using bootnow or not. I use bootnow and set it up as
Terabyte said and now can use hibernate with no corruption.

In public.tech.misc look for a post from Ed titled New Win 8 Question
starting 12-19-12.
Read those and the replies from Terabyte.
Doing what they said to use "bootnow /hibernate" fixed my corruption problem
and I am able to use Hibernate in both Windows 7 & Windows 8.

"DrTeeth" wrote in message news:4370@public.bootitbm...

On Wed, 16 Jan 2013 07:57:42 PST, just as I was about to take a herb,
davewilk disturbed my reverie and wrote:

>I have also completely disabled hibernation in both Windows 7 and Windows
>8.
Me too. It's a shame it is poorly implemented as I would really like
to use it.
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose whether or not
to dance in the puddles (Jewish proverb).

Ed Smith
 
Posts: 108
Joined: Thu Sep 01, 2011 11:14 am

Re: Hibernation corruption on Windows 8

Postby DrTeeth » Fri Jan 18, 2013 4:23 pm

On Thu, 17 Jan 2013 23:15:35 PST, just as I was about to take a herb,
"Ed." disturbed my reverie and wrote:

>Don't know if your using bootnow or not. I use bootnow and set it up as
>Terabyte said and now can use hibernate with no corruption.

Thanks for that. Could be very handy. Does it allow the use of the
Win8 fastboot feature without issue?
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose whether or not
to dance in the puddles (Jewish proverb).
DrTeeth
 
Posts: 970
Joined: Fri Aug 12, 2011 11:58 am

Re: Hibernation corruption on Windows 8

Postby Ed Smith » Fri Jan 18, 2013 9:34 pm

I don't know. I had my Fast Stat turned off when I installed Win 8 and have
left it off.

"DrTeeth" wrote in message news:4399@public.bootitbm...

On Thu, 17 Jan 2013 23:15:35 PST, just as I was about to take a herb,
"Ed."

disturbed my reverie and wrote:

>Don't know if your using bootnow or not. I use bootnow and set it up as
>Terabyte said and now can use hibernate with no corruption.

Thanks for that. Could be very handy. Does it allow the use of the
Win8 fastboot feature without issue?
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose whether or not
to dance in the puddles (Jewish proverb).

Ed Smith
 
Posts: 108
Joined: Thu Sep 01, 2011 11:14 am

Re: Hibernation corruption on Windows 8

Postby davewilk » Sat Jan 19, 2013 6:41 am

Ed Smith wrote:
> Don't know if your using bootnow or not. I use bootnow and set it up as
> Terabyte said and now can use hibernate with no corruption.

I don't use hibernation (except on my laptop, which does not multi-boot), so I won't miss it. Thanks for the tip though.
davewilk
 
Posts: 43
Joined: Sun Jan 13, 2013 5:59 am


Return to BootIt Bare Metal

cron