Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] Screwed up swap while trying to get hibernate working; help
Date: Fri, 31 Oct 2008 03:55:19
Message-Id: 20081031035456.GA4974@waltdnes.org
1 I ran hibernate once unsuccessfully. I forgot to put "resume=" into
2 my lilo.conf (oops). I finally did that, but now, hiberate gets to...
3
4 hibernate: Running /usr/sbin/s2disk ...
5 s2disk: Could not use the resume device (try swapon -a). Reason: No such device
6
7 ...and backs out gracefully. According to "fdisk -l", swap is there...
8
9
10 [d530][root][~] fdisk -l
11
12 Disk /dev/sda: 500.1 GB, 500107862016 bytes
13 255 heads, 63 sectors/track, 60801 cylinders
14 Units = cylinders of 16065 * 512 = 8225280 bytes
15 Disk identifier: 0xd0000000
16
17 Device Boot Start End Blocks Id System
18 /dev/sda1 1 60801 488384001 5 Extended
19 /dev/sda5 1 62 497952 83 Linux
20 /dev/sda6 63 549 3911796 82 Linux swap / Solaris
21 /dev/sda7 550 60801 483974158+ 83 Linux
22
23 ...but according to swapon, it's not...
24
25
26 [d530][root][~] swapon -a
27 swapon: /dev/sda6: Invalid argument
28
29
30 What did I did? And how do I straighten it out?
31
32 --
33 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help Iain Buchanan <iaindb@××××××××××××.au>
Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help Joshua Murphy <poisonbl@×××××.com>