After upgrade to 18.10 boot fails on waiting for encrypted source device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading from 18.04.1 LTS to 18.10, all reboots of the system give a boot screen with the error:
"cryptsetup: Waiting for encrypted source device /swapfile..."
After a minute or so, the graphical boot screen with that message is replaced with a console screen reading:
"ALERT! encrypted source device /swapfile does not exist, can't unlock cryptswap1.
Check cryptopts=source= bootarg: cat /proc/cmdline
or missing modules, devices: cat /proc/modules; ls /dev
Dropping to a shell
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) _"
Typing exit at the initramfs prompt gets the boot to continue. The boot continues to a working system and graphical login.
The system was configured in 18.04.1 LTS to have encrypted home directories and no swap file.
It looks like the /etc/fstab got a new swapfile line somewhere during the upgrade process. However, commenting that out and rebooting does not affect this issue.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: GNOME
Date: Fri Nov 9 20:22:09 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-08-12 (454 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: dist-upgrade
UpgradeStatus: Upgraded to cosmic on 2018-11-09 (0 days ago)
VarLogDistupgra
tags: | added: bionic2cosmic |
tags: | added: third-party-packages |
tags: |
added: disco eoan removed: wayland-session |
A post on Ask Ubuntu seems relevant: https:/ /askubuntu. com/questions/ 1087828/ cant-unlock- cryptswap1