Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I wanted to know if it's possible to simulate the hibernate process of Ubuntu to save the entire state session into a file. Then to select which one to restore ?

share|improve this question
up vote 2 down vote accepted

In short, you can't.

When a system hibernates, it saves the contents of RAM into a swap file (as in Windows) or to a swap partition (as in Linux). Ubuntu could hibernate to a swap file.

However, you simply cannot have two hibernated states at the same time. When you hibernate, the RAM references little system writes that are going on as well as hard drive contents, etc. If you resume that state with those things changed, you'll screw up your system. Operating systems delete the hibernation data after resuming to prevent this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.