Comment 61 for bug 953875

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

I've noticed that Ubuntu 15.04 and Ubuntu MATE 15.04 experienced significant delay when booting if encrypted home directory has been selected during install. As requested by Martin Pitt, here is the additional information.

    sudo fdisk -l

Disk /dev/sda: 16 GiB, 17179869184 bytes, 33554432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x829eccc4

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 31457279 31455232 15G 83 Linux
/dev/sda2 31459326 33552383 2093058 1022M 5 Extended
/dev/sda5 31459328 33552383 2093056 1022M 82 Linux swap / Solaris

    sudo blkid

/dev/sda1: UUID="6febe79a-7116-464a-832b-7959cb237775" TYPE="ext4" PARTUUID="829eccc4-01"
/dev/sda5: PARTUUID="829eccc4-05"

    cat /etc/crypttab

cryptswap1 UUID=d57ffbf4-27ba-42f6-9f16-c40786779a46 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

    cat /etc/fstab

# /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/sda1 during installation
UUID=6febe79a-7116-464a-832b-7959cb237775 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
#UUID=d57ffbf4-27ba-42f6-9f16-c40786779a46 none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0