Dual Boot – Problems Installing Ubuntu 13.10 Alongside Windows 7 with Unallocated Space

dual-bootgpartedgrub2partitioningunallocated

I've searched for people with similar problems but none of the fixes seem to be working for me.

I have a Windows 7 (200gb + 100mb reserved partitions) and the rest (~800gb) as unallocated. This is how it's represented in Windows and miniPartitionWizard/EasyBCD, both of which I have used (as advised elsewhere) to edit/repair the partitions and attempt to repair the MBR.

When I boot from the 13.1 live-usb and view the disk with gparted I get this prompt:

/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 partiotn tables. Or perhaps you deleted the GPT table,
and are now using an msdos partition table. Is this a GPT partition
table?

Both y & n have the same results of showing the disk as completely unallocated, though.

If I say no, I get the additional error

No partition table found on device /dev/sda

If I try and create a new partition, which is expected.

In terminal sudo parted -l throws the same error. I've tried reinstalling Windows several times, even if I don't change the partitions at all the Windows installation doesn't show in gparted. Am I missing something here?

Best Answer

It is entirely possible that your disk has stray GUID partition table data (in this case, Windows will actually still boot happily, recognizing the disk as only MBR). Is your Windows installed in legacy BIOS mode?

To confirm this, from the Ubuntu Live Desktop environment, open a Terminal and install gdisk (ensure you have network connectivity):

sudo apt-get install gdisk

Then list partitions that are on the GUID partition table:

sudo gdisk -l /dev/sda

Chances are, it might have come up empty. In that case, you will need to preserve the MBR and drop the stray GUID partition table identifier entirely:

sudo fixparts /dev/sda
w

More information here: http://www.rodsbooks.com/fixparts/

Related Question