Hi.
I’m trying to install NixOS using GUI iso.
However, when nix prepares a disk and mount it, it fails on mounting swap.
I’ve tried different images with different hashes, but It doesn’t work at all.
Here is the list of images that I’ve tried.
nixos-plasma6-24.05.1503.752c634c09ce-x86_64-linux
nixos-plasma6-24.05.1695.dd457de7e08c-x86_64-linux
It should’ve solved permanently in the future release (because it’s critical!), but what is the temporary way to fix this?
Thanks.
I ran into this a couple weeks ago. I ended up giving up and doing a full manual install from the cli
dalto
June 25, 2024, 1:50pm
3
There is an open PR already to fix this issue.
NixOS:calamares
← vlinkz:swapfix
opened 02:47PM - 03 Jun 24 UTC
Swap is now mounted by the calamares `mount` module, so manually mounting swap n… ow breaks the installation.
- Fixes #34
- Regression: Encrypted swap partitions are no longer mounted, I'll make an upstream PR to fix this functionality (Edit: https://github.com/calamares/calamares/pull/2341)
1 Like
0xff
June 25, 2024, 2:16pm
4
I skipped creating a swap partition and used a swap file later instead. (I was in a rush).
3 Likes
I will copy and paste in case someone needs it, the fail lets the swap mounted, then I open the installer again, without reboot, redo the config, select custom partition, select the boot and select the mountpoint in /boot and the main one in /, both with format just in case, then it works (it gets stuck at 46%, probably my internet because it is installing programs)