Quote:
Originally Posted by HardenedCriminal
In the first example above:
/dev/mapper/luks-f25862ef-6be7-487f-80c0-aa21ce26319e: UUID="c4ccc1dc-6738-48a0-8922-afa3b7ee11fd" TYPE="ext4" #line 9
which is missing. The UUID & Luks-... do not match.
|
They won't match. The first contains the UUID of the LUKS container. The second is the UUID of the ext4 filesystem within that container. If those were the same it would violate the expected uniqueness of UUIDs.
That name in /dev/mapper can really be anything. It is determined by the first argument in the /etc/crypttab line, and the device name in the /etc/fstab entry needs to match. Using a name that contains the LUKS UUID is just a convention that the installer uses. Your line in /etc/crypttab could be as simple as
Code:
mystuff UUID=31e49c7a-7071-4a36-a58d-9a35638e5235 none
and your /etc/fstab would then need an entry referencing "/dev/mapper/mystuff".