public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Udvare <audvare@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key?
Date: Fri, 16 Nov 2018 00:11:53 -0500	[thread overview]
Message-ID: <a7b755ca-10b6-0780-7497-3f1620d74381@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1316 bytes --]

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 job in the first systemd
launched within initramfs)

This set up works, but it has one annoying thing coming from systemd
after initramfs is done.

When I take out the flash drive after booting up, I continuously get a
message that the flash drive wants to be mounted again.

Nov 16 00:01:52 limelight systemd[1]:
dev-disk-by\x2duuid-BD3B\x2d03BD.device: Job
dev-disk-by\x2duuid-BD3B\x2d03BD.device/start timed out.
Nov 16 00:01:52 limelight systemd[1]: Timed out waiting for device
Silicon-Power16G CHUAN.
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
mnt-chuan.mount/start failed with result 'dependency'.
Nov 16 00:01:52 limelight systemd[1]:
dev-disk-by\x2duuid-BD3B\x2d03BD.device: Job
dev-disk-by\x2duuid-BD3B\x2d03BD.device/start failed with result 'timeout'.

I think this is because of the entry in /etc/fstab.

Anyone have a similar issue? And how can I fix this in Dracut?

Thanks
Andrew


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2018-11-16  5:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-16  5:11 Andrew Udvare [this message]
2018-11-16 13:16 ` [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key? Rich Freeman
2018-11-16 17:15   ` Andrew Udvare
2018-11-16 19:43     ` Rich Freeman
2018-11-18  5:28       ` Andrew Udvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a7b755ca-10b6-0780-7497-3f1620d74381@gmail.com \
    --to=audvare@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox