After a thorough discussion with Google we couldn't consent on this one.
How can I shrink the Hibernate partition
which was set up by Windows 7 OEM?
My laptop has a harddisk drive and an additional SSD drive (20GB) which is used entirely by this hibernate partition (it's an Ultrabook, so I believe there are also some Intel drivers for quick waking up).
I want to add dual boot with an Ubuntu and I'd like to give some of this space to Ubuntu as swap disk too.
While under Win7 the partition manager can't touch this partition, GParted sees it as a raw partition.
I'd like to shrink it so that Win can still use it as before (just smaller) and that Linux will use it for swap.
Can this be achived?
Note: I'm trying not to wipe the partition and recreate because I'm thinking that the OEM stuff are there, on this partition. Or am I wrong?
EDIT:
Like Indrek suggested, this partition is probably a SRT cache. And SRT is done using RAID, so I think the entire drive is used.
hiberfil.sys
to be able to live on it. Plus 20 GB is a bit excessive, since your ultrabook most likely has only 4-8 GB of RAM. It's more likely that the SSD is used as a cache for the hard drive, a technology called Intel SRT. What's your laptop's exact make and model?C:\huberfil.sys
meant for hibernation..? Anyway, Linux uses a swap filesystem or file, Windows has a differet kind of filesystem (?) or file for that.