ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Fix and Repair Partition Table linux and windows

Updated on June 24, 2012

How to Repair Partition Table

Many of us love to play around with our boxes and customize it to our liking. I love to give my box the best possible look with the best software underlying it. But even in the finest environment and with utmost care, sometimes computers behave in ways we don't want them to. I love Linux and always keep on trying the newest distributions. One of the most common problems that one can face while playing with Linux distributions is a partition table error. Partition table is basically meta-data stored on the first sector of a hard-disk that contains information about the disks partitions such as type, capacity and whether its primary or logical, etc.

Partition table can be corrupted due to many reasons like a boot-sector virus, an unsuccessful operating-system installation and even by certain softwares. I've encountered the situation many times when an installation is incomplete or unsuccessful and I get a bad partition table. And I tell you a bad partition table can really cause you a lot of headache!

Possible Effects of a Bad Partition Table :

  1. Linux fails to detect any partitions.

  2. Linux fails to install properly. The installation goes up to where it'll say that installation is complete but when you reboot, you don't see any OS entry in the boot-loader.

  3. You are unable to boot the computer.

  4. You are unable to do certain operations with your partitions such as shrinking or resizing.

Here's how the problem starts:

Suppose you have Microsoft windows on your computer, and you're trying to install a new Linux say Ubuntu. But Ubuntu fails to install (I know....mostly Ubuntu doesn't fail, but its just an assumption) and it leaves your computer in a very undesired state where your partition table is corrupted, the windows boot-loader has been overwritten and the Ubuntu won't boot .

Now Ubuntu will not even reinstall because it can't detect the partitions on the hard-disk. When you boot up the live CD and run the installer, it says that for installation to take place, the partition table needs to be initialized, deleting all data on the hard-disk. Most of us won't like to do that unless we have a hard-disk backup image. So the last resort for you is to somehow repair the partition table!

Here's how to fix it:

1. Going back to where you started :

Reinstalling windows is one of the ways to fix it because Windows can read the disk partitions even when the partition table is corrupt(yes, somehow it does, provided your MBR is otherwise intact). But you don't want this as a possible makeover because it will wipe out your existing installation of Windows. Moreover, although Windows will install, you may not be able to install Linux over it until the partition-table is fixed. So you'll be back in the position where you started – installing Linux over Windows.

2. Partition Table Doctor comes to the Rescue :

Now that you've Windows installed, you can run many partition-table recovery softwares among which, PTD is the best. PTD can really fix partition tables. You need the full version to save any changes you do with PTD. Choose the option that says 'Rebuild Partition Table'(if I remember it correctly). It'll take only a few minutes to detect the existing partitions and only a few seconds to rebuild the partition-table.

3. GParted Comes to the Rescue

Sometimes fixing the partition table using PTD doesn't help(as was the case with me), in that case Gparted can be of great help. Gparted is a free software and it comes bundled with several Linux live CD's including Ubuntu. You can also run Gparted from a live CD. All you have to do with Gparted to fix the broken partition-table is to do some changes like edit or shrink a partition, create a new one out of existing space or so. Then save the changes to the disk. Reboot and now you shall be set free!

Happy Linuxing Guys.


Active@ Partition recovery is also an easy way to repair your partition table. You just need to download Active@ partition recovery and run the quick scan or super scan depending on how bad your partition's health is (which is depending on how many times you have overwritten data on the same sectors of the hard-disk), and choose the partition to repair. It takes just a few seconds to restore the partition information.

It will even tell you if any of your current partitions would be overwritten when restoring an old one! If such is the case with your PC, don't lose hope, you can still recover the contents of the partition by making a raw data image of the partition. It takes a while (a few hours actually) to write the partition image using this method but it restores all your data and doesn't even change your current partitioning setup.


    0 of 8192 characters used
    Post Comment
    • profile image


      4 years ago

      Hello to all, the contents existing at this site are in fact remarkable for people knowledge, well, keep up the nice work fellows. bddkdaddkaag

    • profile image


      4 years ago

      I like this weblog so considerably, saved to my bookmarks. kcadkeckgedb

    • Andy Dick profile image

      Andrew Richard Henke 

      6 years ago from La Crosse, WI

      Good Info! As far as partitioning tools go, I have always used Parted Magic. It's a boot-able ISO that is only around 300-400 MB and it runs entirely from RAM. Not only does it include Gparted, but it also includes many other useful utilities. It is completely free and available to download at

    • profile image


      6 years ago

      I wanted to learn this; but I got caught up on Betta's

    • profile image


      6 years ago

      Wow ....that is some powerful article thanks a million you're gold

    • profile image

      Nitin Pant 

      6 years ago


    • profile image


      6 years ago

      When I tried to install linux with dual boot I could not do this as the installer could not see Windows partitions. For a long time I was looking for an explanaition and could not find any. Until I came across this article.

      Using EaseUs Partition Recovery tool (Advanced PTD), I solved the problem. It seemed to be exactly that case of damaged partition table where this did no affect Windows operation.

      Thanks a lot!

    • profile image


      7 years ago

      Thanks for this, my partition got messed up on my external HDD therefore been looking for a way to fix it. i'm busy downloading Gparted right now hopefully this will fix it.

    • profile image


      8 years ago

      Thanks Nitin, for this very excellent clear guide. i am going nuts with my Windows 7 installation that has somehow lost its partition table. A PhD in philosophy, which I have, did not help but your guide did! Kudos!!


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)