Seemingly innocuous "Command failed: Error opening device: No such file or directory" error when booting with an encrypted logical volume

Solution Verified - Updated -

Issue

  • Created an encrypted logical volume with cryptsetup and at the beginning of the boot process, the following is displayed:

    Starting udev:                                            [  OK  ]
    Loading default keymap (us):                              [  OK  ]
    Setting hostname localhost.localdomain                    [  OK  ]
    Starting disk encryption:
    Command failed: Error opening device: No such file or directory
                                                              [FAILED]
    Setting up Logical Volume Management:   3 logical volumes in volume group "VolGroup00" now active
                                                              [  OK  ]
    Starting disk encryption:
    Enter LUKS passphrase for /dev/mapper/VolGroup00-cryptedLV:  <proper password entered>
    key slot 0 unlocked.
    Command successful.
                                                              [  OK  ]
    

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.