I have just encountered a strange problem with my Ubuntu / Windows 7 / Windows XP setup.
When I switch on my laptop, the Linux bootloader appears and I select Ubuntu when I want to use Ubuntu and when I want to use Windows 7, I select the option "Windows 7 (Loader) on /dev/sda1.
Selecting this option loads the Windows bootloader, which gives me two options, "Windows 7" and "Earlier Version of Windows". I then select Windows 7 and everything works as expected.
Today I was working on something in Windows 7 and while I was away, my brother accidentally pulled down the lid of my laptop. I pulled the lid up just in time, only to see a black screen, but with the power button switched on. (My guess is that Window 7 was on its way to hibernate).
I tried to press some buttons on the keyboard, but nothing happened. Finally I long-pressed the power button for a few minutes, which turned off the laptop. Then I restarted the computer and when I selected the "Windows 7 (Loader) on /dev/sda1 entry in Linux boot loader, the computer restarted and showed me the Linux boot loader again. I repeated the same but nothing changed.
I have run Boot Repair from my Ubuntu installation (I am able to boot into Ubuntu!) but did not try the recommended repair options (because I believe the problem is related to the Windows boot loader and not to the Linux boot loader). Instead I have created the boot info summary.
I have already tried the following things:
Updating GRUB by running
sudo update-grub2
Booting in Linux Recovery Mode and selecting "grub"
Deleting the
hiberfil.sys
file on Windows 7 partition
Please help me to solve this issue. Thank you very much in advance.