How to deal with swap failed on nixos gui installer?

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. :cry:

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

There is an open PR already to fix this issue.

1 Like

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)