low level format micro sdcardFormat sdcard and read superblock issueLow level format of hard driveCannot...

Is there a lava-breathing lizard creature (that could be worshipped by a cult) in 5e?

Why would space fleets be aligned?

Plausible reason for gold-digging ant

After checking in online, how do I know whether I need to go show my passport at airport check-in?

Boss asked me to sign a resignation paper without a date on it along with my new contract

Existence of Riemann surface, holomorphic maps

Why are the books in the Game of Thrones citadel library shelved spine inwards?

How to assess the long-term stability of a college as part of a job search

Cat is tipping over bed-side lamps during the night

Eww, those bytes are gross

Airplane generations - how does it work?

Why didn't Tom Riddle take the presence of Fawkes and the Sorting Hat as more of a threat?

Why did Luke use his left hand to shoot?

Changing the laptop's CPU. Should I reinstall Linux?

How to deal with possible delayed baggage?

What happens when the wearer of a Shield of Missile Attraction is behind total cover?

Separate environment for personal and development use under macOS

How does Leonard in "Memento" remember reading and writing?

How to politely refuse in-office gym instructor for steroids and protein

TikZ graph edges not drawn nicely

What is the difference between "...", '...', $'...', and $"..." quotes?

Has Britain negotiated with any other countries outside the EU in preparation for the exit?

Short story where statues have their heads replaced by those of carved insect heads

What will happen if Parliament votes "no" on each of the Brexit-related votes to be held on the 12th, 13th and 14th of March?



low level format micro sdcard


Format sdcard and read superblock issueLow level format of hard driveCannot format micro sd cardUSB pen (Kingston 16GB) is not detecting / mount in the system (Ubuntu 12.10 or Windows)Unable to Format USB DriveError in formatting corrupted Micro Sd CardCan't format sdcard(Low Level Format?) Encrypted Hidden Partition On USB DiscCant erase or format samsung microsdfail create ext4 filesystem on micro sd card













0















I have a 64GB micro sdcard which was removed from an android phone without unmounting (could not find unmount after upgrade to android 7.1,they tried to make it easy and intuitive - it is an eject icon, 6 levels deep in the menu, so cannot be found by search for "unmount")



now the sdcard can be mounted and unmounted, data can be copied from it, but writing to it, deleting files or formatting it or writing new partition table is no longer possible;
deleting files appears to work, but after unmount and mount again, everything is back to the way it was when it first started erroring out while copying files to the micro sdcard from linux; so writing to the card worked for a few mount/unmount cycles after taking the card out of the android phone without unmount;



trying to format it in the android phone errors out;
in a camera, it says memory card locked;
in ubuntu 18.04:



lsblk
mmcblk1 179:24 0 59.5G 0 disk
└─mmcblk1p1 179:25 0 59.5G 0 part



sudo gparted
Create Partition Table
Input/output error during write on /dev/mmcblk1



sudo hdparm -I /dev/mmcblk1p1
/dev/mmcblk1p1:
HDIO_DRIVE_CMD(identify) failed: Invalid argument



sudo hdparm -I /dev/mmcblk1
/dev/mmcblk1:
HDIO_DRIVE_CMD(identify) failed: Invalid argument



sudo hdparm -v /dev/mmcblk1
/dev/mmcblk1:
HDIO_DRIVE_CMD(identify) failed: Invalid argument
readonly = 0 (off)
readahead = 256 (on)
geometry = 1949664/4/16, sectors = 124778496, start = 0



sudo hdparm -L 0 /dev/mmcblk1p1
/dev/mmcblk1p1:
setting drive doorlock to 0 (off)
HDIO_DRIVE_CMD(doorlock) failed: Invalid argument



sudo gnome-disks
Error while repairing filesystem
on dev/mmcblk1p1
Process reported exit code 1: fsck.fat 4.1(2017-01-24) (udisks-error-quark, 0)



sudo fsck /dev/mmcblk1p1
fsck from util-linux 2.31.1
fsck.fat 4.1 (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Perform changes ? (y/n) y



fsck does not error out, but running it again, everything is back as before.



sudo mkfs.vfat -n 64 /dev/mmcblk1p1
mkfs.fat 4.1 (2017-01-24)



format does not error out, but when mounting again, everything is back as before.



testdisk
Disk /dev/mmcblk1 - 63 GB / 59 GiB - CHS 1949664 4 16
Current partition structure:
Partition Start End Size in sectors
1 * FAT32 LBA 32 0 1 1949663 3 16 124776448 [64d]
Warning: Bad starting sector (CHS and LBA don't match)



sudo dd if=/dev/zero of=/dev/mmcblk1 bs=512 seek=1



stopped it by control-c after 4GB, still no changes, files are still there, cannot write to micro sdcard



Basically, it seems that formatting, gparted writing a new partition table, fsck clearing the dirty bit, even writing with dd, all have no effect.
The micro sdcard is not physically damaged, mount/unmounts just fine, which is why I thought that formatting it, and if not, then using gparted to write a new partition table should totally clear it and make it like new again.
What am I missing? Why can't I format it? It is as if it has some settings in there which cannot be accessed by these tools; it is a transcend micro sdcard









share



























    0















    I have a 64GB micro sdcard which was removed from an android phone without unmounting (could not find unmount after upgrade to android 7.1,they tried to make it easy and intuitive - it is an eject icon, 6 levels deep in the menu, so cannot be found by search for "unmount")



    now the sdcard can be mounted and unmounted, data can be copied from it, but writing to it, deleting files or formatting it or writing new partition table is no longer possible;
    deleting files appears to work, but after unmount and mount again, everything is back to the way it was when it first started erroring out while copying files to the micro sdcard from linux; so writing to the card worked for a few mount/unmount cycles after taking the card out of the android phone without unmount;



    trying to format it in the android phone errors out;
    in a camera, it says memory card locked;
    in ubuntu 18.04:



    lsblk
    mmcblk1 179:24 0 59.5G 0 disk
    └─mmcblk1p1 179:25 0 59.5G 0 part



    sudo gparted
    Create Partition Table
    Input/output error during write on /dev/mmcblk1



    sudo hdparm -I /dev/mmcblk1p1
    /dev/mmcblk1p1:
    HDIO_DRIVE_CMD(identify) failed: Invalid argument



    sudo hdparm -I /dev/mmcblk1
    /dev/mmcblk1:
    HDIO_DRIVE_CMD(identify) failed: Invalid argument



    sudo hdparm -v /dev/mmcblk1
    /dev/mmcblk1:
    HDIO_DRIVE_CMD(identify) failed: Invalid argument
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 1949664/4/16, sectors = 124778496, start = 0



    sudo hdparm -L 0 /dev/mmcblk1p1
    /dev/mmcblk1p1:
    setting drive doorlock to 0 (off)
    HDIO_DRIVE_CMD(doorlock) failed: Invalid argument



    sudo gnome-disks
    Error while repairing filesystem
    on dev/mmcblk1p1
    Process reported exit code 1: fsck.fat 4.1(2017-01-24) (udisks-error-quark, 0)



    sudo fsck /dev/mmcblk1p1
    fsck from util-linux 2.31.1
    fsck.fat 4.1 (2017-01-24)
    0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
    1) Remove dirty bit
    2) No action
    ? 1
    Perform changes ? (y/n) y



    fsck does not error out, but running it again, everything is back as before.



    sudo mkfs.vfat -n 64 /dev/mmcblk1p1
    mkfs.fat 4.1 (2017-01-24)



    format does not error out, but when mounting again, everything is back as before.



    testdisk
    Disk /dev/mmcblk1 - 63 GB / 59 GiB - CHS 1949664 4 16
    Current partition structure:
    Partition Start End Size in sectors
    1 * FAT32 LBA 32 0 1 1949663 3 16 124776448 [64d]
    Warning: Bad starting sector (CHS and LBA don't match)



    sudo dd if=/dev/zero of=/dev/mmcblk1 bs=512 seek=1



    stopped it by control-c after 4GB, still no changes, files are still there, cannot write to micro sdcard



    Basically, it seems that formatting, gparted writing a new partition table, fsck clearing the dirty bit, even writing with dd, all have no effect.
    The micro sdcard is not physically damaged, mount/unmounts just fine, which is why I thought that formatting it, and if not, then using gparted to write a new partition table should totally clear it and make it like new again.
    What am I missing? Why can't I format it? It is as if it has some settings in there which cannot be accessed by these tools; it is a transcend micro sdcard









    share

























      0












      0








      0








      I have a 64GB micro sdcard which was removed from an android phone without unmounting (could not find unmount after upgrade to android 7.1,they tried to make it easy and intuitive - it is an eject icon, 6 levels deep in the menu, so cannot be found by search for "unmount")



      now the sdcard can be mounted and unmounted, data can be copied from it, but writing to it, deleting files or formatting it or writing new partition table is no longer possible;
      deleting files appears to work, but after unmount and mount again, everything is back to the way it was when it first started erroring out while copying files to the micro sdcard from linux; so writing to the card worked for a few mount/unmount cycles after taking the card out of the android phone without unmount;



      trying to format it in the android phone errors out;
      in a camera, it says memory card locked;
      in ubuntu 18.04:



      lsblk
      mmcblk1 179:24 0 59.5G 0 disk
      └─mmcblk1p1 179:25 0 59.5G 0 part



      sudo gparted
      Create Partition Table
      Input/output error during write on /dev/mmcblk1



      sudo hdparm -I /dev/mmcblk1p1
      /dev/mmcblk1p1:
      HDIO_DRIVE_CMD(identify) failed: Invalid argument



      sudo hdparm -I /dev/mmcblk1
      /dev/mmcblk1:
      HDIO_DRIVE_CMD(identify) failed: Invalid argument



      sudo hdparm -v /dev/mmcblk1
      /dev/mmcblk1:
      HDIO_DRIVE_CMD(identify) failed: Invalid argument
      readonly = 0 (off)
      readahead = 256 (on)
      geometry = 1949664/4/16, sectors = 124778496, start = 0



      sudo hdparm -L 0 /dev/mmcblk1p1
      /dev/mmcblk1p1:
      setting drive doorlock to 0 (off)
      HDIO_DRIVE_CMD(doorlock) failed: Invalid argument



      sudo gnome-disks
      Error while repairing filesystem
      on dev/mmcblk1p1
      Process reported exit code 1: fsck.fat 4.1(2017-01-24) (udisks-error-quark, 0)



      sudo fsck /dev/mmcblk1p1
      fsck from util-linux 2.31.1
      fsck.fat 4.1 (2017-01-24)
      0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
      1) Remove dirty bit
      2) No action
      ? 1
      Perform changes ? (y/n) y



      fsck does not error out, but running it again, everything is back as before.



      sudo mkfs.vfat -n 64 /dev/mmcblk1p1
      mkfs.fat 4.1 (2017-01-24)



      format does not error out, but when mounting again, everything is back as before.



      testdisk
      Disk /dev/mmcblk1 - 63 GB / 59 GiB - CHS 1949664 4 16
      Current partition structure:
      Partition Start End Size in sectors
      1 * FAT32 LBA 32 0 1 1949663 3 16 124776448 [64d]
      Warning: Bad starting sector (CHS and LBA don't match)



      sudo dd if=/dev/zero of=/dev/mmcblk1 bs=512 seek=1



      stopped it by control-c after 4GB, still no changes, files are still there, cannot write to micro sdcard



      Basically, it seems that formatting, gparted writing a new partition table, fsck clearing the dirty bit, even writing with dd, all have no effect.
      The micro sdcard is not physically damaged, mount/unmounts just fine, which is why I thought that formatting it, and if not, then using gparted to write a new partition table should totally clear it and make it like new again.
      What am I missing? Why can't I format it? It is as if it has some settings in there which cannot be accessed by these tools; it is a transcend micro sdcard









      share














      I have a 64GB micro sdcard which was removed from an android phone without unmounting (could not find unmount after upgrade to android 7.1,they tried to make it easy and intuitive - it is an eject icon, 6 levels deep in the menu, so cannot be found by search for "unmount")



      now the sdcard can be mounted and unmounted, data can be copied from it, but writing to it, deleting files or formatting it or writing new partition table is no longer possible;
      deleting files appears to work, but after unmount and mount again, everything is back to the way it was when it first started erroring out while copying files to the micro sdcard from linux; so writing to the card worked for a few mount/unmount cycles after taking the card out of the android phone without unmount;



      trying to format it in the android phone errors out;
      in a camera, it says memory card locked;
      in ubuntu 18.04:



      lsblk
      mmcblk1 179:24 0 59.5G 0 disk
      └─mmcblk1p1 179:25 0 59.5G 0 part



      sudo gparted
      Create Partition Table
      Input/output error during write on /dev/mmcblk1



      sudo hdparm -I /dev/mmcblk1p1
      /dev/mmcblk1p1:
      HDIO_DRIVE_CMD(identify) failed: Invalid argument



      sudo hdparm -I /dev/mmcblk1
      /dev/mmcblk1:
      HDIO_DRIVE_CMD(identify) failed: Invalid argument



      sudo hdparm -v /dev/mmcblk1
      /dev/mmcblk1:
      HDIO_DRIVE_CMD(identify) failed: Invalid argument
      readonly = 0 (off)
      readahead = 256 (on)
      geometry = 1949664/4/16, sectors = 124778496, start = 0



      sudo hdparm -L 0 /dev/mmcblk1p1
      /dev/mmcblk1p1:
      setting drive doorlock to 0 (off)
      HDIO_DRIVE_CMD(doorlock) failed: Invalid argument



      sudo gnome-disks
      Error while repairing filesystem
      on dev/mmcblk1p1
      Process reported exit code 1: fsck.fat 4.1(2017-01-24) (udisks-error-quark, 0)



      sudo fsck /dev/mmcblk1p1
      fsck from util-linux 2.31.1
      fsck.fat 4.1 (2017-01-24)
      0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
      1) Remove dirty bit
      2) No action
      ? 1
      Perform changes ? (y/n) y



      fsck does not error out, but running it again, everything is back as before.



      sudo mkfs.vfat -n 64 /dev/mmcblk1p1
      mkfs.fat 4.1 (2017-01-24)



      format does not error out, but when mounting again, everything is back as before.



      testdisk
      Disk /dev/mmcblk1 - 63 GB / 59 GiB - CHS 1949664 4 16
      Current partition structure:
      Partition Start End Size in sectors
      1 * FAT32 LBA 32 0 1 1949663 3 16 124776448 [64d]
      Warning: Bad starting sector (CHS and LBA don't match)



      sudo dd if=/dev/zero of=/dev/mmcblk1 bs=512 seek=1



      stopped it by control-c after 4GB, still no changes, files are still there, cannot write to micro sdcard



      Basically, it seems that formatting, gparted writing a new partition table, fsck clearing the dirty bit, even writing with dd, all have no effect.
      The micro sdcard is not physically damaged, mount/unmounts just fine, which is why I thought that formatting it, and if not, then using gparted to write a new partition table should totally clear it and make it like new again.
      What am I missing? Why can't I format it? It is as if it has some settings in there which cannot be accessed by these tools; it is a transcend micro sdcard







      gparted format micro-sd





      share












      share










      share



      share










      asked 6 mins ago









      jmarinajmarina

      179212




      179212






















          0






          active

          oldest

          votes











          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%2f1121588%2flow-level-format-micro-sdcard%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1121588%2flow-level-format-micro-sdcard%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

          Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

          List of shipwrecks in 1808...

          Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...