While trying to install Kali Linux as a secondary OS with Windows 11(primary OS), the partition created for Kali is not visible during the Graphical Install.
The hard drive I'm trying to install kali on is of size 1 TB. Even after making a partition of 150 GB, the disk partition menu in the graphical install of kali is not showing the partitions rather showing the disk with one partition of size 932 GB
Upon initial research, I tried fixing the partition table using gdisk (since my system has GPT disks), but that didn't help.
Primary OS: Windows 11
Disk Type: GPT
Image Used: kali-linux-2021.4a-installer-amd64
2 Answers
I would delete all partitions on the 1 TB disk (in Windows, so that everything is unallocated).
Then make a /root
partition (1 GB would be sufficient FAT32), a /
(boot) partition for your Kali installation (100-150 GB EXT4 (and if you want to install another Linux distribution in the future make it e.g. 200 GB), so you can resize it and make another partition for that distro) and a /home
partition for your documents/photos/music/videos/downloads (EXT4, size it for your needs). If you ever need to reinstall Kali or you want to use another Linux based system, you can install that without losing any data.
Linux distros can read and write to NTFS partitions. Windows cannot read EXT4 partitions without third party software.
So you could make another NTFS-partition for your documents etc. so you can move those from your Windows installation to your big HD. So if you ever need to reinstall Windows your documents etc. are secure on the other disk.
You can partition the disk during the installation of Kali, or do while trying out Kali with GParted (it is about the same as PartitionMagic was) and is not difficult to use.
Your "Disk 1" is a Microsoft Dynamic disk using LDM (Logical Disk Manager). This is like LVM but for Windows systems. I don't believe you can create a bootable partition for your Linux-based system on a disk that's been set up as Dynamic, but there is a tool, ldmtool
that can apparently let you access and use LDM partitions from a running Linux-based system.
Two possible solutions
- Backup all your data from "Disk 1" and reformat as a standard GPT disk, allocating the space between your Linux-based system and Windows as appropriate
- Boot your Linux-based system from another disk, and then access the allocated 150GB storage via
ldmtool
or similar
Also see Linux volume on a Windows dynamic disk over on SuperUser
gdisk -l
output of the hard drive?disk management
tool. I'm sorry I don't know how to usegdisk -l
. I've added related images in the question.