Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Hibernating and booting into another OS: will my filesystems be corrupted?

Frequently I use Windows' hibernation option. However, I miss one feature. I want to save my current session, which hibernation in fact does, and then reboot the machine to load my Ubuntu OS at startup.

Unfortunately I cannot figure out how this is going to work.

share|improve this question

marked as duplicate by Scott Chamberlain, Randolph West, ChrisF, Sathya May 18 '12 at 13:36

This question was marked as an exact duplicate of an existing question.

when you boot the machine after hibernating, don't you still get the opportunity to boot from an alternate partition? – uSlackr May 17 '12 at 14:47
Not automatically and not by pressing F8 or F12. Immediately Windows starts showing me the 'Resuming Windows' screen. Is that different on your system? – orschiro May 17 '12 at 14:50
@orschiro - This is how Windows designed the system. They designed a feature to boot their own operating system after you hibernate only logical. – Ramhound May 17 '12 at 15:29
Thanks Ramhound. So there is no way to save a Window session and boot into another OS? – orschiro May 17 '12 at 17:03
You may want to read Hibernating and booting into another OS: will my filesystems be corrupted? If you do this do not mount any of your NTFS volumes as writable. – Scott Chamberlain May 17 '12 at 21:24
up vote 0 down vote accepted

It's possible, I do it on my laptop. I dual-boot Windows 7 and Linux, and I can hibernate one and boot into the other, no problem. The two systems shouldn't affect each other. There's a few things that might be wrong:

Are you using hibernate to disk, or suspend (to ram)? You need to use hibernate, or else you'll get the situation you describe. In hibernate, all data is saved to disk and the computer uses no power - you can unplug it and pull the battery and still resume. Suspend stops everything except the RAM, which still draws power. If any lights remain on with the power cord unplugged, you're not in S4 hibernate - you need to enable it.

Hibernate needs to be supported in your BIOS, which it should be in any computer made in the last decade or so. It also needs to be enabled in Windows. Click the start orb and click the arrow next to the "shut down" button. If something on that list says Hibernate, hibernate to disk is on in Windows and something else is the problem (check your BIOS). If something there says Sleep, turn on hibernate to disk by doing the following: Go to Power Options in the Control Panel. Click "change plan settings" next to your current power plan, expand "Sleep" and turn "Allow Hybrid Sleep" off.

If this doesn't work you might be loading the Windows bootloader before GRUB (the bootloader than Ubuntu installs), although this is unlikely because usually if that's the case you can't boot into Linux at all. If my first suggestion doesn't work, I'll write something here about this.

share|improve this answer
How does one enable Hibernate in the BIOS? I'm curious. – user3463 May 17 '12 at 22:03
Scratch that, I'm thinking of the difference between S1 and S3 sleep (you can generally set one or both on in the BIOS). S4 sleep - hibernate - should either work or not work, I don't think there's normally a setting to turn it off. If there is, the way to change the setting would vary depending on your BIOS. I've edited my answer. – ChimneyImp May 18 '12 at 1:13
Thanks. I suspected you were talking about S3 sleep, but my experience around that is murky to say the least. I've never considered myself a hardware guy. – user3463 May 18 '12 at 5:46
Hello ChimneyImp, Thanks for your extensive reply. Probably the bootloader is the exact problem. I installed Ubuntu with the help of Wubi. In this case the Windows bootloader is loaded and shows me Windows 7 and Ubuntu as choices. When selecting Ubuntu GRUB is started and shows me the different kernel versions to choose from. To sum it up, is there any chance then to interrupt the restoring process and display Windows' bootloader to choose Ubuntu from there? – orschiro May 18 '12 at 17:27
Yes, you need to install GRUB so it's the main bootloader (i.e., it loads first and can load the Windows bootloader later). This requires some manual configuration. There's probably a question somewhere on Stack Exchange about installing GRUB as a main bootloader, if not the folks at the Ubuntu forums could lead you in the right direction. – ChimneyImp May 18 '12 at 19:14

Not the answer you're looking for? Browse other questions tagged .