Can I save the working status of Ubuntu before reboot, and recover it after reboot?
Clash Royale CLAN TAG#URR8PPP
Is it possible to save the working status of Ubuntu,and reboot it and recover its working status? By working status of Ubuntu, I mean things such as the programs that are running, and the statuses of the individual processes.
Are the following ideas possible?
- When I suspend Ubuntu, the working status of Ubuntu is saved to disk, and when I wake it up, the working status is recovered, i.e. I can resume what I left when suspend it. Can this be generalized to reboot?
Modern Operating Systems says:
With virtual machines now available, a software developer can carefully construct a virtual machine, load it with the required
operating system, compilers, libraries, and application code, and
freeze the entire unit, ready to run. This virtual machine image
can then be put on a CD-ROM or a Website for customers to install or
download. This approach means that only the software developer has
to understand all the dependencies. The customers get a complete
package that actually works, completely independent of which
operating system they are running and which other software,
packages, and libraries they have installed. These ‘‘shrink-
wrapped’’ virtual machines are often called virtual appliances. As
an example, Amazon’s EC2 cloud has many pre-packaged virtual
appliances available for its clients, which it offers as convenient
software services (‘‘Software as a Service’’).Does a "virtual machine image" save the working status of the OS (the programs that are running and the statuses of the processes), or
just the installed packages?
Thanks.
virtual-machine suspend reboot
add a comment |
Is it possible to save the working status of Ubuntu,and reboot it and recover its working status? By working status of Ubuntu, I mean things such as the programs that are running, and the statuses of the individual processes.
Are the following ideas possible?
- When I suspend Ubuntu, the working status of Ubuntu is saved to disk, and when I wake it up, the working status is recovered, i.e. I can resume what I left when suspend it. Can this be generalized to reboot?
Modern Operating Systems says:
With virtual machines now available, a software developer can carefully construct a virtual machine, load it with the required
operating system, compilers, libraries, and application code, and
freeze the entire unit, ready to run. This virtual machine image
can then be put on a CD-ROM or a Website for customers to install or
download. This approach means that only the software developer has
to understand all the dependencies. The customers get a complete
package that actually works, completely independent of which
operating system they are running and which other software,
packages, and libraries they have installed. These ‘‘shrink-
wrapped’’ virtual machines are often called virtual appliances. As
an example, Amazon’s EC2 cloud has many pre-packaged virtual
appliances available for its clients, which it offers as convenient
software services (‘‘Software as a Service’’).Does a "virtual machine image" save the working status of the OS (the programs that are running and the statuses of the processes), or
just the installed packages?
Thanks.
virtual-machine suspend reboot
Strange question, but it seems there is a Russian project for that, at least for your own use. Not sure about it working well to give to customers. Can't recall the project name atm
– Rui F Ribeiro
Feb 2 at 13:08
What do you mean by generalized to reboot, shouldn't suspending satisfy your needs already? The virtual machine image includes all the non-volatile status of a virtual machine, it usually doesn't include the running status like memory data, registers value of CPU or other devices. But I believe some virtualization technology may offers you the function to snapshot the whole status of a virtual machine into an single image file and then let restore it later
– 炸鱼薯条德里克
Feb 2 at 14:07
Virtual box, I believe it supports guest OS suspension, but I don't think the suspended virtual machine can be port to another host machine easily. While the virtual machine itself including all its hardware configuration and virtual disk images can be port to another host.
– 炸鱼薯条德里克
Feb 2 at 14:18
add a comment |
Is it possible to save the working status of Ubuntu,and reboot it and recover its working status? By working status of Ubuntu, I mean things such as the programs that are running, and the statuses of the individual processes.
Are the following ideas possible?
- When I suspend Ubuntu, the working status of Ubuntu is saved to disk, and when I wake it up, the working status is recovered, i.e. I can resume what I left when suspend it. Can this be generalized to reboot?
Modern Operating Systems says:
With virtual machines now available, a software developer can carefully construct a virtual machine, load it with the required
operating system, compilers, libraries, and application code, and
freeze the entire unit, ready to run. This virtual machine image
can then be put on a CD-ROM or a Website for customers to install or
download. This approach means that only the software developer has
to understand all the dependencies. The customers get a complete
package that actually works, completely independent of which
operating system they are running and which other software,
packages, and libraries they have installed. These ‘‘shrink-
wrapped’’ virtual machines are often called virtual appliances. As
an example, Amazon’s EC2 cloud has many pre-packaged virtual
appliances available for its clients, which it offers as convenient
software services (‘‘Software as a Service’’).Does a "virtual machine image" save the working status of the OS (the programs that are running and the statuses of the processes), or
just the installed packages?
Thanks.
virtual-machine suspend reboot
Is it possible to save the working status of Ubuntu,and reboot it and recover its working status? By working status of Ubuntu, I mean things such as the programs that are running, and the statuses of the individual processes.
Are the following ideas possible?
- When I suspend Ubuntu, the working status of Ubuntu is saved to disk, and when I wake it up, the working status is recovered, i.e. I can resume what I left when suspend it. Can this be generalized to reboot?
Modern Operating Systems says:
With virtual machines now available, a software developer can carefully construct a virtual machine, load it with the required
operating system, compilers, libraries, and application code, and
freeze the entire unit, ready to run. This virtual machine image
can then be put on a CD-ROM or a Website for customers to install or
download. This approach means that only the software developer has
to understand all the dependencies. The customers get a complete
package that actually works, completely independent of which
operating system they are running and which other software,
packages, and libraries they have installed. These ‘‘shrink-
wrapped’’ virtual machines are often called virtual appliances. As
an example, Amazon’s EC2 cloud has many pre-packaged virtual
appliances available for its clients, which it offers as convenient
software services (‘‘Software as a Service’’).Does a "virtual machine image" save the working status of the OS (the programs that are running and the statuses of the processes), or
just the installed packages?
Thanks.
virtual-machine suspend reboot
virtual-machine suspend reboot
edited Feb 2 at 13:10
Tim
asked Feb 2 at 12:59
TimTim
27.2k78263472
27.2k78263472
Strange question, but it seems there is a Russian project for that, at least for your own use. Not sure about it working well to give to customers. Can't recall the project name atm
– Rui F Ribeiro
Feb 2 at 13:08
What do you mean by generalized to reboot, shouldn't suspending satisfy your needs already? The virtual machine image includes all the non-volatile status of a virtual machine, it usually doesn't include the running status like memory data, registers value of CPU or other devices. But I believe some virtualization technology may offers you the function to snapshot the whole status of a virtual machine into an single image file and then let restore it later
– 炸鱼薯条德里克
Feb 2 at 14:07
Virtual box, I believe it supports guest OS suspension, but I don't think the suspended virtual machine can be port to another host machine easily. While the virtual machine itself including all its hardware configuration and virtual disk images can be port to another host.
– 炸鱼薯条德里克
Feb 2 at 14:18
add a comment |
Strange question, but it seems there is a Russian project for that, at least for your own use. Not sure about it working well to give to customers. Can't recall the project name atm
– Rui F Ribeiro
Feb 2 at 13:08
What do you mean by generalized to reboot, shouldn't suspending satisfy your needs already? The virtual machine image includes all the non-volatile status of a virtual machine, it usually doesn't include the running status like memory data, registers value of CPU or other devices. But I believe some virtualization technology may offers you the function to snapshot the whole status of a virtual machine into an single image file and then let restore it later
– 炸鱼薯条德里克
Feb 2 at 14:07
Virtual box, I believe it supports guest OS suspension, but I don't think the suspended virtual machine can be port to another host machine easily. While the virtual machine itself including all its hardware configuration and virtual disk images can be port to another host.
– 炸鱼薯条德里克
Feb 2 at 14:18
Strange question, but it seems there is a Russian project for that, at least for your own use. Not sure about it working well to give to customers. Can't recall the project name atm
– Rui F Ribeiro
Feb 2 at 13:08
Strange question, but it seems there is a Russian project for that, at least for your own use. Not sure about it working well to give to customers. Can't recall the project name atm
– Rui F Ribeiro
Feb 2 at 13:08
What do you mean by generalized to reboot, shouldn't suspending satisfy your needs already? The virtual machine image includes all the non-volatile status of a virtual machine, it usually doesn't include the running status like memory data, registers value of CPU or other devices. But I believe some virtualization technology may offers you the function to snapshot the whole status of a virtual machine into an single image file and then let restore it later
– 炸鱼薯条德里克
Feb 2 at 14:07
What do you mean by generalized to reboot, shouldn't suspending satisfy your needs already? The virtual machine image includes all the non-volatile status of a virtual machine, it usually doesn't include the running status like memory data, registers value of CPU or other devices. But I believe some virtualization technology may offers you the function to snapshot the whole status of a virtual machine into an single image file and then let restore it later
– 炸鱼薯条德里克
Feb 2 at 14:07
Virtual box, I believe it supports guest OS suspension, but I don't think the suspended virtual machine can be port to another host machine easily. While the virtual machine itself including all its hardware configuration and virtual disk images can be port to another host.
– 炸鱼薯条德里克
Feb 2 at 14:18
Virtual box, I believe it supports guest OS suspension, but I don't think the suspended virtual machine can be port to another host machine easily. While the virtual machine itself including all its hardware configuration and virtual disk images can be port to another host.
– 炸鱼薯条德里克
Feb 2 at 14:18
add a comment |
1 Answer
1
active
oldest
votes
As far as I know Ubuntu with Gnome hasn't got that feature. I don't know if other Desktop Environments (like KDE, Mate, Xfce) have the ability to re-open programs after reboot like Mac does (same programs, but different processes from previous usage). Personally I think that is an interesting feature but I know I would never use it.
Something similar is reachable if you use Virtual Box: you can install Ubuntu in a virtual machine and use the "save session" button instead of "shutdown". when you wake up the vm it starts from where you left, it's like a suspension on real hardware (same programs with same processes).
This behaviour is probably what you where looking for (if I understand you question correctly).
You're talking about a very high-level "save your session" functionality provided by DE. While OP's asking about suspension, which saves the whole physical memory.
– 炸鱼薯条德里克
Feb 2 at 14:10
@炸鱼薯条德里克 What are their differences?
– Tim
Feb 2 at 14:27
Try it for a few days, you will see it can't restore your state. Your currently opened documents may not even be restored.
– 炸鱼薯条德里克
Feb 2 at 15:22
It simply re-open current apps, if the apps are not well coded for this, then it's just like a fresh open. Also this functionality never promise to you it will save the whole system status, e.g. daemons running out of the session
– 炸鱼薯条德里克
Feb 2 at 15:27
@炸鱼薯条德里克 WHat does that functionality do to "daemons running out of the session "?
– Tim
Feb 2 at 20:53
|
show 1 more comment
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f498283%2fcan-i-save-the-working-status-of-ubuntu-before-reboot-and-recover-it-after-rebo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As far as I know Ubuntu with Gnome hasn't got that feature. I don't know if other Desktop Environments (like KDE, Mate, Xfce) have the ability to re-open programs after reboot like Mac does (same programs, but different processes from previous usage). Personally I think that is an interesting feature but I know I would never use it.
Something similar is reachable if you use Virtual Box: you can install Ubuntu in a virtual machine and use the "save session" button instead of "shutdown". when you wake up the vm it starts from where you left, it's like a suspension on real hardware (same programs with same processes).
This behaviour is probably what you where looking for (if I understand you question correctly).
You're talking about a very high-level "save your session" functionality provided by DE. While OP's asking about suspension, which saves the whole physical memory.
– 炸鱼薯条德里克
Feb 2 at 14:10
@炸鱼薯条德里克 What are their differences?
– Tim
Feb 2 at 14:27
Try it for a few days, you will see it can't restore your state. Your currently opened documents may not even be restored.
– 炸鱼薯条德里克
Feb 2 at 15:22
It simply re-open current apps, if the apps are not well coded for this, then it's just like a fresh open. Also this functionality never promise to you it will save the whole system status, e.g. daemons running out of the session
– 炸鱼薯条德里克
Feb 2 at 15:27
@炸鱼薯条德里克 WHat does that functionality do to "daemons running out of the session "?
– Tim
Feb 2 at 20:53
|
show 1 more comment
As far as I know Ubuntu with Gnome hasn't got that feature. I don't know if other Desktop Environments (like KDE, Mate, Xfce) have the ability to re-open programs after reboot like Mac does (same programs, but different processes from previous usage). Personally I think that is an interesting feature but I know I would never use it.
Something similar is reachable if you use Virtual Box: you can install Ubuntu in a virtual machine and use the "save session" button instead of "shutdown". when you wake up the vm it starts from where you left, it's like a suspension on real hardware (same programs with same processes).
This behaviour is probably what you where looking for (if I understand you question correctly).
You're talking about a very high-level "save your session" functionality provided by DE. While OP's asking about suspension, which saves the whole physical memory.
– 炸鱼薯条德里克
Feb 2 at 14:10
@炸鱼薯条德里克 What are their differences?
– Tim
Feb 2 at 14:27
Try it for a few days, you will see it can't restore your state. Your currently opened documents may not even be restored.
– 炸鱼薯条德里克
Feb 2 at 15:22
It simply re-open current apps, if the apps are not well coded for this, then it's just like a fresh open. Also this functionality never promise to you it will save the whole system status, e.g. daemons running out of the session
– 炸鱼薯条德里克
Feb 2 at 15:27
@炸鱼薯条德里克 WHat does that functionality do to "daemons running out of the session "?
– Tim
Feb 2 at 20:53
|
show 1 more comment
As far as I know Ubuntu with Gnome hasn't got that feature. I don't know if other Desktop Environments (like KDE, Mate, Xfce) have the ability to re-open programs after reboot like Mac does (same programs, but different processes from previous usage). Personally I think that is an interesting feature but I know I would never use it.
Something similar is reachable if you use Virtual Box: you can install Ubuntu in a virtual machine and use the "save session" button instead of "shutdown". when you wake up the vm it starts from where you left, it's like a suspension on real hardware (same programs with same processes).
This behaviour is probably what you where looking for (if I understand you question correctly).
As far as I know Ubuntu with Gnome hasn't got that feature. I don't know if other Desktop Environments (like KDE, Mate, Xfce) have the ability to re-open programs after reboot like Mac does (same programs, but different processes from previous usage). Personally I think that is an interesting feature but I know I would never use it.
Something similar is reachable if you use Virtual Box: you can install Ubuntu in a virtual machine and use the "save session" button instead of "shutdown". when you wake up the vm it starts from where you left, it's like a suspension on real hardware (same programs with same processes).
This behaviour is probably what you where looking for (if I understand you question correctly).
answered Feb 2 at 13:24
UbalotUbalot
5124
5124
You're talking about a very high-level "save your session" functionality provided by DE. While OP's asking about suspension, which saves the whole physical memory.
– 炸鱼薯条德里克
Feb 2 at 14:10
@炸鱼薯条德里克 What are their differences?
– Tim
Feb 2 at 14:27
Try it for a few days, you will see it can't restore your state. Your currently opened documents may not even be restored.
– 炸鱼薯条德里克
Feb 2 at 15:22
It simply re-open current apps, if the apps are not well coded for this, then it's just like a fresh open. Also this functionality never promise to you it will save the whole system status, e.g. daemons running out of the session
– 炸鱼薯条德里克
Feb 2 at 15:27
@炸鱼薯条德里克 WHat does that functionality do to "daemons running out of the session "?
– Tim
Feb 2 at 20:53
|
show 1 more comment
You're talking about a very high-level "save your session" functionality provided by DE. While OP's asking about suspension, which saves the whole physical memory.
– 炸鱼薯条德里克
Feb 2 at 14:10
@炸鱼薯条德里克 What are their differences?
– Tim
Feb 2 at 14:27
Try it for a few days, you will see it can't restore your state. Your currently opened documents may not even be restored.
– 炸鱼薯条德里克
Feb 2 at 15:22
It simply re-open current apps, if the apps are not well coded for this, then it's just like a fresh open. Also this functionality never promise to you it will save the whole system status, e.g. daemons running out of the session
– 炸鱼薯条德里克
Feb 2 at 15:27
@炸鱼薯条德里克 WHat does that functionality do to "daemons running out of the session "?
– Tim
Feb 2 at 20:53
You're talking about a very high-level "save your session" functionality provided by DE. While OP's asking about suspension, which saves the whole physical memory.
– 炸鱼薯条德里克
Feb 2 at 14:10
You're talking about a very high-level "save your session" functionality provided by DE. While OP's asking about suspension, which saves the whole physical memory.
– 炸鱼薯条德里克
Feb 2 at 14:10
@炸鱼薯条德里克 What are their differences?
– Tim
Feb 2 at 14:27
@炸鱼薯条德里克 What are their differences?
– Tim
Feb 2 at 14:27
Try it for a few days, you will see it can't restore your state. Your currently opened documents may not even be restored.
– 炸鱼薯条德里克
Feb 2 at 15:22
Try it for a few days, you will see it can't restore your state. Your currently opened documents may not even be restored.
– 炸鱼薯条德里克
Feb 2 at 15:22
It simply re-open current apps, if the apps are not well coded for this, then it's just like a fresh open. Also this functionality never promise to you it will save the whole system status, e.g. daemons running out of the session
– 炸鱼薯条德里克
Feb 2 at 15:27
It simply re-open current apps, if the apps are not well coded for this, then it's just like a fresh open. Also this functionality never promise to you it will save the whole system status, e.g. daemons running out of the session
– 炸鱼薯条德里克
Feb 2 at 15:27
@炸鱼薯条德里克 WHat does that functionality do to "daemons running out of the session "?
– Tim
Feb 2 at 20:53
@炸鱼薯条德里克 WHat does that functionality do to "daemons running out of the session "?
– Tim
Feb 2 at 20:53
|
show 1 more comment
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f498283%2fcan-i-save-the-working-status-of-ubuntu-before-reboot-and-recover-it-after-rebo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Strange question, but it seems there is a Russian project for that, at least for your own use. Not sure about it working well to give to customers. Can't recall the project name atm
– Rui F Ribeiro
Feb 2 at 13:08
What do you mean by generalized to reboot, shouldn't suspending satisfy your needs already? The virtual machine image includes all the non-volatile status of a virtual machine, it usually doesn't include the running status like memory data, registers value of CPU or other devices. But I believe some virtualization technology may offers you the function to snapshot the whole status of a virtual machine into an single image file and then let restore it later
– 炸鱼薯条德里克
Feb 2 at 14:07
Virtual box, I believe it supports guest OS suspension, but I don't think the suspended virtual machine can be port to another host machine easily. While the virtual machine itself including all its hardware configuration and virtual disk images can be port to another host.
– 炸鱼薯条德里克
Feb 2 at 14:18