1 |
Walter Dnes wrote: |
2 |
> I ran hibernate once unsuccessfully. I forgot to put "resume=" into |
3 |
> my lilo.conf (oops). I finally did that, but now, hiberate gets to... |
4 |
> |
5 |
> hibernate: Running /usr/sbin/s2disk ... |
6 |
> s2disk: Could not use the resume device (try swapon -a). Reason: No such device |
7 |
> |
8 |
> ...and backs out gracefully. According to "fdisk -l", swap is there... |
9 |
> |
10 |
> |
11 |
> [d530][root][~] fdisk -l |
12 |
> |
13 |
> Disk /dev/sda: 500.1 GB, 500107862016 bytes |
14 |
> 255 heads, 63 sectors/track, 60801 cylinders |
15 |
> Units = cylinders of 16065 * 512 = 8225280 bytes |
16 |
> Disk identifier: 0xd0000000 |
17 |
> |
18 |
> Device Boot Start End Blocks Id System |
19 |
> /dev/sda1 1 60801 488384001 5 Extended |
20 |
> /dev/sda5 1 62 497952 83 Linux |
21 |
> /dev/sda6 63 549 3911796 82 Linux swap / Solaris |
22 |
> /dev/sda7 550 60801 483974158+ 83 Linux |
23 |
> |
24 |
> ...but according to swapon, it's not... |
25 |
> |
26 |
> |
27 |
> [d530][root][~] swapon -a |
28 |
> swapon: /dev/sda6: Invalid argument |
29 |
> |
30 |
> |
31 |
> What did I did? And how do I straighten it out? |
32 |
|
33 |
mkswap /dev/sda6 |
34 |
swapon /dev/sda6 |
35 |
? |
36 |
|
37 |
|
38 |
|
39 |
-- |
40 |
Iain Buchanan <iaindb at netspace dot net dot au> |
41 |
|
42 |
|
43 |
They had to edit the first ending of 'Lone Wolf McQuade' after Chuck |
44 |
Norris kicked David Carradine's ass, then proceeded to barbecue and eat |
45 |
him. |