Choose style:

Author Topic: How to get hibernate to work  (Read 559 times)

0 Members and 1 Guest are viewing this topic.

Offline John Jenson

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
How to get hibernate to work
« on: March 28, 2019, 02:50:00 pm »
Hi,

I'm trying to get hibernate to work on my system. I have set swap partition to 8G and I have tried several different things I found on the web, but nothing seems to work.

If I click the hibernate button, the screen goes black for a second or two, then it comes back for a few moments; then it shuts the system down. Seems like it's working, but when I start the system up, it just starts a new session; nothing is saved.

I also notice that my swap space always shows 0% used in gnome-system-monitor.

Any help on this?
JJ

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to get hibernate to work
« Reply #1 on: March 29, 2019, 09:03:38 am »
I also notice that my swap space always shows 0% used in gnome-system-monitor.

it's (by default)  normal for swap to not be used until 'around' 40% of your available RAM is already utilised .. but let's check swap is active anyway. What's the output from
Code: [Select]
free -m
and can you also post the output from:
Code: [Select]
inxi -Fz
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline John Jenson

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: How to get hibernate to work
« Reply #2 on: March 29, 2019, 11:02:06 am »
              total        used        free      shared  buff/cache   available
Mem:           7864        1157        3300         197        3405        6211
Swap:          8294           0        8294


System:    Host: JJPC Kernel: 4.15.0-46-generic x86_64 bits: 64 Console: tty 0 Distro: Peppermint Nine
Machine:   Device: desktop System: Hewlett-Packard product: HP Compaq 8200 Elite CMT PC serial: <filter>
           Mobo: Hewlett-Packard model: 1494 serial: <filter>
           UEFI: Hewlett-Packard v: J01 v02.28 date: 03/24/2015
CPU:       Quad core Intel Core i7-2600 (-MT-MCP-) cache: 8192 KB
           clock speeds: max: 3800 MHz 1: 1597 MHz 2: 1720 MHz 3: 1602 MHz 4: 1656 MHz 5: 1602 MHz
           6: 1606 MHz 7: 1596 MHz 8: 1605 MHz
Graphics:  Card: Intel 2nd Generation Core Integrated Graphics Controller
           Display Server: X.Org 1.19.6 drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1024x768@60.00hz
           OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop version: 3.3 Mesa 18.0.0-rc5
Audio:     Card Intel 6 Series/C200 Series Family High Def. Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-46-generic
Network:   Card-1: Broadcom and subsidiaries NetXtreme II BCM5709 Gigabit Ethernet driver: bnx2
           IF: enp1s0f0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Broadcom and subsidiaries NetXtreme II BCM5709 Gigabit Ethernet driver: bnx2
           IF: enp1s0f1 state: down mac: <filter>
Drives:    HDD Total Size: 1000.2GB (68.4% used)
           ID-1: /dev/sda model: WDC_WD10EZEX size: 1000.2GB
Partition: ID-1: / size: 30G used: 12G (43%) fs: ext4 dev: /dev/sda2
           ID-2: /home size: 829G used: 615G (79%) fs: ext4 dev: /dev/sda4
           ID-3: swap-1 size: 8.70GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 26.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 251 Uptime: 3:10 Memory: 2148.7/7864.2MB Client: Shell (bash) inxi: 2.3.56

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to get hibernate to work
« Reply #3 on: March 29, 2019, 04:32:52 pm »
Can you post the contents of
Code: [Select]
xed /etc/initramfs-tools/conf.d/resume
and
Code: [Select]
xed /etc/fstab
and the output from
Code: [Select]
sudo fdisk -l
and
Code: [Select]
blkid
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline John Jenson

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: How to get hibernate to work
« Reply #4 on: March 29, 2019, 06:55:18 pm »
RESUME=UUID=76eab467-9fe3-4ebb-b392-0d7e9fc246a6

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=b7459c66-354c-4cd0-b909-4809067b1f34 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=CB82-CDA9  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=e7cc7799-9049-4230-901e-9233e8544cb3 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=76eab467-9fe3-4ebb-b392-0d7e9fc246a6 none            swap    sw              0       0
#UUID=9586b2a8-e4b2-4c7f-bfb8-f852c1a4ebd5 none           swap     sw              0       0
# add a backup dir
UUID=25dc252c-3952-48c7-a3f6-ca46700b19f4 /backup        ext4     defaults        0       1

Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0E88ED30-6C65-478B-BAA0-67DE5ED2853D

Device          Start        End    Sectors   Size Type
/dev/sda1        2048    1050623    1048576   512M EFI System
/dev/sda2     1050624   63965183   62914560    30G Linux filesystem
/dev/sda3    63965184   80953343   16988160   8.1G Linux swap
/dev/sda4    80953344 1848668159 1767714816 842.9G Linux filesystem
/dev/sda5  1848668160 1953523711  104855552    50G Linux filesystem

/dev/sda1: UUID="CB82-CDA9" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="2785125f-1b77-4e24-8a68-85aaafd17016"
/dev/sda2: UUID="b7459c66-354c-4cd0-b909-4809067b1f34" TYPE="ext4" PTTYPE="dos" PARTLABEL="root" PARTUUID="52bd54fa-b4f7-4e5e-b925-08b391997644"
/dev/sda3: UUID="76eab467-9fe3-4ebb-b392-0d7e9fc246a6" TYPE="swsuspend" PARTLABEL="swap" PARTUUID="9586b2a8-e4b2-4c7f-bfb8-f852c1a4ebd5"
/dev/sda4: UUID="e7cc7799-9049-4230-901e-9233e8544cb3" TYPE="ext4" PARTLABEL="home" PARTUUID="bf7028a1-5c83-40f7-b289-c5ab30159709"
/dev/sda5: LABEL="BACKUP" UUID="25dc252c-3952-48c7-a3f6-ca46700b19f4" TYPE="ext4" PARTLABEL="backup" PARTUUID="91d3d209-53a6-4cbd-9f74-5155ce5592fa"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to get hibernate to work
« Reply #5 on: March 30, 2019, 11:50:06 pm »
What happens if you run:
Code: [Select]
sudo pm-hibernate
?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline John Jenson

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: How to get hibernate to work
« Reply #6 on: March 31, 2019, 08:33:39 am »
What happens if you run:
Code: [Select]
sudo pm-hibernate
?

I didn't have pm-utils installed, so it did nothing. After I installed it, I tried it and it did the same as before. It did not save anything. Are there any other hibernate support software that I may be lacking?

Offline John Jenson

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: How to get hibernate to work
« Reply #7 on: April 03, 2019, 04:18:44 pm »
So does this mean I'm SOL?