I have seen many questions regarding computers that reboot after suspend or hibenation, but always as an undesired behaviour. Now, what I want is to make my computer do exactly that.
I have been multibooting windows and linux (and a few other) for a long time, and althuogh most people would advise against it, I like to hibernate one operating system and reboot into the other (eventually previously hibernated). I know what I'm doing, and with proper care never suffered filesystem corruption.
I can set the next os to boot, to avoid going through the boot menu*, but still have to wait for the system to hibernate, in order to press the power button to turn it on again. On hardware that does not provide any feedback as to the power state (no lights or fan noise during hibernation), I have to wait some extra time, to make sure the system has finished writing the hibernation image and truly shutdown.
It would be much nicer if I could tell the system to reboot immediately after hibernation. Is that possible to achieve in a generic way on modern uefi systems? Or does the behaviour reported in those other posts always result from malfunctioning hardware/drivers?
My use case is:
I am doing some work under Win8, have lots of documents open, and suddenly need to use linux, because windows sucks. Or I feel the urge to play AngryBirds in RemixOS... I'd like to just click a shortcut and wait a few seconds, and my system boots the desired OS, in the state I last left it. After I'm done with that, do the same and I get back to my previous state on windows.
- I have not really implemented that, but should be feasible using either uefi or grub