Kali Linux双系统安装分区异常:HDD已分区却被识别为无分区磁盘
Hey there! I’ve dealt with this exact issue a few times when setting up dual-boot systems, so let’s walk through the most likely fixes to get your pre-partitioned HDD showing up properly in Kali’s graphical installer:
Check if Windows is locking the HDD
Windows’ Fast Startup and Hibernate features can leave your HDD in a semi-active state that Linux can’t read correctly. Boot back into Windows and do two things:- Go to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, then uncheck "Turn on fast startup (recommended)".
- Open Command Prompt as Administrator and run
powercfg /h offto disable hibernate entirely. Restart your machine and try the Kali install again.
Rescan disks in the installer
Sometimes the installer just needs a quick refresh to pick up existing partitions. In the manual partitioning screen, look for a "Rescan Disks" or "Refresh" button (usually near the list of drives). Click it, wait 5-10 seconds, and see if your HDD partitions pop up.Verify the HDD’s partition table via terminal
If the installer still doesn’t see the partitions, switch to a terminal window by pressingCtrl+Alt+F2. Run these commands to check the disk status:lsblk: Lists all connected disks and their partitions. Look for your HDD (it’ll be something like/dev/sdbif your SSD is/dev/sda)—do you see partitions like/dev/sdb1listed under it?fdisk -l: Shows detailed disk info, including the partition table type (GPT or MBR). If the output says "Disklabel type: dos" or "gpt" for your HDD, the partition table is intact—if it says "unknown", you might need to repair it (but let’s cross that bridge only if needed).
If
lsblkshows your partitions exist, you can manually assign them in the installer: go back to the graphical partition screen, select the HDD, then pick the existing partition, set its mount point (e.g.,/for the root partition), chooseext4as the filesystem, and proceed.Check physical connections (for desktops)
If you’re on a desktop, it’s worth ruling out hardware issues. Shut down your PC, unplug the power cable, then check the SATA cable and power connector for your HDD—make sure they’re firmly plugged in. Sometimes a loose connection can cause the disk to be detected but not its partitions.
内容的提问来源于stack exchange,提问作者Razvan

