I have a Sony Vaio laptop, that came pre-installed with Windows 7. I resized the windows partition, then set up a dual boot scenario with Ubuntu.
I've noticed that when I run Windows and put the computer to sleep (i.e. shut the lid), and later resume it will sometimes show the grub menu. If I select the Windows 7 entry, it will resume as expected. If I select Ubuntu, then later restart, then select Windows, Windows will again resume from the last state.
The behaviour seems to be based on the amount of time it has been inactive. For example, if I shut the lid and the re-open straight away, it will return to Windows. On the other hand, if I shut the lid and come back some hours later, grub will be displayed.
On the other hand, with I put Ubuntu to sleep, it will always just go straight to Ubuntu.
- Is the behaviour I experience when running Windows - displaying grub, re-producible when running Ubuntu?
- Why does this occur on Windows?
- Can I disable the behaviour from Windows, or is it out of my control?
- How and where is the state saved - can I remove the state without rebooting back into windows and doing a hard reset, so that I can mount the disk?