I can't boot normally with encrypted swap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
boot (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi!
I installed Ubuntu 15.10 64bit desktop with the following partition
schema:
szimszon@
Welcome to fdisk (util-linux 2.26.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Parancs (m = súgó): p
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E83FD0FA-
Eszköz Start Vége Szektorok Size Típus
/dev/sda1 2048 499711 497664 243M EFI System
/dev/sda2 499712 1499135 999424 488M Linux filesystem
/dev/sda3 1499136 974155775 972656640 463,8G Linux filesystem
/dev/sda4 974155776 976771071 2615296 1,3G Linux lapozó
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>
/dev/mapper/
# /boot was on /dev/sda2 during installation
UUID=f19afe7d-
defaults 0 2
# /boot/efi was on /dev/sda1 during installation
UUID=BF13-E9D2 /boot/efi vfat umask=0077 0 1
/dev/mapper/
0 2
/dev/mapper/
=======
lsblk:
=======
szimszon@
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465,8G 0 disk ├─sda1 8:1 0
243M 0 part /boot/efi
├─sda2 8:2 0 488M 0 part /boot
├─sda3 8:3 0 463,8G 0 part │ └─sda3_crypt 252:0 0
463,8G 0 crypt /home
└─sda4 8:4 0 1,3G 0 part
=======
After the second boot the system can't find the swap space and I have to
wait 1:30 minute to timeout the process to do something with the swap
space.
I have a crypt partition on sda3 (this is the root partition with btrfs
in it), and sda4 (for swap space).
Now if I try to open the sda3 I got an error that the partition is not
an encrypted one:
=======
szimszon@
Device /dev/sda4 is not a valid LUKS device.
=======
affects ubuntu/boot
--
Üdvözlettel:
Gyuris Szabolcs
<email address hidden>
http://
https:/
https:/
https:/
Lines from syslog:
Nov 13 09:03:40 szimszon-kili systemd[1]: dev-disk- by\x2duuid- 31375131\ x2df654\ x2d4c0a\ x2d9872\ x2d0b321cbc258c .device: Job dev-disk- by\x2duuid- 31375131\ x2df654\ x2d4c0a\ x2d9872\ x2d0b321cbc258c .d by\x2duuid- 31375131\ x2df654\ x2d4c0a\ x2d9872\ x2d0b321cbc258c .device. sda4_crypt. device. sda4_crypt. sda4_crypt. swap: Job dev-mapper- sda4_crypt. swap/start failed with result 'dependency'. sda4_crypt. device: Job dev-mapper- sda4_crypt. device/ start failed with result 'dependency'. cryptsetup@ sda4_crypt. service: Job systemd- cryptsetup@ sda4_crypt. service/ start failed with result 'dependency'. by\x2duuid- 31375131\ x2df654\ x2d4c0a\ x2d9872\ x2d0b321cbc258c .device: Job dev-disk- by\x2duuid- 31375131\ x2df654\ x2d4c0a\ x2d9872\ x2d0b321cbc258c .d
evice/start timed out.
Nov 13 09:03:40 szimszon-kili systemd[1]: Timed out waiting for device dev-disk-
Nov 13 09:03:40 szimszon-kili systemd[1]: Dependency failed for Cryptography Setup for sda4_crypt.
Nov 13 09:03:40 szimszon-kili systemd[1]: Dependency failed for dev-mapper-
Nov 13 09:03:40 szimszon-kili systemd[1]: Dependency failed for /dev/mapper/
Nov 13 09:03:40 szimszon-kili systemd[1]: dev-mapper-
Nov 13 09:03:40 szimszon-kili systemd[1]: Startup finished in 18.577s (kernel) + 3min 1.120s (userspace) = 3min 55.153s.
Nov 13 09:03:40 szimszon-kili systemd[1]: dev-mapper-
Nov 13 09:03:40 szimszon-kili systemd[1]: systemd-
Nov 13 09:03:40 szimszon-kili systemd[1]: dev-disk-
evice/start failed with result 'timeout'.