r/Kalilinux • • 4d ago

Question - Kali General Allocated space appears unusable while installing kali linux because of mbr

Allocated space appears unusable while installing kali linux because of mbr storage... How do i fix this? I'm trying to install dualbboot kali linux through flash drive.
My windows has legacy bios setup - I created a bootable Kali USB using Rufus (MBR + UEFI-CSM).
I proceeded to manual partitioning because the option to use the largest continuous free space wasn't available.
I discovered that the 40GB unallocated space was marked unusable, so I couldn't proceed with the installation.
Further investigation revealed that my SSD uses MBR and already has four partitions: System Reserved, Windows, Recovery and HPTOOLS.
I considered converting the SSD from MBR to GPT to overcome the partition limitation.

However, MBR2GPT validation failed with Disk layout validation failed.

Where I'm stuck: Finding a safe way to overcome the MBR four-partition limitation so I can install Kali alongside Windows without losing my existing files or recovery partitions.

2 Upvotes

1 comment sorted by

1

u/BoxCultural9377 4d ago

You've diagnosed it correctly: an MBR disk holds at most four primary partitions, and yours are all used. The 40GB shows as unusable because there's no free slot to put a new partition in. The fix is to free one slot and turn it into an extended partition, which can hold any number of logical partitions. Kali can be installed into those.

I'd avoid the MBR-to-GPT route. Your Windows is installed in legacy BIOS mode, so converting the disk means also switching the firmware to UEFI and creating an EFI partition. MBR2GPT already failed validation, and forcing it risks leaving Windows unbootable.

Safer plan: reclaim the HPTOOLS slot

HPTOOLS is normally a small FAT32 partition holding HP diagnostics and BIOS tools. It isn't your Windows Recovery partition, and it's rarely needed on a legacy-BIOS install. Keep System Reserved and Recovery.

  1. Back up first. Copy your important files to an external drive. Also copy the HPTOOLS contents (assign it a drive letter in Disk Management or a partition tool, then copy the files). A full disk image with Macrium Reflect Free or similar is even better.
  2. Check where HPTOOLS sits. In Disk Management or a partition tool, see if it's next to the 40GB unallocated space. If it isn't, a free tool like MiniTool Partition Wizard or AOMEI Partition Assistant can move or resize partitions so the free space is adjacent. Moving partitions is the riskiest step, so don't interrupt it, and keep the laptop plugged in.
  3. Delete HPTOOLS. This frees the fourth primary slot.
  4. Create an extended partition in that slot covering all the free space (the old HPTOOLS area plus the 40GB). Your partition tool does this when you create a new partition and choose "Extended". Leave it unformatted.
  5. Boot the Kali USB and choose manual partitioning. The free space inside the extended partition should now be usable. Create:

    • a logical partition of about 25–30GB or more, ext4, mounted at /
    • optionally a logical partition of 2–4GB for swap
  6. Install GRUB to the disk itself (/dev/sda or whatever your SSD is), not to a partition. GRUB should detect Windows and add it to the boot menu.