My encrypted partition is full. How can I extend it step by step please?
Asked
Active
Viewed 212 times
-1

Marcus Müller
- 28,836
-
3This extremely much sounds like you haven't heeded the advise https://www.kali.org/docs/introduction/should-i-use-kali-linux/ . Kali is not meant to be used as general purpose OS. They say so themselves, for good reason. – Marcus Müller Jun 27 '21 at 18:02
1 Answers
0
- Boot from a live CD like system-rescue and use gparted to extend the parttion to the left.
- then you can extended the upper layer which is luks, see here for example
- and then the filesystem (ext3)

Rabin
- 3,883
- 1
- 22
- 23
-
You can't just "extend a partition to the left"; that doesn't put the superblock of the LVM physical volume at the beginning of the partition, so LVM will then not be able to find that partition. – Marcus Müller Jun 27 '21 at 18:06
-
Not sure, as for the partition level I'm pretty sure gparted can do it. as for the LVM ... I don't see him using LVM based on the picture above, but from what I can remember pvresize also should work, but I never used it to "extend to the left" – Rabin Jun 28 '21 at 11:31