public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help
Date: Fri, 31 Oct 2008 13:43:05 +0930	[thread overview]
Message-ID: <490A85D1.8070205@netspace.net.au> (raw)
In-Reply-To: <20081031035456.GA4974@waltdnes.org>

Walter Dnes wrote:
>    I ran hibernate once unsuccessfully.  I forgot to put "resume=" into
> my lilo.conf (oops).  I finally did that, but now, hiberate gets to...
>
> hibernate: Running /usr/sbin/s2disk ...
> s2disk: Could not use the resume device (try swapon -a). Reason: No such device
>
> ...and backs out gracefully.  According to "fdisk -l", swap is there...
>
>
> [d530][root][~] fdisk -l
>
> Disk /dev/sda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xd0000000
>
>     Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1       60801   488384001    5  Extended
> /dev/sda5               1          62      497952   83  Linux
> /dev/sda6              63         549     3911796   82  Linux swap / Solaris
> /dev/sda7             550       60801   483974158+  83  Linux
>
> ...but according to swapon, it's not...
>
>
> [d530][root][~] swapon -a
> swapon: /dev/sda6: Invalid argument
>
>
>    What did I did?  And how do I straighten it out?

mkswap /dev/sda6
swapon /dev/sda6
?



-- 
Iain Buchanan <iaindb at netspace dot net dot au>


They had to edit the first ending of 'Lone Wolf McQuade' after Chuck 
Norris kicked David Carradine's ass, then proceeded to barbecue and eat 
him.



  reply	other threads:[~2008-10-31  4:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31  3:54 [gentoo-user] Screwed up swap while trying to get hibernate working; help Walter Dnes
2008-10-31  4:13 ` Iain Buchanan [this message]
2008-10-31 21:41   ` Walter Dnes
2008-10-31 17:51 ` Joshua Murphy
2008-11-01  3:41   ` Walter Dnes
2008-11-02 22:58     ` Joshua Murphy
2008-11-01  5:18   ` Iain Buchanan
2008-11-02 22:37     ` Joshua Murphy
2008-11-02 23:04       ` Iain Buchanan
2008-11-02 23:13         ` Joshua Murphy
2008-11-04 19:51     ` Mick
2008-11-05  4:17       ` Iain Buchanan

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490A85D1.8070205@netspace.net.au \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.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