Gentoo Archives: gentoo-user

From: Andrew Udvare <audvare@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key?
Date: Fri, 16 Nov 2018 05:12:09
Message-Id: a7b755ca-10b6-0780-7497-3f1620d74381@gmail.com
1 I have a set up like this to boot:
2
3 GRUB - access non-encrypted EFI partition to find kernel, initramfs, etc
4 initramfs has enough on it to boot minus the encryption key
5 (Removable) storage must be inserted (UUID matching) to:
6 - mount to expected point
7 - use key to decrypt root partition (systemd job in the first systemd
8 launched within initramfs)
9
10 This set up works, but it has one annoying thing coming from systemd
11 after initramfs is done.
12
13 When I take out the flash drive after booting up, I continuously get a
14 message that the flash drive wants to be mounted again.
15
16 Nov 16 00:01:52 limelight systemd[1]:
17 dev-disk-by\x2duuid-BD3B\x2d03BD.device: Job
18 dev-disk-by\x2duuid-BD3B\x2d03BD.device/start timed out.
19 Nov 16 00:01:52 limelight systemd[1]: Timed out waiting for device
20 Silicon-Power16G CHUAN.
21 Nov 16 00:01:52 limelight systemd[1]: Dependency failed for /mnt/chuan.
22 Nov 16 00:01:52 limelight systemd[1]: mnt-chuan.mount: Job
23 mnt-chuan.mount/start failed with result 'dependency'.
24 Nov 16 00:01:52 limelight systemd[1]:
25 dev-disk-by\x2duuid-BD3B\x2d03BD.device: Job
26 dev-disk-by\x2duuid-BD3B\x2d03BD.device/start failed with result 'timeout'.
27
28 I think this is because of the entry in /etc/fstab.
29
30 Anyone have a similar issue? And how can I fix this in Dracut?
31
32 Thanks
33 Andrew

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies