From: Thierry Micoud <thierrymicoud@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Subject: Re: ERROR: In procedure swapon: "/dev/sda1": Invalid argument
Date: Mon, 18 Apr 2016 23:20:21 +0100 [thread overview]
Message-ID: <CANS=vQcZuYGHPPwCRtuLq3YcnQC-q-LDc3_5eXUHkP=pm9BPVg@mail.gmail.com> (raw)
In-Reply-To: <87vb3f8hu8.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1715 bytes --]
next prev parent reply other threads:[~2016-04-19 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-17 20:18 ERROR: In procedure swapon: "/dev/sda1": Invalid argument Thierry Micoud
2016-04-18 8:02 ` Ludovic Courtès
2016-04-18 22:20 ` Thierry Micoud [this message]
2016-04-19 10:42 ` Ludovic Courtès
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='CANS=vQcZuYGHPPwCRtuLq3YcnQC-q-LDc3_5eXUHkP=pm9BPVg@mail.gmail.com' \
--to=thierrymicoud@gmail.com \
--cc=ludo@gnu.org \
/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).