1

I am trying to dual boot Windows 7 with Ubuntu or Kali Linux but i am unable to do so.

I have backed up all my data to an external hard drive. So it is safe to work with partitioning.

I have a 500 GB hard drive and installed windows 7 onto a 150GB partition created with windows 7 installer partitioning tool.

I created Kali Linux bootable USB but when i proceed to the manual partitioning tool in the installer, it doesn't detect the Windows partition. It says the 500 GB space is free (unallocated).

I booted into the live kali linux form usb and tried gparted. It gives me the following error.

/dev/sda contains GPT signatures, indicating that it has a GPT table.  However,
it does not have a valid fake msdos partition table, as it should.  Perhaps it
was corrupted -- possibly by a program that doesn't understand GPT partition
tables.  Or perhaps you deleted the GPT table, and are now using an msdos 
partition table.  Is this a GPT partition table?

I tried the fdisk and its output is given below.

root@kali:~# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801
cylinders, total 976773168 sectors 
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xf17f14b8

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   115345407    57569280    6  FAT16
/dev/sda3       115345408   430327807   157491200    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 7747 MB, 7747397632 bytes
255 heads, 63 sectors/track, 941 cylinders, total 15131636 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b19d6

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63    15131635     7565786+   c  W95 FAT32 (LBA)

How should i fix this?

2 Answers 2

0

I didn't use fixparts. While booted from ubuntu, i decided to lose all my data on hard drive since i had that backed up to an external hard drive. So i repartitioned the drive with gparted. There were stray GPT entries. Created a ntfs partition for windows, ext4 for ubuntu and a linux swap. Installed windows and then ubuntu. Solved!

0

Anything was going wrong. The output of fdisk doesn't show a typical structure of a dual boot system using win7 and linux. The warning issued by gparted apply probably.

Please note, that when you have a pre-installed Windows 7 system, there will be a large hidden (in the Windows sense) partition, which fdisk will show, of course. If I remember well, Windows 7 cannot handle a GPT structure. But I'm not a Windows expert.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .