Kali Linux can't see my windows partitions!

20,719

Maybe the disk has a hybrid partition table (both MBR and GPT) with both parts not in sync.

You could have a look at the second sector of the disk and (after a backup) overwrite it with zeros:

dd if=/dev/sda skip=512 bs=1 count=16 | command od -t c -t x1

backup with

dd if=/dev/sda of=/media/whatever/sector1.dd skip=1 count=1

overwrite with

dd if=/dev/zero of=/dev/sda seek=1 count=1
Share:
20,719

Related videos on Youtube

HBasiri
Author by

HBasiri

Updated on September 18, 2022

Comments

  • HBasiri
    HBasiri over 1 year

    I'm trying to install Kali Linux alongside with my Windows 8.1 using live USB , but I can't because Kali is unable to see my partitions and unallocated space in my disk which I prepared 50GB unallocated space to install Kali in there.

    Kali just let me to install on all disk and doesn't show any partition or unallocated space so I can install there! Help please.

    OS: Windows 8.1 (64)
    Disk style: MBR
    My partitions(5): C,D,E,F,G
    Disk size: 250 GB

    I even created ext4 partition with Minitool Partiotion Wizard but still Kali wasn't able to see it! When i run fdisk -l command on kali terminal I can see partitions but even GParted can't detect partitions.
    I created bootable USB disk for Kali using Universal-USB-Installer app and everything is working fine in Live mode.
    Update: These are screenshots I took:

    enter image description here enter image description here enter image description here enter image description here

    My disk info (XML file)

    • Admin
      Admin about 9 years
      Is it have some option to configure your disks manual?
    • Admin
      Admin about 9 years
      xmm, did you try with other distro?
    • Admin
      Admin about 9 years
      No!And unfortunately this is my first experience with Linux :D But i installed Kali on VMWare before but there wasn't any problem like this one.
    • Admin
      Admin about 9 years
      Don't give up. I don't known from what is your problem that's why I told you to test with other disro or Live USB. If you don't have problem then, it means the problem is in Kali.
    • Admin
      Admin about 9 years
      Can you add output from fdisk -l or another partitioner? Even a screen shot from the Windows Disk Manager (diskmgmt.msc) could be helpful.
    • Admin
      Admin about 9 years
      @peterph: I took screenshots and updated the question hope it helps find problem.sorry for links!
  • HBasiri
    HBasiri about 9 years
    Before i go further can you look at my disk info i created from Disk Editor software.(XML file) mediafire.com/download/ht9k6wvc0j1hn1s/hddinfo_default.xml
  • peterph
    peterph about 9 years
    It doesn't look like a hybrid PT scheme - there is a logical partition, and hybrid scheme doesn't allow that (iirc).
  • HBasiri
    HBasiri about 9 years
    @peterph: So what should i do??
  • Hauke Laging
    Hauke Laging about 9 years
    @peterph I have read that, too. Doesn't make sense to me, though. However: In this case the GPT would be wrong anyway so that wouldn't be an argument.
  • peterph
    peterph about 9 years
    @HBS try another distribution as ValeriRangelov suggested. It really seems like a bug in Kali.
  • Julie Pelletier
    Julie Pelletier over 7 years
    OP's problem was solved 18 months ago.
  • Oskar Skog
    Oskar Skog about 4 years
    How could that even screw up the partition table?