Cryptswap boot error - can't mount?
Posted
by
woody
on Ask Ubuntu
See other posts from Ask Ubuntu
or by woody
Published on 2012-12-01T20:17:05Z
Indexed on
2012/12/02
5:22 UTC
Read the original article
Hit count: 275
I believe i have my swap set up but am not sure because on start up it says that it is something along the lines of "could not mount /dev/mapper/cryptswap1 M for manual S for skip". But it appears to be mounted? I have already tried this solution with no success.
When i run free -m
the output is:
total used free shared buffers cached
Mem: 3887 769 3117 0 54 348
-/+ buffers/cache: 366 3520
Swap: 4026 0 4026
and sudo bklid
is:
/dev/sda1: UUID="9fb3ccd6-3732-4989-bfa4-e943a09f1153" TYPE="ext4"
/dev/mapper/cryptswap1: UUID="bd9fe154-8621-48b3-95d2-ae5c91f373fd" TYPE="swap"
and cat /etc/crypttab
is:
cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
my /etc/fstab
is:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=9fb3ccd6-3732-4989-bfa4-e943a09f1153 / ext4
errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
#UUID=bb0e378e-8742-435a-beda-ae7788a7c1b0 none swap
sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
cat /proc/swaps
output is:
Filename Type Size Used Priority
/dev/dm-0 partition 4123644 0 -1
Is my swap not setup correctly or how can i fix my boot message?
© Ask Ubuntu or respective owner