Re: luks encrypted - tell at boot to skip/ignore it - how?

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



On 1/30/21 9:48 AM, lejeczek via CentOS wrote:
> How to tell grub/kernel to ignore, skip either all or a specific block device which is luks-ecrypted - would anybody know?
> I have a box (kvm) which had a "secondary" luks-encrypted disk which now is detached and Centos just hangs @boot waiting for that disk.
> many thanks, L.


Try adding to /etc/crypttab an entry for it including the options:  nofail,noauto

You might also need an /etc/fstab entry for it (recommend LABEL= or UUID= as the source) and use the mount option of "nofail".  Might also need "noauto" depending on your situation.

crypttab(5) and mount(8) are your friends here.  Hope that helps!



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux