Do I need a swap *partition* to use hibernation?

J.Witvliet at mindef.nl J.Witvliet at mindef.nl
Sun Apr 19 13:08:10 UTC 2020


That idea for using that area with dual purposes, dates back to the time when disk space was a scarce commodity


From: "Robert Heller" <heller at deepsoft.com<mailto:heller at deepsoft.com>>
Date: Sunday, 19 April 2020 at 13:54:22
To: "bo.berglund at gmail.com" <bo.berglund at gmail.com<mailto:bo.berglund at gmail.com>>, "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com<mailto:ubuntu-users at lists.ubuntu.com>>
Cc: "ubuntu-users at lists.ubuntu.com" <ubuntu-users at lists.ubuntu.com<mailto:ubuntu-users at lists.ubuntu.com>>, "Robert Heller" <heller at deepsoft.com<mailto:heller at deepsoft.com>>
Subject: Re: Do I need a swap *partition* to use hibernation?

At Sun, 19 Apr 2020 08:46:05 +0200 bo.berglund at gmail.com, "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

>
> I am repurposing a 9 year old HP Elitebook 8440w laptop as a Ubuntu
> development machine. It has 8GB of RAM.
>
> During this configuration I have ran across suspend/hibernation
> problems.
> To enable hibernation there seems to be a number of steps to take and
> one I cannot wrap my head around is *where* hibernate data are stuffed
> on the disk?

The hibernation data is generally stored in the swap partition.

>
> It seems like it will be on the swap partition, but my Ubuntu 18.04
> LTS installation did not create such a partition and when I look on
> the net most often swap seems to equal a *file* placed somewhere in
> the regular file system...
>
> I have about 30 GB of free unallocated space on my 250 GB SSD and
> would like to know if it should be used as a swap partition for
> storing the hibernate data?
>
> If so exactly how does one create a swap partition using Gparted?
>

Like any other partition, except it is of type "Linux Swap"  and you use
mkswap to create the "file system".  You won't need 30 GB.  8GB *should* be
enough, depending on how much you use the swap under normal use.  If you
regularly dip well into swap space under "normal" usage, you should make the
swap partition larger.

>

--
Robert Heller             -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services


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

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200419/1b0bb2b9/attachment.html>


More information about the ubuntu-users mailing list