From: jean-michel.colin--- via <help-guix@gnu.org>
To: help-guix@gnu.org
Subject: I installed guix with a swap and ... my swap disappeared
Date: Sun, 10 Mar 2024 21:58:57 +0100 (CET) [thread overview]
Message-ID: <ea-mime-65ee1f11-6d23-c30c4ea@www.mailo.com> (raw)
Hello everybody,
my first post here, I come from NixOS but as a lisper it's much more consistent for me to use Guix.
So I installed guix on an encrypted ext4 device, from the graphic installer, including a swap.
The first time, everything worked, including the swap.
Until I suspended (one of the purpose of the swap).
I was not able to recover from the suspended session from the swap, I had to open a new session, and ... the swap had disappeared.
From my config.scm :
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(targets (list "/dev/sda"))
(keyboard-layout keyboard-layout)))
(swap-devices (list (swap-space
(target (uuid
"here-the-uuid-numebrs-and-letters")))))
(mapped-devices (list (mapped-device
(source (uuid
"here-the-uuid-numebrs-and-letters"))
(target "crypthome")
(type luks-device-mapping))
(mapped-device
(source (uuid
"here-the-uuid-numebrs-and-letters"))
(target "cryptroot")
(type luks-device-mapping))))
some tests I made :
swapon --show
==> no result
cat /proc/swaps
==> no result (except the headers Filename Type etc)
sudo fdisk --list | grep swap
==> /dev/sda3 206301184 225851391 19550208 9.3G Linux swap
==> this is the swap I created, and worked fine right after the install, never again after
sudo herd log | grep swap
==> 4 Mar 2024 19:08:05 service swap-74e19e9d-3bba-4154-881f-0c5ad076254b is being started
4 Mar 2024 19:08:05 service swap-74e19e9d-3bba-4154-881f-0c5ad076254b failed to start
What have I done wrong ?
Should I build again from scratch on another filesystem ? btrfs ?
Tks
next reply other threads:[~2024-03-16 13:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-10 20:58 jean-michel.colin--- via [this message]
2024-03-16 14:29 ` I installed guix with a swap and ... my swap disappeared Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ea-mime-65ee1f11-6d23-c30c4ea@www.mailo.com \
--to=help-guix@gnu.org \
--cc=jean-michel.colin@mailo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).