Suddenly, I found out that; my GPT Partition Table is invalid.
I don't exactly know why it happened at this time.
I can boot into first 4 partitions, but not the ones after that (5,6,7)
Code:
root@PartedMagic:~# gptsync /dev/sda
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 464805887 Basic Data
3 464807936 709003263 Basic Data
4 709003264 953196543 Mac OS X HFS+
5 953198592 975953919 Basic Data
6 975953920 976363519 Basic Data
7 976363520 976773119 Basic Data
33 8935142204016934589 1208516115580653323 Unknown
34 -9223232948424863410 -8868853539174448113 Unknown
35 6492727242756483169 -3674936763342981582 Unknown
36 8386109761144168551 8391184066093215337 Unknown
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 * 409640 464805887 07 NTFS/HPFS
3 464807936 709003263 07 NTFS/HPFS
4 709003264 953196543 af Mac OS X HFS+
At the end of that that STATUS: GPT Partition Table is invalid.
Those partitions 2 and 3 is NTFS and 5,6, and 7 should be ext4 and there shouldn't be any 33,34,35, and 36. (I can boot into 2,3, and 4 at the moment).
Is there any way that I can fix this?
UPDATE:If anyone encounters the same problem (And who has a bootloader other than the first partition):
The first partition was 200mb FAT32 formatted GPT Protective Partition.
I formatted this partition to FAT32 again.
And then run gptsync.
I did both actions from GParted, but you can use any other tool to format the partition and sync the MBR I guess.
I was so worried because I couldn't boot to partitions over 4 and also; I couldn't even get Clonezilla to see the partitions 3 and 4 to clone them. It just saw 1 and 2.Anyway, in my case, the problem got solved.