Hi guys.
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.
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!