Hi,
<[email protected]> skribis:
> # guix system reconfigure /etc/config.scm
> ...
> guix system: error: exception caught while executing 'start' on service
> 'swap-/dev/sda2':
> In procedure swapon: "/dev/sda2": Invalid argument...
According to swapon(2), there are 3 conditions that can lead to this
error:
EINVAL The file path exists, but refers neither to a regular file nor
to a
block device;
EINVAL (swapon()) The indicated path does not contain a valid swap
signature
or resides on an in-memory filesystem such as tmpfs(5).
EINVAL (since Linux 3.4)
(swapon()) An invalid flag value was specified in flags.
Did you run “mkswap /dev/sda2” beforehand?
Thanks,
Ludo’.