The backup GPT table is corrupt












0















I'm having an issue when trying to format a pen drive using Gparted. I am trying to create a bootable OS X installation, and for doing so I'm formating a usb drive with GPT and then creating 2 partitions: one with the UFI bootloader and other with the OS, but once it's gparted tells me that "The backup GPT table is corrupt" and does not read the second partition.



It doesn't matter the size it will always read the sdb1 and not the sdb2 (which I need access for copying the files).



Using GDISK I already corrected the GPT (so gparted does not issue an error) but the /dev/sdb2 is still not accessible, with its file system unrecognized.



Can you help with this?
Thank You!










share|improve this question














bumped to the homepage by Community 9 hours ago


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




















    0















    I'm having an issue when trying to format a pen drive using Gparted. I am trying to create a bootable OS X installation, and for doing so I'm formating a usb drive with GPT and then creating 2 partitions: one with the UFI bootloader and other with the OS, but once it's gparted tells me that "The backup GPT table is corrupt" and does not read the second partition.



    It doesn't matter the size it will always read the sdb1 and not the sdb2 (which I need access for copying the files).



    Using GDISK I already corrected the GPT (so gparted does not issue an error) but the /dev/sdb2 is still not accessible, with its file system unrecognized.



    Can you help with this?
    Thank You!










    share|improve this question














    bumped to the homepage by Community 9 hours ago


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


















      0












      0








      0








      I'm having an issue when trying to format a pen drive using Gparted. I am trying to create a bootable OS X installation, and for doing so I'm formating a usb drive with GPT and then creating 2 partitions: one with the UFI bootloader and other with the OS, but once it's gparted tells me that "The backup GPT table is corrupt" and does not read the second partition.



      It doesn't matter the size it will always read the sdb1 and not the sdb2 (which I need access for copying the files).



      Using GDISK I already corrected the GPT (so gparted does not issue an error) but the /dev/sdb2 is still not accessible, with its file system unrecognized.



      Can you help with this?
      Thank You!










      share|improve this question














      I'm having an issue when trying to format a pen drive using Gparted. I am trying to create a bootable OS X installation, and for doing so I'm formating a usb drive with GPT and then creating 2 partitions: one with the UFI bootloader and other with the OS, but once it's gparted tells me that "The backup GPT table is corrupt" and does not read the second partition.



      It doesn't matter the size it will always read the sdb1 and not the sdb2 (which I need access for copying the files).



      Using GDISK I already corrected the GPT (so gparted does not issue an error) but the /dev/sdb2 is still not accessible, with its file system unrecognized.



      Can you help with this?
      Thank You!







      13.04 dual-boot partitioning gparted






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 16 '13 at 2:37









      RaphaelMendesRaphaelMendes

      112




      112





      bumped to the homepage by Community 9 hours 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 9 hours ago


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
























          1 Answer
          1






          active

          oldest

          votes


















          0














          First, what tools and procedures did you use to get to the point of the "backup GPT table is corrupt" message, and is that error message reproducible by reproducing those steps? It could be that you did something wrong in creating the partitions, and that this is causing problems, but without knowing how you created the partition table and filesystems, that's impossible to know for sure.



          Second, if the error is reproducible and if you're using common partitioning tools (such as Disk Utility in OS X, GParted or gdisk in Linux, etc.), then it's very unlikely that you'd get a consistent and reproducible problem in the partition table. This makes me think that you may have a defective USB flash drive on your hands. I can't be sure of that, though, particularly if you used some oddball tool to create the partitions.



          Third, if a partition (such as /dev/sdb2) is inaccessible, you may need to use filesystem repair tools such as fsck on it. Further diagnosis would require knowledge of what filesystem it is (I'd guess HFS+, if you intend to put OS X on it). The output of sudo fsck /dev/sdb2 and/or sudo blkid /dev/sdb2 would be useful in further diagnosis.



          Fourth, if you're trying to create a bootable OS X disk, you should probably be doing this in OS X, not in Linux. Is there some reason you're trying to use Linux for this task?



          I recommend you edit your question to provide all this additional information; it's too much to fit in comments.






          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%2f346084%2fthe-backup-gpt-table-is-corrupt%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














            First, what tools and procedures did you use to get to the point of the "backup GPT table is corrupt" message, and is that error message reproducible by reproducing those steps? It could be that you did something wrong in creating the partitions, and that this is causing problems, but without knowing how you created the partition table and filesystems, that's impossible to know for sure.



            Second, if the error is reproducible and if you're using common partitioning tools (such as Disk Utility in OS X, GParted or gdisk in Linux, etc.), then it's very unlikely that you'd get a consistent and reproducible problem in the partition table. This makes me think that you may have a defective USB flash drive on your hands. I can't be sure of that, though, particularly if you used some oddball tool to create the partitions.



            Third, if a partition (such as /dev/sdb2) is inaccessible, you may need to use filesystem repair tools such as fsck on it. Further diagnosis would require knowledge of what filesystem it is (I'd guess HFS+, if you intend to put OS X on it). The output of sudo fsck /dev/sdb2 and/or sudo blkid /dev/sdb2 would be useful in further diagnosis.



            Fourth, if you're trying to create a bootable OS X disk, you should probably be doing this in OS X, not in Linux. Is there some reason you're trying to use Linux for this task?



            I recommend you edit your question to provide all this additional information; it's too much to fit in comments.






            share|improve this answer




























              0














              First, what tools and procedures did you use to get to the point of the "backup GPT table is corrupt" message, and is that error message reproducible by reproducing those steps? It could be that you did something wrong in creating the partitions, and that this is causing problems, but without knowing how you created the partition table and filesystems, that's impossible to know for sure.



              Second, if the error is reproducible and if you're using common partitioning tools (such as Disk Utility in OS X, GParted or gdisk in Linux, etc.), then it's very unlikely that you'd get a consistent and reproducible problem in the partition table. This makes me think that you may have a defective USB flash drive on your hands. I can't be sure of that, though, particularly if you used some oddball tool to create the partitions.



              Third, if a partition (such as /dev/sdb2) is inaccessible, you may need to use filesystem repair tools such as fsck on it. Further diagnosis would require knowledge of what filesystem it is (I'd guess HFS+, if you intend to put OS X on it). The output of sudo fsck /dev/sdb2 and/or sudo blkid /dev/sdb2 would be useful in further diagnosis.



              Fourth, if you're trying to create a bootable OS X disk, you should probably be doing this in OS X, not in Linux. Is there some reason you're trying to use Linux for this task?



              I recommend you edit your question to provide all this additional information; it's too much to fit in comments.






              share|improve this answer


























                0












                0








                0







                First, what tools and procedures did you use to get to the point of the "backup GPT table is corrupt" message, and is that error message reproducible by reproducing those steps? It could be that you did something wrong in creating the partitions, and that this is causing problems, but without knowing how you created the partition table and filesystems, that's impossible to know for sure.



                Second, if the error is reproducible and if you're using common partitioning tools (such as Disk Utility in OS X, GParted or gdisk in Linux, etc.), then it's very unlikely that you'd get a consistent and reproducible problem in the partition table. This makes me think that you may have a defective USB flash drive on your hands. I can't be sure of that, though, particularly if you used some oddball tool to create the partitions.



                Third, if a partition (such as /dev/sdb2) is inaccessible, you may need to use filesystem repair tools such as fsck on it. Further diagnosis would require knowledge of what filesystem it is (I'd guess HFS+, if you intend to put OS X on it). The output of sudo fsck /dev/sdb2 and/or sudo blkid /dev/sdb2 would be useful in further diagnosis.



                Fourth, if you're trying to create a bootable OS X disk, you should probably be doing this in OS X, not in Linux. Is there some reason you're trying to use Linux for this task?



                I recommend you edit your question to provide all this additional information; it's too much to fit in comments.






                share|improve this answer













                First, what tools and procedures did you use to get to the point of the "backup GPT table is corrupt" message, and is that error message reproducible by reproducing those steps? It could be that you did something wrong in creating the partitions, and that this is causing problems, but without knowing how you created the partition table and filesystems, that's impossible to know for sure.



                Second, if the error is reproducible and if you're using common partitioning tools (such as Disk Utility in OS X, GParted or gdisk in Linux, etc.), then it's very unlikely that you'd get a consistent and reproducible problem in the partition table. This makes me think that you may have a defective USB flash drive on your hands. I can't be sure of that, though, particularly if you used some oddball tool to create the partitions.



                Third, if a partition (such as /dev/sdb2) is inaccessible, you may need to use filesystem repair tools such as fsck on it. Further diagnosis would require knowledge of what filesystem it is (I'd guess HFS+, if you intend to put OS X on it). The output of sudo fsck /dev/sdb2 and/or sudo blkid /dev/sdb2 would be useful in further diagnosis.



                Fourth, if you're trying to create a bootable OS X disk, you should probably be doing this in OS X, not in Linux. Is there some reason you're trying to use Linux for this task?



                I recommend you edit your question to provide all this additional information; it's too much to fit in comments.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 16 '13 at 18:07









                Rod SmithRod Smith

                35.4k43970




                35.4k43970






























                    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%2f346084%2fthe-backup-gpt-table-is-corrupt%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

                    How did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局