I have a 2TB HDD and first installed Windows 7 in a 1.8TB partition, leaving near 200 GB of unused disk to install Ubuntu in the future.
Yesterday I did that, creating 4 partitions:
- 512 MB Swap
- 350 MB /boot ext2
- 16GB / ext4
- The rest, near 180 GB, /home ext4
It went fine, installed, and restarted showing Grub with both Windows 7 and Ubuntu. I entered Ubuntu normally and worked fine but later I tried to enter Windows and it crashed. When restarted it shows a message saying "error, no such partition" and staying there. Here I noticed that this motherboard doesn't uses a BIOS, having instead UEFI, so perhaps GRUB isn't correctly installed.
Then I booted with the Ubuntu Live USB that I used to install previously and looking at the partition table (with GParted) and it shows this message:
/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. Our perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table?
Only when I say yes it shows me the partitions, and there are 4:
- swap 487 MB
- ext2 334 MB
- ext4 14.90 GB
- ext4 1.80 TB
The Windows partitions have disappeared and now I cannot boot neither Ubuntu nor Windows.
How could I fix this without formatting everything?
Is there a way in which I could recover those old partitions?