Luks Encrypted – Tell At Boot To Skip/ignore It – How?

Home » CentOS » Luks Encrypted – Tell At Boot To Skip/ignore It – How?
CentOS 1 Comment

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.

One thought on - Luks Encrypted – Tell At Boot To Skip/ignore It – How?

  • 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!