Re: swap not turned on at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
On Wed, 13 Dec 2006 11:48:03 -0800, Rick wrote:

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.

Hello,

*Both swap spaces are recognized by blkid:

$ /sbin/blkid -t TYPE=swap

/dev/VolGroup00/LogVol01: TYPE="swap" /dev/mapper/VolGroup01-LogVol00:

UUID="11b20130-dde4-442b-b86c-fc494b09ffbd" TYPE="swap"

/dev/sda2: TYPE="swap" LABEL="SWAP-sda2"
UUID="15de34ee-d08e-493a-9f94-ccd380fad
                                           57b"

*And here is my fstab:

/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys

Stll no swap turned on at boot. Also I can turn on /dev/sda2 swap
using Gparted. I am stumped?

-ron-


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux