2

I installed Debian on a VM using Guided Partitioning with Encryption and using LVM and it created something like this:

- /boot
- encrypted partition
-- LVM
--- /
--- /home
--- swap

After the successful installation, I tried to install Debian again, just to see how it's going to look like when I'm actually going to do a real system update on an encrypted partition. To my surprise, all I saw on manual partitioning was this:

- /boot
- a partition

My plan was to replace and format root partition and use /home partition without formatting.

Is it not possible to system upgrade when using encryption?

1 Answer 1

2

What you're seeing is correct. The installer is showing you the partitions, but your root and home filesystems are in LVM logical volumes (not partitions), which in turn is inside a LUKS container. You need to unlock the encrypted LUKS container/partition so that the logical volumes become accessible.

3
  • how should i unlock it?
    – Amir
    Jan 1, 2021 at 9:26
  • Assuming the LUKS container is on sda2, then something like this: cryptsetup open /dev/sda2 somename --type luks You'll then need to enter the passphrase. Jan 1, 2021 at 20:42
  • sorry for newbie questions, and where do i have to enter this cmd? i don't see any shell in Debian graphical installation.
    – Amir
    Jan 2, 2021 at 8:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .