Enable hibernate, enlarge swap

I want my 16.04 to be able to hibernate to disk, it does not give that option now. I have a HP Pavillion x360 with 4 GB RAM. What should I do? Do you think it will help to shrink the Windows partition (sda3) by one GB and make swap size all together 5 GB? Or should I do something else? (Maybe 3.91 GiB is enough already?)

If I expand swap, will I then have to make any adjustments in the system. Or will Ubuntu automatically realize the swap has been enlarged?

Since I will be shrinking Windows 10 I thought I might use Windows 10 partitioning tools, also for enlarging swap. I don't have a bootable GParted USB at hand. Does that make a difference? (The system is dual boot.)

(I am in a period when I use Linux quite much for a project and I would appreciate hibernate to be present and also that I can activate it smoothly, therefore I ask this before trying.)

Thanks

Enable hibernate, enlarge swap

[email protected]:~$ cat /etc/fstab # /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/sda5 during installation UUID=c9b9e601-f78a-41d8-a4f4-87e276b4aeb7 /               ext4    errors=remount-ro 0       1 # /boot/efi was on /dev/sda1 during installation UUID=9ADF-D1D2  /boot/efi       vfat    umask=0077      0       1 # /home was on /dev/sda6 during installation UUID=782e4b9f-4941-48bc-a1bf-5883e28cb174 /home           ext4    defaults        0       2 # swap was on /dev/sda4 during installation UUID=c35d5bd1-960c-4e1a-8f6e-d73af393bfc3 none            swap    sw              0       0  $ sudo parted -l Model: ATA WDC WD5000LPCX-6 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags:   Number  Start   End    Size    File system     Name                          Flags  1      1049kB  274MB  273MB   fat32           EFI system partition          boot, esp  2      274MB   290MB  16.8MB                  Microsoft reserved partition  msftres  3      290MB   315GB  315GB   ntfs            Basic data partition          msftdata  4      315GB   319GB  4194MB  linux-swap(v1)  Basic data partition          msftdata  5      319GB   382GB  62.9GB  ext4            Basic data partition          msftdata  6      382GB   483GB  101GB   ext4            Basic data partition          msftdata  7      483GB   484GB  1028MB  ntfs            Basic data partition          hidden, diag  8      484GB   500GB  16.1GB  ntfs            Basic data partition          hidden, msftdata 

Replay

Category: swap Time: 2016-07-30 Views: 0
Tags: hibernate swap

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.132 (s). 12 q(s)