cryptoswap stuck to /dev/sdb2 by name after installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After I've installed 22.04 recently with encrypted ZFS, I realized cryptoswap was bound to `/dev/sdb2` by name in `/etc/crypttab`, rather than through a label or UUID.
That meant a big boot delay as well as no swap after removing the install media.
Changing it to a `/dev/disk/by-uuid` path fixed it all.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity (not installed)
ProcVersionSign
Uname: Linux 5.15.0-33-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu May 26 16:29:53 2022
InstallCmdLine: BOOT_IMAGE=
InstallationDate: Installed on 2022-04-29 (27 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=pl_PL.UTF-8
SHELL=/bin/zsh
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)