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;
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
add a comment
|
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
Can you access it withcfdisk /dev/mmcblk0
(not the partition, the whole drive)?
– Fiximan
May 29 at 14:33
1
I always usedd
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 usegparted
.
– Android Dev
May 29 at 14:46
add a comment
|
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
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
sd-card
asked May 29 at 14:27
silverpointsilverpoint
1
1
Can you access it withcfdisk /dev/mmcblk0
(not the partition, the whole drive)?
– Fiximan
May 29 at 14:33
1
I always usedd
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 usegparted
.
– Android Dev
May 29 at 14:46
add a comment
|
Can you access it withcfdisk /dev/mmcblk0
(not the partition, the whole drive)?
– Fiximan
May 29 at 14:33
1
I always usedd
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 usegparted
.
– 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
add a comment
|
1 Answer
1
active
oldest
votes
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.
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment
|
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.
add a comment
|
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.
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.
answered May 29 at 19:13
noeppi noeppinoeppi noeppi
1034 bronze badges
1034 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 usegparted
.– Android Dev
May 29 at 14:46