I am trying to Install Kali Linux on my MacBook Pro for dual boot with Mac.
Here is the GUI I am talking about (the same is in Debian and Ubuntu, but just to clarify this I found image in google):
I actually did a single-partition installation already, but it is unencrypted. Suddenly, manual partitioning during install blocked me from performing it the right way with some weird error message.
My SSD is partitioned this way before installation of Kali:
- macOS EFI partition (I don’t touch it) - 100 MB
- macOS partition (encrypted APFS) - 90 GB
- Linux partition (EXT4) - 30 GB (should contain encrypted / root and swap)
- Linux boot partition (300 mb)
I’ve tried defining an encrypted partition for / root file system both with and without LVM. It shows an error with exclamation icon and text:
“you’ve selected root filesystem to be stored on an encrypted partition. This feature requires a separate /boot partition ... go back and setup /boot partition."
and blocks installation. Despite the fact that I have partition configured in manual partitioner GUI (#4 in my table) as “BIOS boot area”. There is no option to specify mount point for it though. So this looks weird bug in installer to me.
Notes: on MBP, it is not important to have macOS boot option. You can boot to macOS with Option key that detects macOS partitions regardless Linux bootloader so it is ok to use grub and graphical installer to me.
Can you suggest a step-by-step list of actions for manual partitioning in this case? I cannot find a guide, I always read about “Guided” when people discuss encrypted LVM, but “Guided” wipes all disk and other partitions.
Trying to add LVM is no different:
- Choose Manual Partitioning
- Create LVM group on top of EXT4 part
- Add volumes: root for / fs, and swap, format them properly
- Format partition #4 (outside LVM) as EFI boot area (“Use as:”)
- Set encryption for partitions swap and root (partitioner GUI has option for cryptsetup configuration listed right after LVM section)
- Cannot start installation, complains about /boot which cannot be specified as mount point anywhere)