How to format a rogue flash drive? (GParted tries to touch file system footer and freezes up indefinitely)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












On a limbo-type fake USB or SD card, all sectors starting from a specific position on the drive are unavailable (zeroes only or ones only or unreadable sector response).



A flash drive might indicate itself as 256GB but actually has 16 GB only. Anything written beyond the 16GB threshold goes into a digital black hole (hence limbo). When trying to access that data, one of these things might happen:



  • The device returns blank sector with 00000000 (0x00) bytes only.

  • The device returns sector with 11111111 (0xFF) bytes only.

  • The device signalizes the computer that the sector is damaged.

  • The device freezes up for an indefinite timespan and never returns the read request.

  • The device returns random data (very rare type)

On the rogue flash drive I own, the second one is the case. It returns FF FF FF FF FF FF … in all 512 bytes of sectors in all sectors inside the limbo area, which is beyond the actual data capacity.



Using mkfs or gparted on a fake USB (for testing purposes) for creating filesystems does freeze up for an indefinite time.



Both Windows and Android successfully format the SD card needing less than half a minute.
GParted and mkfs freeze up indefinetly (until removing the drive from the PC) and leave a file system indicated with the unknown type in GParted.



How can I format a rogue flash drive in GParted to the full alleged capacity while only writing file system headers?



That would make GParted not touch the limbo area that causes the indefinite freeze (not to confuse with the fourth listed type of sector returns on rogue drives. It is the reaction of GParted).









share

























    up vote
    0
    down vote

    favorite












    On a limbo-type fake USB or SD card, all sectors starting from a specific position on the drive are unavailable (zeroes only or ones only or unreadable sector response).



    A flash drive might indicate itself as 256GB but actually has 16 GB only. Anything written beyond the 16GB threshold goes into a digital black hole (hence limbo). When trying to access that data, one of these things might happen:



    • The device returns blank sector with 00000000 (0x00) bytes only.

    • The device returns sector with 11111111 (0xFF) bytes only.

    • The device signalizes the computer that the sector is damaged.

    • The device freezes up for an indefinite timespan and never returns the read request.

    • The device returns random data (very rare type)

    On the rogue flash drive I own, the second one is the case. It returns FF FF FF FF FF FF … in all 512 bytes of sectors in all sectors inside the limbo area, which is beyond the actual data capacity.



    Using mkfs or gparted on a fake USB (for testing purposes) for creating filesystems does freeze up for an indefinite time.



    Both Windows and Android successfully format the SD card needing less than half a minute.
    GParted and mkfs freeze up indefinetly (until removing the drive from the PC) and leave a file system indicated with the unknown type in GParted.



    How can I format a rogue flash drive in GParted to the full alleged capacity while only writing file system headers?



    That would make GParted not touch the limbo area that causes the indefinite freeze (not to confuse with the fourth listed type of sector returns on rogue drives. It is the reaction of GParted).









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      On a limbo-type fake USB or SD card, all sectors starting from a specific position on the drive are unavailable (zeroes only or ones only or unreadable sector response).



      A flash drive might indicate itself as 256GB but actually has 16 GB only. Anything written beyond the 16GB threshold goes into a digital black hole (hence limbo). When trying to access that data, one of these things might happen:



      • The device returns blank sector with 00000000 (0x00) bytes only.

      • The device returns sector with 11111111 (0xFF) bytes only.

      • The device signalizes the computer that the sector is damaged.

      • The device freezes up for an indefinite timespan and never returns the read request.

      • The device returns random data (very rare type)

      On the rogue flash drive I own, the second one is the case. It returns FF FF FF FF FF FF … in all 512 bytes of sectors in all sectors inside the limbo area, which is beyond the actual data capacity.



      Using mkfs or gparted on a fake USB (for testing purposes) for creating filesystems does freeze up for an indefinite time.



      Both Windows and Android successfully format the SD card needing less than half a minute.
      GParted and mkfs freeze up indefinetly (until removing the drive from the PC) and leave a file system indicated with the unknown type in GParted.



      How can I format a rogue flash drive in GParted to the full alleged capacity while only writing file system headers?



      That would make GParted not touch the limbo area that causes the indefinite freeze (not to confuse with the fourth listed type of sector returns on rogue drives. It is the reaction of GParted).









      share













      On a limbo-type fake USB or SD card, all sectors starting from a specific position on the drive are unavailable (zeroes only or ones only or unreadable sector response).



      A flash drive might indicate itself as 256GB but actually has 16 GB only. Anything written beyond the 16GB threshold goes into a digital black hole (hence limbo). When trying to access that data, one of these things might happen:



      • The device returns blank sector with 00000000 (0x00) bytes only.

      • The device returns sector with 11111111 (0xFF) bytes only.

      • The device signalizes the computer that the sector is damaged.

      • The device freezes up for an indefinite timespan and never returns the read request.

      • The device returns random data (very rare type)

      On the rogue flash drive I own, the second one is the case. It returns FF FF FF FF FF FF … in all 512 bytes of sectors in all sectors inside the limbo area, which is beyond the actual data capacity.



      Using mkfs or gparted on a fake USB (for testing purposes) for creating filesystems does freeze up for an indefinite time.



      Both Windows and Android successfully format the SD card needing less than half a minute.
      GParted and mkfs freeze up indefinetly (until removing the drive from the PC) and leave a file system indicated with the unknown type in GParted.



      How can I format a rogue flash drive in GParted to the full alleged capacity while only writing file system headers?



      That would make GParted not touch the limbo area that causes the indefinite freeze (not to confuse with the fourth listed type of sector returns on rogue drives. It is the reaction of GParted).







      usb-drive storage flash-memory





      share












      share










      share



      share










      asked 4 mins ago









      neverMind9

      27910




      27910

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f479814%2fhow-to-format-a-rogue-flash-drive-gparted-tries-to-touch-file-system-footer-an%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479814%2fhow-to-format-a-rogue-flash-drive-gparted-tries-to-touch-file-system-footer-an%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay