Comment 19 for bug 1685794

Revision history for this message
The EYE (maxtheman) wrote :

My etc/fstab looks like this:

# /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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=dff81be3-ae49-438f-a56e-d3e96d0c4dd3 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=34b2e7e7-11b0-4271-bfc5-0905e14172cc /home ext4 defaults 0 2
# swap was on /dev/sda1 during installation
#UUID=1278b31c-7396-4995-8664-f6ab6e0421de none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0

I've a file at /dev/mapper/cryptswap1.

My etc/crypttab looks like this:
cryptswap1 UUID=1278b31c-7396-4995-8664-f6ab6e0421de /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

johnocc commented the line in etc/crypttab out and it worked afterwards (but he was lacking the file in /dev/mapper/cryptswap1). (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685794/comments/11)).

I haven't changed anything so far. You can find a screenshot of gparted attached, seems to fit with my fstab.