View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009675 | Kali Linux | Kali Package Bug | public | 2026-05-10 17:23 | 2026-05-10 18:33 |
| Reporter | chirrindulari | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Summary | 0009675: Installer cannot prepare encrypted separate partitions if includes /home | ||||
| Description | Kali version 2023.1 Lets start with the setup that works fine: This setup works as expected. If I try to encrypt /home afterwards, the command "update-initramfs -u -k all" does not make a new partition to be created inside initrd.img-6... in crypttab Now, the setup that FAILS. On the first boot after installing KALI asks for the passphare of the 5th partition ( / ) Some verifications I've done... 2) blkid has the five partitions as /dev/nvme0n1p1...5 of type crypto_LUKS 3) blkid only shows /dev/mapper/nvme0n1pX, where X is 4 and 5. X=3 does not appear here. -> We don't have /home in the system 4) I've inspected crypttab INSIDE /boot/initrd.img-6.18.12+kali-amd64 and there are ONLY TWO partitions(0000004 and 0000005) 5) If I try to rebuild initrd with this command This seems to demonstrate that something causes initrd to ignore the entry for /home coming from /etc/crypttab If someone tells me how to manually fix /tmp/initrd-extract/cryptroot/crypttab and rebuild the initrd file, I can check if it's the root cause. | ||||
|
I've added "initramfs" to the options of the /home partition in /etc/crypttab and now the crypttab INSIDE initrd is RIGHT. It has all the encrypted partitions. One of the changes to be made to the KALI installer is to add "initramfs" to the option for the /home partition. This is due to the fact /usr/share/initramfs-tools/hooks/cryptroot calls the function "generate_initrd_crypttab" and this funciones ignores the partitions not " / ", not swap, not " /usr " or not marked as "initramfs" This is the resume made by claude, which helped me finding the solution: Root cause: |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-05-10 17:23 | chirrindulari | New Issue | |
| 2026-05-10 18:33 | chirrindulari | Note Added: 0021657 |