From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-203373-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 238E71581E7 for <garchives@archives.gentoo.org>; Fri, 26 Apr 2024 08:41:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19890E2A18; Fri, 26 Apr 2024 08:41:16 +0000 (UTC) Received: from toucan.tulip.relay.mailchannels.net (toucan.tulip.relay.mailchannels.net [23.83.218.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55DFAE2A10 for <gentoo-user@lists.gentoo.org>; Fri, 26 Apr 2024 08:41:14 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2C4A99017AD for <gentoo-user@lists.gentoo.org>; Fri, 26 Apr 2024 08:41:14 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714120873; a=rsa-sha256; cv=none; b=GEVTBNnXBYTJLby6c3uTMIvxENQl6FUa/VXnoeA6kox7mGL5QeOvw+c790OKoS918nM0v5 yBHwYzfRatCLtf6vsgGpOt9SrTX9Rphu+vtAn/aQh2WD4xL8cznmKSrg0Onj2FwaMDme7P YldF5rDDd0bsAP/Q2brlfqdseUUThl4TLGNim1QEie+fSQ//2FpWD/4Cxom9ALvcvqC59M 1aBY9DRBr++rQzinRLoEQvYedW81DEaxgm8NOlajyn4WxSyPUbe2IisR+mpBh95xd4irU4 Qwdo3OBCSrUqv5cFWvEfWWTn7gn81W74ALZAAW9x2YalS6KNCxFNQtSFZtKAGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714120873; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=SJXqRA4mtefyn/aHpGOmDdMHiaAjE2iXXqNzZNzwZEk=; b=0A2wmBM6vbFa/YzhCcPDkGgPgIQ8SM/b1fD4heOVLt7CSGciF2Uiq587egMlRboZTdNFqN v+I+DsR48P629aZp/uqWrjZgz2CBicb85J/9mfdWw/O1Yga6tECZUIklUPOiZl6P9vDwjC gkowmqU2qPpBvH04Dmshn0x0auCJfSRccBUprkZJj67msyO1kbt3p/N/0Ve6e2jtERTdWe iuzC4vyywkeW3fQJE7/rmFT/C9y7+28MNyZo7QnUnHthJZE3ZkYCunsDNRxdqJNJL+jbPs uwAahsbsdQ1EK8Cd29jqcaVCYn/YpqP2gfWYLNUzPRvjXYGebI34WBd4ydUrhw== ARC-Authentication-Results: i=1; rspamd-67db6f49c6-25n8l; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Drop-Whistle: 43e07bc21c7dd852_1714120873747_1620097931 X-MC-Loop-Signature: 1714120873747:532818540 X-MC-Ingress-Time: 1714120873747 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.118.14.240 (trex/6.9.2); Fri, 26 Apr 2024 08:41:13 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 71E4C1E000F for <gentoo-user@lists.gentoo.org>; Fri, 26 Apr 2024 09:41:06 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael <confabulate@kintzios.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Hibernation without initramfs Date: Fri, 26 Apr 2024 09:40:54 +0100 Message-ID: <13502394.uLZWGnKmhe@rogueboard> In-Reply-To: <20240425232901.4b74c12d@wolf> References: <20240425232901.4b74c12d@wolf> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2935501.e9J7NaK4W3"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <171412086528.3740178.2327950350677448869@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 71E4C1E000F X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.999]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 9484e316-eb09-4cfd-8758-83512c6e828b X-Archives-Hash: 83b587d1f3ffc0985fbe820aa54ced12 --nextPart2935501.e9J7NaK4W3 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael <confabulate@kintzios.com> To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] Hibernation without initramfs Date: Fri, 26 Apr 2024 09:40:54 +0100 Message-ID: <13502394.uLZWGnKmhe@rogueboard> In-Reply-To: <20240425232901.4b74c12d@wolf> References: <20240425232901.4b74c12d@wolf> MIME-Version: 1.0 On Thursday, 25 April 2024 22:29:01 BST Wojciech Kuzyszyn wrote: > Hello! > > Quick question: is it possible to use hibernation (suspend to disk) > with no initramfs? Yes. > I don't have one and don't want to have one. So I'd > rather disable hibernate in kernel (so I won't do this by accident) or > leave it to use it happily when needed. You have to specify a swap block device - a swap partition, or a preconfigured swap file on an already mounted partition - in your kernel configuration, for hibernation to work, e.g.: [*] Hibernation (aka 'suspend to disk') [*] Userspace snapshot device (/dev/sdb6) Default resume partition This swap device will be used at hibernation time to compress and store what is running in your RAM. Since the contents of your RAM will be compressed less space will be required than the size of your RAM. However, if you are using RAM heavily when you try to hibernate, e.g. because you are compiling some large package, have many memory hungry applications open, etc., you may find hibernation fails due to lack of space. This would be more acute if your RAM is not large enough and swap is used on a regular basis. With large enough RAM less swap space will be used, since swap would be virtually empty. Therefore size your swap device accordingly. --nextPart2935501.e9J7NaK4W3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmYraJYACgkQseqq9sKV ZxkGYQ/8CJ2NnhtJOxhIxF7LNKxjTAXtyiRhSWJhCQ1FYAVHMnnMDE4l6cDCtJHK eBPqTSmCN6ZaWL8iUEQi3NZIoDty4slfB8mWppPuGsfJjV6P3k79dVm94zaGQyr4 mv0kSehPiB61YE4C6sV2CGi8t8h2qOZe4IzNqyqfaJo2DwRqcx/Hpit81Vsps33F aSd+nGLgB/dbXUPJEXxbnRrlxA5RGt8Rs1jmbE65lJ6JdYUJcVXw9hR3+zbLdNQN 5QvILYKl/elS2viEq12ypG2O6TiT7nuMK35zxuLfkHtLn9HcYR/4pvRT8WLYGUbN jCsp/fIipi4V//3/0racV8xSQPn0qUsOP0ZPHf/LfWJDGEu7A2qjf0zFUS9LkOsi hEzHOW7GmK+4WrKQEbevGxsNfV9QtWGiDVoDrCziMQgN4YtmTT073OlV81l0wNGd BSXG9hHH9Ufok5ww04BCVU3LvmUwGhNxjxzc9BOS5ingoZCUZjzCCPKs3RPdtHge mYu+BFXasJLmCNwBAGI4001VI/igtGtjGsqKOJBRtXpBcQoUeNLilMEataim/vow QCX60jwASqlSit+Vr3nSAwzTbzY17vWUIOnOCFfIiZIk+G1NEMobokfbM4vZLoCm V0QWgvn1uOOxS4dcg7AzrEJJehNqVr2WzZrj0tv0tYgXRvYhVZs= =OBp8 -----END PGP SIGNATURE----- --nextPart2935501.e9J7NaK4W3--