Results 1 to 5 of 5

Thread: kali doesn't read my partitions

  1. #1
    Join Date
    2013-May
    Posts
    3

    kali doesn't read my partitions

    hello
    i'm trying to install kali to my hard using a usb
    when i get to select where to install kali shows my hard as it's unallocated even if i had partitions and i made a 30gb unallocated space to install kali in but i don't see partitions and show like it's empty
    i tried the live and install and graphic install same problem
    tried hardware detection tool (the last line) it reads my hard and partitions
    i also tried BT5R3 same problem
    tried also with ubuntu-12.04.2 ls same problem
    even if it reads the file system and all of it's files in the live
    Last edited by blamn; 2013-05-28 at 22:29.

  2. #2
    Join Date
    2013-May
    Posts
    3
    i've founded that the problem is about that linux doesn't read GPT i'm still trying to find a solutions without turning it to MBR

    Edit :
    The problem fixed
    i launched live kali and used this commands
    fdisk -l : to make sure that the partitions is there + to knoew the letters of it mine was "dev/sda"
    Code:
    # fdisk -l
    
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xf6edf6ed
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1959    15735636    c  W95 FAT32 (LBA)
    /dev/sda2            1960        5283    26700030    f  W95 Ext'd (LBA)
    /dev/sda3            5284        6528    10000462+   7  HPFS/NTFS
    /dev/sda4            6529        9729    25712032+   c  W95 FAT32 (LBA)
    /dev/sda5   *        1960        2661     5638752   83  Linux
    /dev/sda6            2662        2904     1951866   83  Linux
    /dev/sda7            2905        3147     1951866   83  Linux
    /dev/sda8            3148        3264      939771   82  Linux swap / Solaris
    /dev/sda9            3265        5283    16217586    b  W95 FAT32
    sfdisk -d /dev/sda > parts.txt : to backup the partition table and copy it to your flash memory for example
    in case this went wrong use this command to restore the old table : sfdisk -f /dev/sdc < parts.txt
    download this : http://sourceforge.net/projects/gptf...iles/gptfdisk/
    for me i downloaded : fixparts_0.8.6-1_i386.deb
    and to installe it : sudo dpkg -i fixparts_0.8.6-1_i386.deb
    after it installed use this command : fixparts /dev/sda (replace sda with ur harddrive letter)
    then p to print the partition table then s to sort then p again to make sure nothing bad happended then w to write changes then y to accept
    Code:
    # fixparts /dev/sda
    FixParts 0.8.4
    
    Loading MBR data from /dev/sdc
    
    MBR command (? for help): p
    
    ** NOTE: Partition numbers do NOT indicate final primary/logical status,
    ** unlike in most MBR partitioning tools!
    
    ** Extended partitions are not displayed, but will be generated as required.
    
    Disk size is 3981312 sectors (1.9 GiB)
    MBR disk identifier: 0x00000000
    MBR partitions:
    
                                                       Can Be   Can Be
    Number  Boot  Start Sector   End Sector   Status   Logical  Primary   Code
       1      *             62      1171799   primary              Y      0x07
       2               1171800      1562399   primary              Y      0x83
       3               1562462      3124799   primary     Y        Y      0x0C
       5               3124862      3980213   logical     Y        Y      0xAF
    
    MBR command (? for help):
    then the problem is fixed
    Last edited by blamn; 2013-05-29 at 09:07.

  3. #3
    Join Date
    2013-May
    Posts
    3
    close topic

  4. #4
    I've done exactly what you done and created a backup file with sfdisk under a live run.

    Windows isn't booting anymore and I need to recovery the the backup. I know that the file is lost, but how to restore my disk?

  5. #5
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    Quote Originally Posted by HaselnuesseTo View Post
    I've done exactly what you done and created a backup file with sfdisk under a live run.

    Windows isn't booting anymore and I need to recovery the the backup. I know that the file is lost, but how to restore my disk?
    Try recover with boot repair cd
    http://sourceforge.net/projects/boot-repair-cd/ . It is easy and I am thinking it can help you. In this case you need internet access.
    or if it is not helpful you can use some similarly tool like Hiren's Boot (can repair windows boot) or you can try with any live Linux installation
    In all cases you have to make boot USB/CD and boot system from it.

Similar Threads

  1. Kali boot say something in three lines i cannot read
    By serlog in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-01-26, 23:05
  2. Need help with getting kali to read files from my windwos pc
    By Ultra Plankton in forum General Archive
    Replies: 2
    Last Post: 2020-01-16, 22:04
  3. Kali doesn't recognize partitions correctly
    By samer95 in forum Installing Archive
    Replies: 2
    Last Post: 2019-06-16, 14:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •