Re: [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key?

2018-11-17 Thread Andrew Udvare
On 16/11/2018 14:43, Rich Freeman wrote: > On Fri, Nov 16, 2018 at 12:15 PM Andrew Udvare wrote: >> >> I am not sure if there is a way to move the systemd-cryptsetup@home.service >> up the dependency tree once it's working, which would then remove the >> mnt-chuan.mount dependency. >> > > Ok,

Re: [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key?

2018-11-16 Thread Rich Freeman
On Fri, Nov 16, 2018 at 12:15 PM Andrew Udvare wrote: > > I am not sure if there is a way to move the systemd-cryptsetup@home.service > up the dependency tree once it's working, which would then remove the > mnt-chuan.mount dependency. > Ok, I did a bit more reading. You're using the

Re: [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key?

2018-11-16 Thread Andrew Udvare
> On 2018-11-16, at 08:16, Rich Freeman wrote: > > On Fri, Nov 16, 2018 at 12:11 AM Andrew Udvare wrote: >> >> - use key to decrypt root partition (systemd job in the first systemd >> launched within initramfs) >> ... >> Nov 16 00:01:52 limelight systemd[1]: Dependency failed for /mnt/chuan.

Re: [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key?

2018-11-16 Thread Rich Freeman
On Fri, Nov 16, 2018 at 12:11 AM Andrew Udvare wrote: > > - use key to decrypt root partition (systemd job in the first systemd > launched within initramfs) > ... > Nov 16 00:01:52 limelight systemd[1]: Dependency failed for /mnt/chuan. > Nov 16 00:01:52 limelight systemd[1]: mnt-chuan.mount: Job

[gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key?

2018-11-15 Thread Andrew Udvare
I have a set up like this to boot: GRUB - access non-encrypted EFI partition to find kernel, initramfs, etc initramfs has enough on it to boot minus the encryption key (Removable) storage must be inserted (UUID matching) to: - mount to expected point - use key to decrypt root partition (systemd