On Jun 30, 2017 11:37 PM, "Mike Miller" <mbmille...@gmail.com> wrote:

I'm glad I took your advice.  I installed 16.04 LTS, erasing
everything else on the drive.  It automatically made  a swap partition
the size of my RAM.  I installed nothing else, ran "sudo pm-hibernate"
and it worked, perfectly.  Yes!

I also turned on hibernation in the "Log Out" menu, and it also worked
perfectly.

So I'm set -- I'm sticking with 16.04 LTS.

Thanks all.

Mike


Glad everything worked out :-)


On Fri, Jun 30, 2017 at 9:02 PM, Rog <linux....@gmail.com> wrote:
> I guess maybe I should eat my own words. My laptop running 14.04 will not
> hibernate. I even tried this:
>
>
> http://ubuntuhandbook.org/index.php/2014/04/enable-hibernate-ubuntu-14-04/
>
> to no avail. I stopped there as I really don't need to hibernate. I prefer
> suspend and watch my battery power to make sure it won't conk out if the
> batt runs down. I'm usually close to a power source so I can plug-in if I
> want to suspend. I'm guessing that hibernate would be fast since my OS,
> swap, etc., are on an SSD.
>
> /Roger
>
>
> On 06/30/2017 09:20 PM, Mike Miller wrote:
>
> To clarify one thing:  I'm not sure that 16.04 will hibernate on my
> laptop.  Isn't hardware a big issue with hibernation?  If we're sure
> that 16.04 will hibernate on my laptop, then I'll just kill 17.04 and
> install 16.04 LTS.  That wouldn't be a big deal for me so I might just
> try it anyway.  LTS is a good thing and I don't plan to do a lot of
> fancy stuff with the laptop -- mostly read PDF files, strangely.  ;-)
>
> Thanks again to all!
>
> Mike
>
> On Fri, Jun 30, 2017 at 7:42 PM, Roger <linux....@gmail.com> wrote:
>
> On June 30, 2017 5:59:26 PM EDT, Istimsak Abdulbasir <saqman2...@gmail.com
>
> wrote:
>
> This was a painful research.
>
> To use hibernate (or suspend2) requires your system to have a "tuxonice"
> enabled kernel. If you are using such a kernel, then you should see the
> suspend2 component in either "/proc/suspend2" or "/sys/power/suspend2".
The
> kernel patch will allow you to resume your system from your disk if you
> decide to use suspend2.
>
> Unfortunately, the "tuxonice" patch for the kernel is not available on its
> website. This is what its website looks like(not very technical).
> http://www.tuxonice.net/. I doubt running "hibernate" from the console
will
> work.
>
> However, there is a github project that offers the patch.
> https://github.com/pierre/tuxonice-fastboot. I will be checking this out
> myself.
>
> Istimsak
>
>
> On Fri, Jun 30, 2017 at 1:59 PM, Mike Miller <mbmille...@gmail.com> wrote:
>
> I think my first attempt to post got stuck in moderation (recapped
> below).  I am new to the list and I wasn't properly subscribed when I
> sent it.
>
> I've been working on this for many hours with only some progress.
> Suspend always worked.  Hibernate (to disk) has not worked, yet.
>
> Using "Hibernate" from the system's "Log Out" menu, the screen blanks,
> it shuts down, but when I power back up it seems to go through a
> normal boot process and I don't recover my previous state.
>
> Using sudo "pm-hibernate", I can see it saving the page files, and
> when I try to recover I see it loading the page files up to 99% and
> the screen blanks.  After that I get only a black screen.  It responds
> to nothing, so I have to power off.
>
> Any ideas?
>
> Best,
> Mike
>
> ---------- Forwarded message ----------
> From: Mike Miller <mbmille...@gmail.com>
> Date: Wed, Jun 28, 2017 at 6:45 PM
> Subject: hibernation in Xubuntu 17.04
> To: xubuntu-users@lists.ubuntu.com
>
>
> Installation of 17.04 on my laptop was a breeze.  Truly a joy and it's
> working great, except for this one bothersome thing.  Maybe there is a
> FAQ, but I didn't find it and things might be a little different with
> 17.04 because of the use of swapfiles instead of swap partitions.
>
> I discovered that pm-hibernate wasn't installed by default, so I
> installed the pm-utils.  However, when I try to use it (as in sudo
> pm-hibernate), I got an error.  Logs show it goes through all of the
> steps perfectly right up until it is supposed to hibernate, then it
> fails and goes back through a series of "wake" steps.  So the screen
> blacks for a sec and I'm back to the bash prompt.
>
> The error I see in /var/log/pm-suspend.log is
>
> sh: echo: I/O error
>
> That follows immediately after "performing hibernate" and before
> "Awake."  There are only three seconds between those lines.
>
> My guess, based on some searches, was that my problem was that I
> didn't have a proper swapfile.  Now we use swapfile instead of swap
> partition, right?  So I looked for info on how to create that
> swapfile, and it seemed to work.  I think I have a proper swapfile but
> I'm not sure how to test that.  sudo swapon --show seems to give
> appropriate output but I'm not sure what PRIO of -1 is telling me.
>
> Any ideas?
>
> Best,
> Mike
>
> --
> xubuntu-users mailing list
> xubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
>
>
> --
> "Collaboration is the new innovation" (Istimsak Abdulbasir, 2016)
>
> This sounds like an inexcusable BUG if I understand correctly that one can
> not do a successful hibernate with ver. 17.04.
>
> Some interesting points about 17.04 appear here (scroll down):
> https://en.wikipedia.org/wiki/Ubuntu_version_history?wprov=sfla1
> Shortened url http://tinyurl.com/yaabbg9s
>
> Confirms my approach, stick with LTS versions and I don't upgraded until
> after the first point release / update.
> --
> Sent from my Android device using K-9 Mail. Please excuse my brevity.
>
> --
> xubuntu-users mailing list
> xubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
>
>
> --
> Roger
> linux....@gmail.com

--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/
mailman/listinfo/xubuntu-users
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users

Reply via email to