Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Partition changes causes no hilbernation.

25 Mar 2012   #1
corruptDNA

Windows 10 64 bit
 
 
Partition changes causes no hilbernation.

I recently decided to create a new partition so i shrank my C; partition (where windows is installed) to create a new one but it was not possible to do so because already had 4 primary partitions.. (i think.. ) ..
but regardless, i wanted to create a new partition so i can install ubuntu, which i was able to do so successfully on the free space that i got from shrinking the C drive.
Now the problem comes here, after i shrunk the partition, in was unable to hilbernate my computer. At first i thought it was because of dual boot , but since the problem occurred directly after shrinking the partition i think its partition related.
So i googled and found it can be fixed by using cmd on administrative priviliges and turning on powercfg -h off and then on .

So that didnt work, so please help me out... i use hilbernate a lot..

Edit: Added my computer specs using cpu-z as an attachment.




Attached Files
File Type: txt Specs.txt (105.5 KB, 12 views)
My System SpecsSystem Spec
.
25 Mar 2012   #2
gregrocker

 

Please post back a screenshot of your maximized Disk Mgmt drive map and listings: Screen Shots

It's possible you converted to Dynamic. After three Primaries you can add as many Logical as you want, but four Primaries is the limit before conversion.

Using GRUB bootloader on the same HD can also corrupt Win7 beyond repair. You can try deleting the the Linux distro in Disk Mgmt, mark Win7 partition Active (if it's not) then run Startup Repair - Run 3 Separate Times

If this fails reinstall the Display driver by uninstalling in Device Manager, then reboot.

Try with and without Hybrid sleep. Set Sleep to 1 minute and Hibernate to 2 minutes to test.
My System SpecsSystem Spec
25 Mar 2012   #3
sgage

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by corruptDNA View Post
I recently decided to create a new partition so i shrank my C; partition (where windows is installed) to create a new one but it was not possible to do so because already had 4 primary partitions.. (i think.. ) ..
but regardless, i wanted to create a new partition so i can install ubuntu, which i was able to do so successfully on the free space that i got from shrinking the C drive.
Now the problem comes here, after i shrunk the partition, in was unable to hilbernate my computer. At first i thought it was because of dual boot , but since the problem occurred directly after shrinking the partition i think its partition related.
So i googled and found it can be fixed by using cmd on administrative priviliges and turning on powercfg -h off and then on .

So that didnt work, so please help me out... i use hilbernate a lot..
When you installed Ubuntu, did you have install grub2 in the MBR (the default)? Windows seems to require its bootloader code in the MBR to hibernate properly. I don't know how adept you are with Linux, but you can boot with your install CD/USB, run the Live session, and chroot to your installed Ubuntu. There you can install grub2 to the partition that Ubuntu is on:

grub-install -f /dev/sdax (where x is the partition)
update grub

Then you need to boot back into Windows. I recommend using EasyBCD to then put Windows' bootloader back in the MBR and make an entry for your Ubuntu.

If this is making absolutely no sense, you might want to simply reinstall Ubuntu. Use the 'custom layout' selection to assign your partitions, and at the bottom specify in the dropdown thing that you want grub2 in sda-whatever instead of plain sda (which signifies the MBR).

It's all very doable - I rearrange my partitions all the time.
My System SpecsSystem Spec
.

26 Mar 2012   #4
corruptDNA

Windows 10 64 bit
 
 

@gregrocker:
I dont mind posting the screenshots, but can you give me a brief explanation on how to get "maximized Disk Mgmt drive map and listings" ..
and yes, i did delete ubuntu, but then there was nothing to boot windows as grub replaced the original boot loader so then i would encounter "grub rescue" (my worst nightmare.. "

since my laptop came with windows preloaded, i couldnt just pop in a windows 7 cd as i didnt have one so i just reinstalled ubuntu so i could use windows.. (the ubuntu was installed on the space i shrunk from c.. )


@sgage:
i dont know if i installed grub legacy or grub 2 but it replaced the original bootloader and it was installed by default when i was installing ubuntu..
and i dont need to use the live cd, i can access ubuntu normally as grub is still installed and i didnt wipe the ubuntu partition..
i understand the chroot part of installing grub to another sda but will is there another way to restore the original mbr than using EasyBcd?

Thanks a lot for replying guys, i really appreciate it.. As soon as i get my laptop fixed, i will browse the forums so i can help other people (if the problem is in my knowledge) just like you did..
My System SpecsSystem Spec
26 Mar 2012   #5
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
Enough space?

Just a thought.
Is there enough space on your Windows partition for the Hibernation file?
My System SpecsSystem Spec
26 Mar 2012   #6
corruptDNA

Windows 10 64 bit
 
 

yes more than enough as you can see below and my drive where the hilberfil.sys is located still has 151 gb of space left..


Attached Thumbnails
Partition changes causes no hilbernation.-untitled.png  
My System SpecsSystem Spec
26 Mar 2012   #7
gregrocker

 

Type Disk Management in Start Search box, click result, maxmize window to full screen.

Open the Snipping Tool in Start menu and take a rectangular snip of drive map with listings, save file, then post back using paper clip in reply box: Screen Shots

To delete Linux, you would normally mark Win7 partition or it's 100mb System Reserved (preferred) partition Active, delete Linux partition, then boot DVD/Repair CD to run Startup Repair - Run 3 Separate Times until WIn7 starts on its own. Partition - Mark as Active

But GRUB corruption sometimes requires wiping the HD with Diskpart Clean Command accessing DISKPART At PC Startup.

Let us see the screenshot to make sure there are no other problems.
My System SpecsSystem Spec
26 Mar 2012   #8
corruptDNA

Windows 10 64 bit
 
 

Here:
Partition changes causes no hilbernation.-capture.png


My System SpecsSystem Spec
26 Mar 2012   #9
gregrocker

 

Your OEM wants the System boot files on the Recovery partition. The Active flag should also be there signifying this and so that repair will not try to write them to the tiny OEM partition and error out. So mark Recovery Active now.

Then delete Linux partition in Disk Management, boot DVD or REpair CD to run Startup Repair - Run 3 Separate Times.

It's questionable that Recovery will run now after having GRUB imposed on it, but you can try cueing it up from within Win7 or from boot to see if it is at least accessible. Likewise the OEM tools partition may have been corrupted so I would try running Hardware Diagnostics from the OS or boot to see if it works too. It is good to run the tests occasionally anyway.

Once it's configured correctly we'll look at your Hibernate issue if it still exists.
My System SpecsSystem Spec
26 Mar 2012   #10
corruptDNA

Windows 10 64 bit
 
 

oke so i marked the recovery as active, but as soon as i did that, the 50 so gb became free.. (turned green ) , is that a problem? cause i think thats were linux was kept.. should i be able to restart normally?
My System SpecsSystem Spec
Reply

 Partition changes causes no hilbernation.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Clean install wont partition Disk 0 with system reserved partition
Trying to do a clean install and my Windows 7 Home Premium x64 seems to have an aversion to putting the system reserved partion on disk 0. My HP notebook has two identical disk drives. If I boot up the windows install with both drives unallocated and do a custom install, the window where i select...
Installation & Setup
Partition Manager. Primary Boot Partition as Secondary Drive.
I loaded a hard disk formatted as a Windows Primary Disk onto my SATA controller. The BIOS sees the disk. In this case I want to load the new disk as a secondary drive (of course I have booted with a different hard disk). I load the Partition Manager and inside I find that the partition manger does...
Hardware & Devices
create dual boot partition from exisiting W7 partition on existing HDD
I would like to create a bootable partition from an existing Win 7 partition. I have two partitions bootable now. Both Win 7- one with dragon dictate and various software I am trying out (on a 1.5 TB drive) and the other is my regular boot partition on an SSD with the system reserved partition. ...
Installation & Setup
Windows lost partition letter and don't recognize format partition
Hi, I have a question. I formatted a partition of my harddrive but in the end not only a partition was formatted but the next partition also was gone. Meaning: the data is still there, but the NTFS partition isn't recognised anymore by Windows, and in diskmanager the space is now ready to...
BSOD Help and Support
Setup unable to create a new partition or locate an existing partition
I bought a fairly new eMachines E528-2325 from a friend. before buying he decided to use DBAN 2.2.6 to wipe Windows 7 and install Ubuntu 11.04, after buying i requested him to reinstall Windows 7 using usb, so he again used DBAN to wipe the computer. Upon trying to install windows he got the error...
Installation & Setup
partition table issue - win7 hidden partition formatted
Hi friends. I just encountered a serious issue. I was about to reinstall Win 7. I used a tool in Hiren Boot CD and formatted c:, and then i accidentally formatted the 125MB partition created by win 7. my HDD was partitioned as C, D, E, F. now i can access only C and D, E is shown as RAW...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:38.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App