You are not logged in.

#1 2006-12-16 19:31:02

thecrazylol
Member
Registered: 2006-10-05
Posts: 27

no swap :( [solved]

following problem:
sometimes swap would be mounted, sometimes not!
but the log says that it is mostely not mounted sad!
i never get it to mind, all the time!
the log:
                                                http://www.kernel-oops.de/index.php?sit … e&show=558

# /etc/fstab: static file system information

none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0

/dev/cdrom /mnt/cd iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/fd0 /mnt/fl vfat user,noauto 0 0

/dev/sda4 / ext3 defaults 0 1
/dev/sda3 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
#/dev/sda2 none swap defaults 0 0
#/dev/sda2 none swap sw 0 0
/dev/sdb1 /mnt/exthdd ntfs noauto,uid=1000
/dev/sda1 /mnt/windows ntfs uid=1000

the two outcommended /dev/sda2 entries, were tests, because i got differend informations from different systems  hmm nothing helped

in the log was a tip, i should test swapon -a:

[root@LinuXanT thecrazylol]# swapon -a
swapon: /dev/sda2: Das Argument ist ungültig
[root@LinuXanT thecrazylol]#

output of cfdisk:

cfdisk 2.12r

Festplatte: /dev/sda
Größe: 80026361856 Bytes, 80,0 GB
Köpfe: 240 Sektoren pro Spur: 63 Zylinder: 10337

Name Flags Part. Typ Dateisystemtyp [Bezeichner] Größe (MB)
-----------------------------------
sda1 Boot Primäre NTFS ] 70354,21
sda3 Primäre Linux ext3 131,61
sda2 Primäre Linux swap / Solaris 1021,91 *
sda4 Primäre Linux ext3 8515,56 *

oh i forgot:
Linux LinuXanT 2.6.19-ARCH #1 SMP PREEMPT Tue Dec 12 12:47:42 CET 2006 i686 Intel(R) Celeron(R) M processor         1.40GHz GenuineIntel GNU/Linux

edit: ok i have a solution:
mkswap /dev/sda2; swapoff -a && swapon -a
that was it wink

Offline

Board footer

Powered by FluxBB