LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2012, 09:25 PM   #1
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Rep: Reputation: Disabled
How to fix "GPT Partition Table is invalid"?


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.

Last edited by imayneed; 08-08-2012 at 11:10 AM. Reason: Update
 
Old 08-08-2012, 02:57 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Glad to see you fixed it.

Found this article, it might be of some help when more users have GPT disks.

-->http://www.rodsbooks.com/gdisk/repairing.html
 
Old 08-08-2012, 06:24 PM   #3
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
Thank you.

I should have posted that link too.
I have read it. Good informative page.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can not boot into window(if i select windows from option "invalid partition table" janakiramulu Linux - Newbie 5 03-09-2011 04:15 AM
[SOLVED] "WARNING: Re-reading the partition table failed with error 22: Invalid argument." ytd Linux - Newbie 6 01-26-2010 11:06 AM
"invalid partition table" that was the bios messege after dual booting with windows suppie Linux - General 2 01-20-2006 06:41 PM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration