Getting hibernate to work on a clone of a centos workstation
by WarwickWr from LinuxQuestions.org on (#5NVAK)
I am running a workstation with centos release 7.6.1810
I have tried to clone my workstation so that others in our group can upgrade from fedora 20 which has been obsolete for ages.
What I did was
1. write a script to copy ssh details for a workstation to a common server,
2. cloned my workstation to the same server with clonezilla.
3. I then used clonezilla to use the cloned file to build the cloned workstation onto another workstation of the same specs with the idea of
4. using another script I have written to restore the workstation hostname, passwords and ssh details for each user (2 users not including root).
I have completed the first three steps and checked it out against the original. At this stage the workstation has worked for each process I have attempted except for hibernate.
When I attempt to hibernate, using the hibernate button in the Mate terminal we use, or the command line command "systemctl hibernate" from root, it closes down as expected, but when I bring up the system again it acts as if I had shutdown rather than hibernated and comes up with a password request for the user and then is in the Mate GUI with none of the mate terminal sessions I had been in before attempting the hibernate.
Suspend seems to work, although I do not normally use that.
Any idea how I can make hibernate work, and why that changed with cloning which is supposed to produce an identical copy of the original?
I have tried to clone my workstation so that others in our group can upgrade from fedora 20 which has been obsolete for ages.
What I did was
1. write a script to copy ssh details for a workstation to a common server,
2. cloned my workstation to the same server with clonezilla.
3. I then used clonezilla to use the cloned file to build the cloned workstation onto another workstation of the same specs with the idea of
4. using another script I have written to restore the workstation hostname, passwords and ssh details for each user (2 users not including root).
I have completed the first three steps and checked it out against the original. At this stage the workstation has worked for each process I have attempted except for hibernate.
When I attempt to hibernate, using the hibernate button in the Mate terminal we use, or the command line command "systemctl hibernate" from root, it closes down as expected, but when I bring up the system again it acts as if I had shutdown rather than hibernated and comes up with a password request for the user and then is in the Mate GUI with none of the mate terminal sessions I had been in before attempting the hibernate.
Suspend seems to work, although I do not normally use that.
Any idea how I can make hibernate work, and why that changed with cloning which is supposed to produce an identical copy of the original?