Results 1 to 3 of 3

Thread: [SOLVED] Grub partition table invalid or corrupt

  1. #1
    Join Date
    Apr 2008
    Location
    Cork, Ireland
    Beans
    119
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    [SOLVED] Grub partition table invalid or corrupt

    Hi

    I was dual-booting but currently my laptops hard drive seems to be totally messed up and cant boot into either windows XP or ubuntu.

    I was using kubuntu with kde4.1 but decided to change back to ubuntu as there were too many niggly things i didnt like about kde4.1. I had my home directory on a separate partition and thought that installing ubuntu wouldnt be really a problem and i could then just mount the same partition and i would still have all my files. I put in the 8.04 live CD and went into the installer. I said to format the kubuntu partition and use the other partition as home with my files in but i didnt format it. Maybe I shouldnt have done that? The installation failed. I cannot remember why now as I got distracted by my gf nagging and just cancelled the install. I thought I had just set up the install wrong and it hadnt started and i would come back to it later.

    When I went to boot my laptop i get that it is starting Grub 1.5 and then "error 5". I looked this up in the manual and it says
    "partition table invalid or corrupt. This is not good". Nothing happens after this message.

    I have essential files backed up on the pc im using now but there are still some i would like (photos and stuff) on that ext3 partition. I can get at the windows files using a live CD and get all of them. The linux partition doesnt seem to appear then when i use that though. If i go to use the installer again. The whole hard drive appears as freespace. The windows partition doesnt even show up. Any ideas?

  2. #2
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    5,098
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Grub partition table invalid or corrupt

    TestDisk - CG Security

    TestDisk is the best software for fixing a corrupted partition table.
    You can temporarily install TestDisk in your Ubuntu Live CD and it will remain as long as you have the CD booted. Otherwise, TestDisk is in Ubuntu Rescue Remix, System Rescue CD, GParted LiveCD, knoppix and many others.

    Be sure to take the time to read the documentation in the TestDisk site, TestDisk - CG Security, it is very well explained.
    Here is an additional page you can look at to see what running TestDisk might be like, TestDisk Page

    I have had a corrupted partition table twice, once from trying out too may different kinds of partitioning programs, and another time from using a CD/DVD drive with a dirty optical lense.

    TestDisk can scan your hard disk and find your partitions by searching for their first sectors and file system blocks, and it can write a brand new partition table for you based on the partitions you select.
    It has saved a lot of people's data.
    Ubuntu user since 2004 (Warty Warthog)

  3. #3
    Join Date
    Apr 2008
    Location
    Cork, Ireland
    Beans
    119
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Grub partition table invalid or corrupt

    Thanks....I managed to recover the data I was looking for. Im going to use this opportunity to give up the dual boot and totally switch. I may install Xp under vitual box this time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •