The CRC for the main partition and back up partition table are invalidHow can I check the health of my hard drive?GPT Not mounting using “normal” GPT mounting techniques 12.04Installing Ubuntu problem “the partition assigned to starts at an offset”Can't format or delete partitions in pendrive because of GPT table errorCan't restore my gpt data with gdiskUnable to resize Win partition under Ubuntugdisk unable to write GPT tableAccidentally created new partition table for boot drivegdisk Warning: Secondary partition table overlaps the last partition by 33 blocks!8TB Hard Disk mount failedAmbigous partition table doesn' t let me partition a storage drive

Weird lines in Microsoft Word

Make a Bowl of Alphabet Soup

Why is indicated airspeed rather than ground speed used during the takeoff roll?

Should I warn a new PhD Student?

Checking @@ROWCOUNT failing

Turning a hard to access nut?

Why didn't Voldemort know what Grindelwald looked like?

Sort with assumptions

Did I make a mistake by ccing email to boss to others?

Why didn’t Eve recognize the little cockroach as a living organism?

How to get directions in deep space?

My contractor has questionable methods

Do I have to take mana from my deck or hand when tapping this card?

Non-Borel set in arbitrary metric space

Is divisi notation needed for brass or woodwind in an orchestra?

Offset in split text content

Is there a distance limit for minecart tracks?

PTIJ: Which Dr. Seuss books should one obtain?

How can a new country break out from a developed country without war?

Why does a 97 / 92 key piano exist by Bosendorfer?

Why is implicit conversion not ambiguous for non-primitive types?

What is this high flying aircraft over Pennsylvania?

Why would five hundred and five same as one?

Put the phone down / Put down the phone



The CRC for the main partition and back up partition table are invalid


How can I check the health of my hard drive?GPT Not mounting using “normal” GPT mounting techniques 12.04Installing Ubuntu problem “the partition assigned to starts at an offset”Can't format or delete partitions in pendrive because of GPT table errorCan't restore my gpt data with gdiskUnable to resize Win partition under Ubuntugdisk unable to write GPT tableAccidentally created new partition table for boot drivegdisk Warning: Secondary partition table overlaps the last partition by 33 blocks!8TB Hard Disk mount failedAmbigous partition table doesn' t let me partition a storage drive













0















I've been having problems with my HDD since I tried dual booting ubuntu 14.04 with windows 8.1. When I was installing from the ubuntu installer I was receiving "input/output error during write on /dev/sda".



I can't do anything in gdisk, it seems that both the main and the back up GPT header are corrupt. It seems that the back up header is unable to save whenever I do anything and try to write to the disk. At this point, I've already lost all my data, I don't have any of my windows partitions, and I just want to start fresh and be able to reinstall either windows or linux. Any help is greatly appreciated



When I try using fdisk:




$ sudo fdisk /dev/sda




I get "The backup GPT table is corrupt, but the primary appears OK, so that will be used."
I tried to use




g create a new empty GPT partition table




and




w write table to disk and exit




I get "failed to write disklabel: Input/output error"




v verify the partition table




I get




No errors detected.



Header version: 1.0



Using 0 out of 128 partitions.



A total of 1953525101 free sectors is available in 1 segment.




using gdisk:




$ sudo gdisk /dev/sda




I receive




Warning! Error 5 reading partition table for CRC check!



Warning! One or more CRCs don't match. You should repair the disk!



Partition table scan:



MBR: protective



BSD: not present



APM: not present



GPT: damaged




Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.






when I enter v to verify my disk i get




Caution: The CRC for the backup partition table is invalid. This table may



be corrupt. This program will automatically create a new backup partition



table when you save your partitions.



Identified 1 problems!




I have tried loading back up and main gpt tables but no matter what I do, when I enter w to write table to disk and exit I receive this error:




Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.



Warning! An error was reported when writing the partition table! This error



MIGHT be harmless, or the disk might be damaged! Checking it is advisable.











share|improve this question














bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • More detailed errors about the "IO error" can be found after by running dmesg, but most likely, your drive is failing.

    – psusi
    Jun 7 '15 at 23:31















0















I've been having problems with my HDD since I tried dual booting ubuntu 14.04 with windows 8.1. When I was installing from the ubuntu installer I was receiving "input/output error during write on /dev/sda".



I can't do anything in gdisk, it seems that both the main and the back up GPT header are corrupt. It seems that the back up header is unable to save whenever I do anything and try to write to the disk. At this point, I've already lost all my data, I don't have any of my windows partitions, and I just want to start fresh and be able to reinstall either windows or linux. Any help is greatly appreciated



When I try using fdisk:




$ sudo fdisk /dev/sda




I get "The backup GPT table is corrupt, but the primary appears OK, so that will be used."
I tried to use




g create a new empty GPT partition table




and




w write table to disk and exit




I get "failed to write disklabel: Input/output error"




v verify the partition table




I get




No errors detected.



Header version: 1.0



Using 0 out of 128 partitions.



A total of 1953525101 free sectors is available in 1 segment.




using gdisk:




$ sudo gdisk /dev/sda




I receive




Warning! Error 5 reading partition table for CRC check!



Warning! One or more CRCs don't match. You should repair the disk!



Partition table scan:



MBR: protective



BSD: not present



APM: not present



GPT: damaged




Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.






when I enter v to verify my disk i get




Caution: The CRC for the backup partition table is invalid. This table may



be corrupt. This program will automatically create a new backup partition



table when you save your partitions.



Identified 1 problems!




I have tried loading back up and main gpt tables but no matter what I do, when I enter w to write table to disk and exit I receive this error:




Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.



Warning! An error was reported when writing the partition table! This error



MIGHT be harmless, or the disk might be damaged! Checking it is advisable.











share|improve this question














bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • More detailed errors about the "IO error" can be found after by running dmesg, but most likely, your drive is failing.

    – psusi
    Jun 7 '15 at 23:31













0












0








0


1






I've been having problems with my HDD since I tried dual booting ubuntu 14.04 with windows 8.1. When I was installing from the ubuntu installer I was receiving "input/output error during write on /dev/sda".



I can't do anything in gdisk, it seems that both the main and the back up GPT header are corrupt. It seems that the back up header is unable to save whenever I do anything and try to write to the disk. At this point, I've already lost all my data, I don't have any of my windows partitions, and I just want to start fresh and be able to reinstall either windows or linux. Any help is greatly appreciated



When I try using fdisk:




$ sudo fdisk /dev/sda




I get "The backup GPT table is corrupt, but the primary appears OK, so that will be used."
I tried to use




g create a new empty GPT partition table




and




w write table to disk and exit




I get "failed to write disklabel: Input/output error"




v verify the partition table




I get




No errors detected.



Header version: 1.0



Using 0 out of 128 partitions.



A total of 1953525101 free sectors is available in 1 segment.




using gdisk:




$ sudo gdisk /dev/sda




I receive




Warning! Error 5 reading partition table for CRC check!



Warning! One or more CRCs don't match. You should repair the disk!



Partition table scan:



MBR: protective



BSD: not present



APM: not present



GPT: damaged




Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.






when I enter v to verify my disk i get




Caution: The CRC for the backup partition table is invalid. This table may



be corrupt. This program will automatically create a new backup partition



table when you save your partitions.



Identified 1 problems!




I have tried loading back up and main gpt tables but no matter what I do, when I enter w to write table to disk and exit I receive this error:




Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.



Warning! An error was reported when writing the partition table! This error



MIGHT be harmless, or the disk might be damaged! Checking it is advisable.











share|improve this question














I've been having problems with my HDD since I tried dual booting ubuntu 14.04 with windows 8.1. When I was installing from the ubuntu installer I was receiving "input/output error during write on /dev/sda".



I can't do anything in gdisk, it seems that both the main and the back up GPT header are corrupt. It seems that the back up header is unable to save whenever I do anything and try to write to the disk. At this point, I've already lost all my data, I don't have any of my windows partitions, and I just want to start fresh and be able to reinstall either windows or linux. Any help is greatly appreciated



When I try using fdisk:




$ sudo fdisk /dev/sda




I get "The backup GPT table is corrupt, but the primary appears OK, so that will be used."
I tried to use




g create a new empty GPT partition table




and




w write table to disk and exit




I get "failed to write disklabel: Input/output error"




v verify the partition table




I get




No errors detected.



Header version: 1.0



Using 0 out of 128 partitions.



A total of 1953525101 free sectors is available in 1 segment.




using gdisk:




$ sudo gdisk /dev/sda




I receive




Warning! Error 5 reading partition table for CRC check!



Warning! One or more CRCs don't match. You should repair the disk!



Partition table scan:



MBR: protective



BSD: not present



APM: not present



GPT: damaged




Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.






when I enter v to verify my disk i get




Caution: The CRC for the backup partition table is invalid. This table may



be corrupt. This program will automatically create a new backup partition



table when you save your partitions.



Identified 1 problems!




I have tried loading back up and main gpt tables but no matter what I do, when I enter w to write table to disk and exit I receive this error:




Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.



Warning! An error was reported when writing the partition table! This error



MIGHT be harmless, or the disk might be damaged! Checking it is advisable.








partitioning hard-drive uefi gpt fdisk






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 7 '15 at 17:43









JacobJacob

111




111





bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • More detailed errors about the "IO error" can be found after by running dmesg, but most likely, your drive is failing.

    – psusi
    Jun 7 '15 at 23:31

















  • More detailed errors about the "IO error" can be found after by running dmesg, but most likely, your drive is failing.

    – psusi
    Jun 7 '15 at 23:31
















More detailed errors about the "IO error" can be found after by running dmesg, but most likely, your drive is failing.

– psusi
Jun 7 '15 at 23:31





More detailed errors about the "IO error" can be found after by running dmesg, but most likely, your drive is failing.

– psusi
Jun 7 '15 at 23:31










1 Answer
1






active

oldest

votes


















0














It sounds like you're encountering I/O errors. Such problems are usually caused by failing hardware. If you're lucky, this might be something simple and cheap to fix like a loose or defective cable. It could also be a failing hard disk, though. I recommend you run a SMART test on your hard disk. If you need help interpreting the results, post back with details. (Edit your question to include a screen shot or paste text-mode output to a pastebin site and post the URL to your document here.)



I/O errors can also be caused by buggy drivers. This is pretty rare, though. If your problems occur only in one OS, that might be the explanation.



Yet another possibility is that the Host Protected Area (HPA) may be set. This can sometimes cause problems, especially if you mix older and newer Linux kernels, since some older kernels ignore the HPA, causing a mis-match in perceived disk size and where GPT backup data structures reside. I don't think this hypothesis explains your symptoms all that well, but it's worth mentioning. You can type sudo hdparm -N /dev/sda to see if HPA is enabled on /dev/sda.






share|improve this answer
























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f633465%2fthe-crc-for-the-main-partition-and-back-up-partition-table-are-invalid%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It sounds like you're encountering I/O errors. Such problems are usually caused by failing hardware. If you're lucky, this might be something simple and cheap to fix like a loose or defective cable. It could also be a failing hard disk, though. I recommend you run a SMART test on your hard disk. If you need help interpreting the results, post back with details. (Edit your question to include a screen shot or paste text-mode output to a pastebin site and post the URL to your document here.)



    I/O errors can also be caused by buggy drivers. This is pretty rare, though. If your problems occur only in one OS, that might be the explanation.



    Yet another possibility is that the Host Protected Area (HPA) may be set. This can sometimes cause problems, especially if you mix older and newer Linux kernels, since some older kernels ignore the HPA, causing a mis-match in perceived disk size and where GPT backup data structures reside. I don't think this hypothesis explains your symptoms all that well, but it's worth mentioning. You can type sudo hdparm -N /dev/sda to see if HPA is enabled on /dev/sda.






    share|improve this answer





























      0














      It sounds like you're encountering I/O errors. Such problems are usually caused by failing hardware. If you're lucky, this might be something simple and cheap to fix like a loose or defective cable. It could also be a failing hard disk, though. I recommend you run a SMART test on your hard disk. If you need help interpreting the results, post back with details. (Edit your question to include a screen shot or paste text-mode output to a pastebin site and post the URL to your document here.)



      I/O errors can also be caused by buggy drivers. This is pretty rare, though. If your problems occur only in one OS, that might be the explanation.



      Yet another possibility is that the Host Protected Area (HPA) may be set. This can sometimes cause problems, especially if you mix older and newer Linux kernels, since some older kernels ignore the HPA, causing a mis-match in perceived disk size and where GPT backup data structures reside. I don't think this hypothesis explains your symptoms all that well, but it's worth mentioning. You can type sudo hdparm -N /dev/sda to see if HPA is enabled on /dev/sda.






      share|improve this answer



























        0












        0








        0







        It sounds like you're encountering I/O errors. Such problems are usually caused by failing hardware. If you're lucky, this might be something simple and cheap to fix like a loose or defective cable. It could also be a failing hard disk, though. I recommend you run a SMART test on your hard disk. If you need help interpreting the results, post back with details. (Edit your question to include a screen shot or paste text-mode output to a pastebin site and post the URL to your document here.)



        I/O errors can also be caused by buggy drivers. This is pretty rare, though. If your problems occur only in one OS, that might be the explanation.



        Yet another possibility is that the Host Protected Area (HPA) may be set. This can sometimes cause problems, especially if you mix older and newer Linux kernels, since some older kernels ignore the HPA, causing a mis-match in perceived disk size and where GPT backup data structures reside. I don't think this hypothesis explains your symptoms all that well, but it's worth mentioning. You can type sudo hdparm -N /dev/sda to see if HPA is enabled on /dev/sda.






        share|improve this answer















        It sounds like you're encountering I/O errors. Such problems are usually caused by failing hardware. If you're lucky, this might be something simple and cheap to fix like a loose or defective cable. It could also be a failing hard disk, though. I recommend you run a SMART test on your hard disk. If you need help interpreting the results, post back with details. (Edit your question to include a screen shot or paste text-mode output to a pastebin site and post the URL to your document here.)



        I/O errors can also be caused by buggy drivers. This is pretty rare, though. If your problems occur only in one OS, that might be the explanation.



        Yet another possibility is that the Host Protected Area (HPA) may be set. This can sometimes cause problems, especially if you mix older and newer Linux kernels, since some older kernels ignore the HPA, causing a mis-match in perceived disk size and where GPT backup data structures reside. I don't think this hypothesis explains your symptoms all that well, but it's worth mentioning. You can type sudo hdparm -N /dev/sda to see if HPA is enabled on /dev/sda.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 12:24









        Community

        1




        1










        answered Jun 7 '15 at 22:44









        Rod SmithRod Smith

        35.7k43970




        35.7k43970



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f633465%2fthe-crc-for-the-main-partition-and-back-up-partition-table-are-invalid%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

            fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap