安装 Kubuntu 24.10 后,不会出现 LUKS 密码屏幕。我尝试过全新安装,但没有成功。此外,在 KDE 设置中更改启动屏幕也没有任何作用。
以下是我的 fstab 和 crypttab 文件:
# /etc/crypttab: mappings for encrypted partitions.
#
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
# should use the /dev/mapper/<name> paths for encrypted devices.
#
# See crypttab(5) for the supported syntax.
#
# NOTE: You need not list your root (/) partition here, but it must be set up
# beforehand by the initramfs (/etc/mkinitcpio.conf). The same applies
# to encrypted swap, which should be set up with mkinitcpio-openswap
# for resume support.
#
# <name> <device> <password> <options>
cryptHome UUID=e2652883-XXXX-4d1b-XXXX-c842019fb8d9 none luks,timeout=30
# /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>
UUID=1442-DF7D /boot/efi vfat defaults 0 2
UUID=3025d2f2-1e29-464a-a7f8-bd1a5a6c9830 / ext4 defaults 0 1
/swapfile swap swap defaults 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
/dev/mapper/cryptHome /home ext4 defaults 0 2
journalctl -xb 没有显示任何与 LUKS 相关的错误,也没有显示 /var/log/syslog。当我手动解密并将分区挂载到 /home 时,一切都运行正常。但是,我不确定如何解决自动解密的问题。请帮忙!
我通过运行以下命令解决了该问题:
$ sudo apt-get -y 安装 systemd-cryptsetup
查看:https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/2084251