On 18 Apr 2016 09:03, "Ludovic Courtès" <ludo@gnu.org> wrote:
>
> Thierry Micoud <thierrymicoud@gmail.com> skribis:
>
> > ERROR: In procedure swapon: "/dev/sda1": Invalid argument
>
> [...]
>
> > and this is the relevent output of fdisk -l
> >
> > Disk /dev/sda: 232.9 GiB, 250000000000 bytes, 488281250 sectors
> > Units: sectors of 1 * 512 = 512 bytes
> > Sector size (logical/physical): 512 bytes / 512 bytes
> > I/O size (minimum/optimal): 512 bytes / 512 bytes
> > Disklabel type: dos
> > Disk identifier: 0x659d198e
> >
> > Device Boot Start End Sectors Size Id Type
> > /dev/sda1 2048 8390655 8388608 4G 82 Linux swap / Solaris
>
> According to swapon(2), this most likely means that /dev/sda1 does not
> contain a valid swap signature.
>
> If that is the case, it can be fixed with:
>
> mkswap /dev/sda1
> herd start swap-/dev/sda1
>
> HTH!
>
> Ludo’.
That was exactly it.
Being a fresh install I completely forgot to mkswap the partition during the install.
Thanks very much for taking time to reply.
I'm still finding my way round this distro, but enjoying very much the learning curve.
Thierry