Format a corrupted SD cardMount problem with 64gb microSDXCSd card is readable but,not able to write or format the cardCompletely delete SD card files partition/formatFormat the sd card with dd commandSD card won't formatNot able to format SD card

dpkg and egrep on Ubuntu 18

Foiled Bank Robbery

Is rent considered a debt?

Is This Constraint Convex?

How to record this drawing effect?

Best way to drill square tubing (Without drill press)

If you have multiple planeswalkers, how many of their loyalty abilities can you use in a single turn?

How can I more clearly ask people to accomodate for my autism?

Who is Alice referring to when she was talking to Kate?

Length-terminated sequences

Employer says they want Quality & Quantity, but only pays bonuses based on the latter

Holding cost vs carrying cost vs storage cost

Are homeless people protected by antidiscrimination laws?

Why would shrinking TEMPDB log lead to slowness?

Which (if any) is the "most major" airport / field / strip on Antarctica?

How to distinguish between different instruments in a classical orchestra?

Find the closest enemy

How are hillsides farmed?

Are commoners actually this squishy?

A word/phrase means "a small amount" (of a color)

Is 写真 an onomatopoeia?

Is Jupiter bright enough to be seen in color by the naked eye from Jupiter orbit?

Problem with a commutative diagram

Would there be a difference between boiling whole black peppercorns or fine ground black pepp in a stew?



Format a corrupted SD card


Mount problem with 64gb microSDXCSd card is readable but,not able to write or format the cardCompletely delete SD card files partition/formatFormat the sd card with dd commandSD card won't formatNot able to format SD card






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I was making a bootable SD card for my raspberry pi on ubuntu 18.04 and accidentally I put my computer to sleep. I ended up running my SD card, it doesn't want to format nether be partitioned, I tried using Gparted with no results: there is a red exclamation sign next to a EXT4 partition name.
I event tried to use the command:



sudo mkfs.vfat -F32 -v /dev/mmcblk0p2


It displays this and get stuck:



/dev/mmcblk0p2 has 4 heads and 16 sectors per track,
hidden sectors 0x18000;
logical sector size is 512,
using 0xf8 media descriptor, with 10452992 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 10192 sectors, and provides 1304072 clusters.
There are 32 reserved sectors.
Volume ID is 0538c1e1, no volume label.


Is there a way to fix my SD card ?
Thank you for trying to help.
Have a nice day.










share|improve this question


























  • Can you access it with cfdisk /dev/mmcblk0 (not the partition, the whole drive)?

    – Fiximan
    May 29 at 14:33






  • 1





    I always use dd to write zeros to the first 100MB or so of any device (USB stick, SD card, HDD) that has a screwed up partition table. Then I reboot and use gparted.

    – Android Dev
    May 29 at 14:46


















0

















I was making a bootable SD card for my raspberry pi on ubuntu 18.04 and accidentally I put my computer to sleep. I ended up running my SD card, it doesn't want to format nether be partitioned, I tried using Gparted with no results: there is a red exclamation sign next to a EXT4 partition name.
I event tried to use the command:



sudo mkfs.vfat -F32 -v /dev/mmcblk0p2


It displays this and get stuck:



/dev/mmcblk0p2 has 4 heads and 16 sectors per track,
hidden sectors 0x18000;
logical sector size is 512,
using 0xf8 media descriptor, with 10452992 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 10192 sectors, and provides 1304072 clusters.
There are 32 reserved sectors.
Volume ID is 0538c1e1, no volume label.


Is there a way to fix my SD card ?
Thank you for trying to help.
Have a nice day.










share|improve this question


























  • Can you access it with cfdisk /dev/mmcblk0 (not the partition, the whole drive)?

    – Fiximan
    May 29 at 14:33






  • 1





    I always use dd to write zeros to the first 100MB or so of any device (USB stick, SD card, HDD) that has a screwed up partition table. Then I reboot and use gparted.

    – Android Dev
    May 29 at 14:46














0












0








0








I was making a bootable SD card for my raspberry pi on ubuntu 18.04 and accidentally I put my computer to sleep. I ended up running my SD card, it doesn't want to format nether be partitioned, I tried using Gparted with no results: there is a red exclamation sign next to a EXT4 partition name.
I event tried to use the command:



sudo mkfs.vfat -F32 -v /dev/mmcblk0p2


It displays this and get stuck:



/dev/mmcblk0p2 has 4 heads and 16 sectors per track,
hidden sectors 0x18000;
logical sector size is 512,
using 0xf8 media descriptor, with 10452992 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 10192 sectors, and provides 1304072 clusters.
There are 32 reserved sectors.
Volume ID is 0538c1e1, no volume label.


Is there a way to fix my SD card ?
Thank you for trying to help.
Have a nice day.










share|improve this question















I was making a bootable SD card for my raspberry pi on ubuntu 18.04 and accidentally I put my computer to sleep. I ended up running my SD card, it doesn't want to format nether be partitioned, I tried using Gparted with no results: there is a red exclamation sign next to a EXT4 partition name.
I event tried to use the command:



sudo mkfs.vfat -F32 -v /dev/mmcblk0p2


It displays this and get stuck:



/dev/mmcblk0p2 has 4 heads and 16 sectors per track,
hidden sectors 0x18000;
logical sector size is 512,
using 0xf8 media descriptor, with 10452992 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 10192 sectors, and provides 1304072 clusters.
There are 32 reserved sectors.
Volume ID is 0538c1e1, no volume label.


Is there a way to fix my SD card ?
Thank you for trying to help.
Have a nice day.







sd-card






share|improve this question














share|improve this question











share|improve this question




share|improve this question










asked May 29 at 14:27









silverpointsilverpoint

1




1















  • Can you access it with cfdisk /dev/mmcblk0 (not the partition, the whole drive)?

    – Fiximan
    May 29 at 14:33






  • 1





    I always use dd to write zeros to the first 100MB or so of any device (USB stick, SD card, HDD) that has a screwed up partition table. Then I reboot and use gparted.

    – Android Dev
    May 29 at 14:46


















  • Can you access it with cfdisk /dev/mmcblk0 (not the partition, the whole drive)?

    – Fiximan
    May 29 at 14:33






  • 1





    I always use dd to write zeros to the first 100MB or so of any device (USB stick, SD card, HDD) that has a screwed up partition table. Then I reboot and use gparted.

    – Android Dev
    May 29 at 14:46

















Can you access it with cfdisk /dev/mmcblk0 (not the partition, the whole drive)?

– Fiximan
May 29 at 14:33





Can you access it with cfdisk /dev/mmcblk0 (not the partition, the whole drive)?

– Fiximan
May 29 at 14:33




1




1





I always use dd to write zeros to the first 100MB or so of any device (USB stick, SD card, HDD) that has a screwed up partition table. Then I reboot and use gparted.

– Android Dev
May 29 at 14:46






I always use dd to write zeros to the first 100MB or so of any device (USB stick, SD card, HDD) that has a screwed up partition table. Then I reboot and use gparted.

– Android Dev
May 29 at 14:46











1 Answer
1






active

oldest

votes


















0


















dd if=/dev/zero of=/dev/sd* bs=512 count=32 should clear your partition table. Then you should be able to use gparted. Replace /dev/sd* with your device (not your partition. e.g: /dev/sda, not /dev/sda1) MAKE SHURE YOU USE THE CORRECT DEVICE FOR of=... OR BAD THINGS WILL HAPPEN.






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/4.0/"u003ecc by-sa 4.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%2f1147141%2fformat-a-corrupted-sd-card%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


















    dd if=/dev/zero of=/dev/sd* bs=512 count=32 should clear your partition table. Then you should be able to use gparted. Replace /dev/sd* with your device (not your partition. e.g: /dev/sda, not /dev/sda1) MAKE SHURE YOU USE THE CORRECT DEVICE FOR of=... OR BAD THINGS WILL HAPPEN.






    share|improve this answer






























      0


















      dd if=/dev/zero of=/dev/sd* bs=512 count=32 should clear your partition table. Then you should be able to use gparted. Replace /dev/sd* with your device (not your partition. e.g: /dev/sda, not /dev/sda1) MAKE SHURE YOU USE THE CORRECT DEVICE FOR of=... OR BAD THINGS WILL HAPPEN.






      share|improve this answer




























        0














        0










        0









        dd if=/dev/zero of=/dev/sd* bs=512 count=32 should clear your partition table. Then you should be able to use gparted. Replace /dev/sd* with your device (not your partition. e.g: /dev/sda, not /dev/sda1) MAKE SHURE YOU USE THE CORRECT DEVICE FOR of=... OR BAD THINGS WILL HAPPEN.






        share|improve this answer














        dd if=/dev/zero of=/dev/sd* bs=512 count=32 should clear your partition table. Then you should be able to use gparted. Replace /dev/sd* with your device (not your partition. e.g: /dev/sda, not /dev/sda1) MAKE SHURE YOU USE THE CORRECT DEVICE FOR of=... OR BAD THINGS WILL HAPPEN.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered May 29 at 19:13









        noeppi noeppinoeppi noeppi

        1034 bronze badges




        1034 bronze badges































            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%2f1147141%2fformat-a-corrupted-sd-card%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

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?