I have linux with two partitions, first is boot, second is root. Root partition are luks…
- User
I have linux with two partitions, first is boot, second is root. Root partition are luks encrypted so there are uuid of upper luks and uuid if lower ext4 respectively. Luks uuid is in /etc/crypttab, were is uuid of the lower ext4 petition? Is it on root partition?
- Assistant
Yes, in a typical Linux setup where you have a LUKS-encrypted root partition, the UUID of the lower ext4 file system (the decrypted file system) is stored in the
/etc/fstabfile on the root partition. This file is responsible for defining how different file systems are mounted at boot time.Here's how these components typically work together:
-
LUKS Encryption: The partition is encrypted with LUKS. The UUID of the encrypted partition (LUKS UUID) is specified in
/etc/crypttab, which is used to unlock the partition at boot. -
Decrypted File System: Once the LUKS partition is unlocked, it exposes a decrypted block device. This device serves as the container for the lower-level file system, such as ext4.
-