Overclock.net banner
1 - 9 of 9 Posts

·
Premium Member
Joined
·
9,525 Posts
Discussion Starter · #1 ·
Hello all,

I have an old OCZ Solid2 30GB SSD. Since I just upgraded to 16GB of RAM, I no longer have enough room on the SSD to fit the Hibernation file. I've heard it mentioned that you can move it to another drive, but I can't find any info on how exactly you do this. I know Windows has the capability, because although there are some discouraging comments from Microsoft saying it isn't possible, the Windows bootloader (hidden away in that 100MB letter-free startup partition) actually loads your data off another partition.

I've created a 30GB partition on my WD 640GB Black, which I plan to move pagefile.sys and hiberfil.sys over to. Pagefile is easy, but Hibernation I need some help with...

Here's what I've figured out so far:

If you type in bcdedit /enum all or bcdedit /enum resume into the command prompt you can get quite a bit of info.

Go into DiskMgmt.msc and assign your 100MB startup partition to a drive letter like A:

Using the info from bcdedit /enum resume, type in a command that looks like this: bcdedit /store "A:\Boot\BCD" /set {f13065b7-60ab-11e1-99ae-caaxxxxxxxxx} filedevice partition=D: (Where D: is your other partition.)

Now type "bcdedit /enum resume" again to verify everything is a-okay.

And... that gets me to my roadblock. While the setting seems to be correct right now, after I reboot it changes back to exactly what it was before. I assume I need another cryptic command to lock the changes into place? Second possible roadblock is how to move hiberfil.sys to D: once the first is dealt with - but for all I know powercfg /h ON will move it once the setting is saved.

If anyone has any ideas, toss them out here.
smile.gif
Thanks
 

·
Registered
Joined
·
197 Posts
Is hibernation a feature you can't live without? I have my page file set to around 600mb, its minimal, but it gets by. I have 16gb of ram as well, and never had any issues when setting the page file to that size. Sorry I couldn't help with your hibernate issue, but a quick google search off microsoft forums says its not possible. If you don't care for it, then I would just disable it to save space.
 

·
Premium Member
Joined
·
9,525 Posts
Discussion Starter · #3 ·
It's for data integrity. I frequently leave my PC for several hours, but it's busy doing things. If there's a power outage, I want it to shut off. Currently it goes into sleep mode, slowly draining my UPS's battery. Ideally it should hibernate instead, so that I can resume whatever I was doing afterwards.

While I can live without it, I must say it'd be annoying to have to repeat 30 hours of encoding.
Quote:
Originally Posted by katana2k3 View Post

Sorry I couldn't help with your hibernate issue, but a quick google search off microsoft forums says its not possible. If you don't care for it, then I would just disable it to save space.
Microsoft is probably lying about it not being possible. They lie about lots of stuff. (Like the 32bit RAM limit) Then years later it's proven to be untrue, and they just didn't care to support it.
 

·
Registered
Joined
·
197 Posts
Quote:
Originally Posted by Kramy View Post

While I can live without it, I must say it'd be annoying to have to repeat 30 hours of encoding.
Microsoft is probably lying about it not being possible. They lie about lots of stuff. (Like the 32bit RAM limit) Then years later it's proven to be untrue, and they just didn't care to support it.
I agree with you there. I'll keep an eye out for you.
 

·
Premium Member
Joined
·
10,774 Posts
You can't move hiberfil.sys to a different drive.
The Windows boot loader contains a mini NTFS driver to get the system up off the ground and it only knows how to read files from the root of the primary partition (i.e. the one Windows is installed on).

Microsoft definitely aren't lying. Believe me, this isn't possible
smile.gif


What you can do is resize the hibernation file to the smallest possible using the following command:

Code:

Code:
powercfg /h /size 50
 

·
Premium Member
Joined
·
4,157 Posts
Quote:
Originally Posted by tompsonn View Post

You can't move hiberfil.sys to a different drive.
The Windows boot loader contains a mini NTFS driver to get the system up off the ground and it only knows how to read files from the root of the primary partition (i.e. the one Windows is installed on).
Microsoft definitely aren't lying. Believe me, this isn't possible
smile.gif

What you can do is resize the hibernation file to the smallest possible using the following command:

Code:

Code:
powercfg /h /size 50
qft
 

·
Premium Member
Joined
·
9,525 Posts
Discussion Starter · #7 ·
Quote:
Originally Posted by tompsonn View Post

Microsoft definitely aren't lying. Believe me, this isn't possible
smile.gif
That's what people said about the 32bit RAM limit - but since I used 8GB+ on a WinXP SP3 system, I think I'll continue to search for a way.
Quote:
Originally Posted by tompsonn View Post

What you can do is resize the hibernation file to the smallest possible using the following command:

Code:

Code:
powercfg /h /size 50
What size will it end up being, and what use is that to me? If I can't save all my RAM to the drive, then...?
 

·
Premium Member
Joined
·
10,774 Posts
Quote:
Originally Posted by Kramy View Post

That's what people said about the 32bit RAM limit - but since I used 8GB+ on a WinXP SP3 system, I think I'll continue to search for a way.
What size will it end up being, and what use is that to me? If I can't save all my RAM to the drive, then...?
Believe what you like, sir... the fact is the NTFS driver embedded in the boot loader knows nothing about additional drives you have installed at boot time and can only read from the root of the drive that Windows is installed to.

For the record, the 32-bit limitation does exist because mathematically you can only fit 4GB inside 32-bits (2^32 = 4 294 967 296). The 32-bit 4GB limit is not a limitation imposed by Windows, however Windows can take advantage of PAE on x86 CPUs. PAE increases the addressable bits to 36, which raises the limitation from 4GB to 64GB, but still the 32-bit size of the virtual address in Windows itself does not change, so programs can still only use 4GB of virtual memory at any one time (note that PAE stands for physical address extension). You might want to take a look here.
You must have been using PAE to enable additional addressable bits to circumvent the limitation. Anyway, I'm not getting into an argument over this
smile.gif


Not too sure on the Microsoft "lie", just stating fact, however being Microsoft I wouldn't put it past them
tongue.gif


If you have 16GB of RAM, setting it to 50% which is the lowest will create around 8GB hibernation file. Windows will compress memory contents to fit it inside the smaller hibernation file.
 

·
Premium Member
Joined
·
9,525 Posts
Discussion Starter · #9 ·
Quote:
Originally Posted by tompsonn View Post

Quote:
Originally Posted by Kramy View Post

That's what people said about the 32bit RAM limit - but since I used 8GB+ on a WinXP SP3 system, I think I'll continue to search for a way.
What size will it end up being, and what use is that to me? If I can't save all my RAM to the drive, then...?
You must have been using PAE to enable additional addressable bits to circumvent the limitation. Anyway, I'm not getting into an argument over this
smile.gif
Yep. Plus some other mods, since even with PAE 32bit Windows doesn't allow programs to use higher memory.
Quote:
Originally Posted by tompsonn View Post

Not too sure on the Microsoft "lie", just stating fact, however being Microsoft I wouldn't put it past them
tongue.gif
I have no reason to doubt what you're saying.

Still, it's Microsoft - I want to be sure.
biggrin.gif

Quote:
Originally Posted by tompsonn View Post

If you have 16GB of RAM, setting it to 50% which is the lowest will create around 8GB hibernation file. Windows will compress memory contents to fit it inside the smaller hibernation file.
Ok. I suppose that'll have to do if I really need hibernation. I should probably test how long sleep lasts first. (before draining my UPS battery)

Thanks.
smile.gif
 
1 - 9 of 9 Posts
Top