The hiberfil.sys is created and used when hibernating in Windows. Sometimes can be needed to help shrink the space on a drive.
Launch a command prompt with administrator privileges.
You can hit Windows Key + R, type in cmd, and hit Ctrl + Shift + Enter together. It’ll ask you to verify that you want to launch it. Hit Yes.
Alternatively you can search for the Command Prompt, Right click on it and Run as Administrator
Turn Hibernate off
powercfg -h off
A reboot should remove the file. If not you should be able to delete it. It is on the root of the drive, but you’ll need to enable hidden files and disable the “Hide protected operating system files” to see it.
You can turn it back on by changing off to on
powercfg -h on
Chrooting can be super useful for changing things like the root password, repairing grub bootloader etc., things that require the system to be mounted. Typically if your chrooting into an OS drive you can boot up on a Live Linux distro, or use the Rescue feature on some Linux installers.
Mount main drive
Change sdb2 to the root partition of your drive.
mount /dev/sdb2 /mnt
Mount other stuff
mount -t proc none /mnt/proc
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
mount -o bind /run /mnt/run
If you want to, you can mount the boot partition. Change sdb1 if your boot partition is something else. For efi, you may need to mount the boot partition then mount the efi partition inside /boot/efi.
mount /dev/sdb1 /mnt/boot
You should now be inside the chroot environment. To exit the chroot, hit control+d or type exit.
If your having issues resolving DNS refer to this post.
Hit the Windows key, type in diskpart and hit enter
You should get a black Command like Prompt window.
List the disks
You should get a list of the disk you have as well as the number for the disk.
Select the disk you want in our case disk 3. Change the number to the number of your drive
select disk 3
clean the disk
Now you can open up Disk Manager and create a new Simple Volume on your drive.