You are not logged in.
Pages: 1
hey, my swap doesnt activate at boot, plus i cant start it via swapon, im getting
swapon: /dev/sda2: Invalid argument
when i use swapon /dev/sda2 or swapon -a
/dev/sda2 swap swap defaults 0 0
line from my fstab, plus i use crypto root and home, two separate partitions using Luks, thanks for help!
Last edited by nst (2007-11-02 14:02:40)
Offline
Hi nst,
post the output of this command (run it as root):
fdisk -l /dev/sda
Offline
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x77777777
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5 40162 83 Linux
/dev/sda2 6 71 530145 82 Linux swap / Solaris
/dev/sda3 72 1091 8193150 83 Linux
/dev/sda4 1092 14593 108454815 83 Linux
Offline
Use this command to reinitialize the swap partition (as root):
mkswap /dev/sda2
and then:
swapon /dev/sda2
Offline
thanks )
Offline
Pages: 1