Re: Ignore or blacklist a disk from being brought up on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have my boot partition on a pin protected flash drive and have
embedded the encryption keyfile for my filesystem in my initramfs
image to automate unlocking my computer with just the flash pin. The
issue with this comes when generating the initramfs through dracut,
because the boot disk is mounted and listed in /proc/self/mountinfo
and gets a systemd entry that requires it to be brought online.

Since the keyfile is embedded in the image in ram the boot disk is not
needed to be brought online, but since the USB is reset, this requires
me to enter the pin on the flash drive a second time, just to unlock
the volume to satisfy systemd.

is there a way to ignore a particular device when running dracut, or
at least change its timeout and systemd status to not be boot
effecting?
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux