My "swap" space seems to have vanished....
Chris Tyler
chris at tylers.info
Fri Mar 18 13:53:15 UTC 2011
On Fri, 2011-03-18 at 14:46 +0100, DB wrote:
(snip)
> Device Boot Start End Blocks Id System
> /dev/sda1 * 63 979964 489951 83 Linux
> /dev/sda2 979965 59569019 29294527+ 83 Linux
> /dev/sda3 59569020 645507764 292969372+ 83 Linux
> /dev/sda4 645507765 1953520064 654006150 5 Extended
> /dev/sda5 645507828 647098199 795186 82 Linux swap / Solaris
>
>
> Which seems to me to suggest that the swap partition exists.
>
> Anyone got any thoughts on how to get the swap recognised??
To test:
swapon -v /dev/sda5
If that works fine, make it permanent:
echo "/dev/sda5 swap swap" >>/etc/fstab
Else verify that there's nothing else on there (e.g., a filesystem), and
then reformat for swap with mkswap if necessary.
-Chris
More information about the users
mailing list