You are not logged in.

#1 2007-07-09 21:43:59

rexcze
Member
Registered: 2007-05-12
Posts: 54

SWAP cant be mounted (used)

Hi there,

I have some problem with swap. I set it during installation but arch cannot mount it up while booting.

fstab:

# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/sda5 swap swap defaults 0 0
/dev/sda6 / ext3 defaults 0 1

Iam running latest kernel suspend2 with these parametres in Grub:

#Arch linux suspend2
title Arch suspend
root (hd0,5)
kernel /boot/vmlinuz26suspend2 root=/dev/sda6 resume2=swap:/dev/sda5
initrd /boot/kernel26suspend2.img

and this is my fdisk info:

sda1                    PrimaryNTFS             [^F]            57453,59
    sda5                    Logical  Linux swap / Solaris               1019,94
    sda6                    Logical  Linux ext3                        17034,56
    sda3        Lenovo-care-Thinkcenter                  4515,68

command "swapon /dev/sda5" returns Unaccessed argument
and
command "mount /dev/sda5 /mnt/swap/" returns: mount: unknown filesystem type 'swsuspend'


Any idea how to solve it?

Offline

#2 2007-07-09 21:59:59

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: SWAP cant be mounted (used)

Apparently suspend b0rked your swap partition. I've seen it happen.

Run "mkswap /dev/sda5" to recreate your swap partition. You will have to work out how to stop suspend(2) from killing your swap by yourself.

Offline

Board footer

Powered by FluxBB