swap not turned on at boot

Rick Stevens rstevens at vitalstream.com
Wed Dec 13 19:48:03 UTC 2006


On Wed, 2006-12-13 at 14:22 -0500, ron wrote:
> Hello,
> 
> KDE System Guard shows no swap space. Log shows no swap turned on at
> boot. I can turn it on using Gparted. Can anyone help?

You have a swap partition?  If so, make sure the appropriate entry is
in /etc/fstab.  Here's mine from an LVM-based system:

    /dev/sys_vg/swap_lv     swap        swap    defaults        0 0

And one from a non-LVM system:

    LABEL=SWAP             swap         swap    defaults        0 0

The /etc/rc.d/rc.sysinit script that's run at startup should find it
and turn on swap automatically.  rc.sysinit also uses "blkid" to try
to find swap partitions ("blkid -t TYPE=swap...") and activate them.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-         Okay, who put a "stop payment" on my reality check?        -
----------------------------------------------------------------------




More information about the fedora-list mailing list