RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    SD Card Corrupted After adding video preview

    Scheduled Pinned Locked Moved Help and Support
    sd card failurevideo previewformatting
    52 Posts 5 Posters 9.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jakejm79
      last edited by

      What does the Disk Management GUI show in windows for the mSD card?

      1 Reply Last reply Reply Quote 0
      • N
        Niko0422 @Clyde
        last edited by

        @Clyde I was able to use gparted, but when I tried to delete the partition on sd card it continued to give me an error
        A40073F1-C177-4449-8AA0-76C45DECCF77.jpeg A769C027-7EF5-4322-8E3B-F59705D0E232.jpeg A5B91CE5-9C0E-41CA-834A-78C098C4AB01.jpeg

        1 Reply Last reply Reply Quote 0
        • G
          grant2258 Banned
          last edited by grant2258

          ok a few things here

          1. your memory car reader isin working right or the lock mechanism is constantly on
          2. the card your plugging it into isint working right or the lock is stuck on
          3. The reader your using cant handle a memory card this size.

          you can rule first the two above out by trying another sd.

          number 3 would mean you would need to use a memory care the same size .

          1. your memory car indeed is broke
          N 1 Reply Last reply Reply Quote 0
          • G
            grant2258 Banned
            last edited by grant2258

            On a personal note i dont use the reader in my laptop its unreliable at the best of times. I would try a usb memory card reader before throwing the card out they are only £10-15 if your in the uk you can grab one from currys/pc world.

            ClydeC 1 Reply Last reply Reply Quote 0
            • ClydeC
              Clyde @grant2258
              last edited by

              @grant2258 said in SD Card Corrupted After adding video preview:

              On a personal note i dont use the reader in my laptop its unreliable at the best of times. I would try a usb memory card reader before throwing the card out they are only £10-15 if your in the uk you can grab one from currys/pc world.

              I second that. A usb card reader also has the advantage that it can be used at multiple computers.

              1 Reply Last reply Reply Quote 0
              • N
                Niko0422 @grant2258
                last edited by

                @grant2258 I ended up buying another sd card , I used the adapter of the new card with the old card and it still says it’s locked.

                I decided just to use the new sd card and I added the image to it . I still want to add the game previews but now I’m afraid I will end up just ruining this new sd card

                1 Reply Last reply Reply Quote 0
                • G
                  grant2258 Banned
                  last edited by

                  writing to sd should not ruin it might have been a faulty card

                  1 Reply Last reply Reply Quote 0
                  • ClydeC
                    Clyde
                    last edited by

                    @wangqiang said in SD Card Corrupted After adding video preview:

                    Since the sd card is write protected, you need to clear the read-only attribute first, then you can successfully format it using command prompt.

                    I'm curious, is this OS independant or will only Windows recognize the readonly flag? I ask because I searched the web for it and only found Windows related guides for this flag. No Linux-based guides or help threads that I found mention such a flag, but maybe I'm just bad at searching the web. :)

                    If it's Windows-only, then @Niko0422's attempt with the Linux-based GParted live system should've succeeded despite it.

                    Furthermore, is the diskpart method technically different from removing the write protection in the registry? Because @Niko0422 already tried the latter:

                    @Niko0422 said in SD Card Corrupted After adding video preview:

                    As I mentioned before , the card at first said it was write protected , I got rid of the write protection following the steps of this website link text under the “Accessing SD Card by modifying Registry” section . It removes the write protection, but as you can see I still can’t delete the partitions

                    Just trying to learn some Windows things and to ascertain if the diskpart method does anything that hasn't been tried already.

                    (If anyone knows more about the readonly flag and Linux, I'm also eager to learn about it. :) )

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Clyde
                      last edited by

                      @Clyde I think it's just spam.

                      1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned
                        last edited by

                        some memory card readers have a check for the write protect tab on the sd care and some dont. The usb readers usually ignore this tab all together. It depends on your model though.

                        If a device goes bad in linux it will remount it as read only. Im not sure what your asking about here exactly with the read/write flag

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          grant2258 Banned @grant2258
                          last edited by

                          if it is locked in linux i would suggest this

                          sudo dd if=/dev/zero of=/dev/<yoursdcard> bs=1000000 count=50

                          if that doesnt work
                          echo "0" > /sys/block/<yoursdcard>/ro

                          1 Reply Last reply Reply Quote 1
                          • G
                            grant2258 Banned
                            last edited by grant2258

                            @clyde https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwjzq_frg4nfAhXMb1AKHZ6fADYQFjAAegQIABAC&url=https%3A%2F%2Fwww.micron.com%2F~%2Fmedia%2Fdocuments%2Fproducts%2Ftechnical-note%2Fsd-cards%2Ftnsd01_enable_sd_lock_unlock_in_linux.pdf&usg=AOvVaw3e_JAFlbfrqIshzxV3jnkV

                            sudo apt-get install mmc-utils if you want to mess with it

                            ClydeC 1 Reply Last reply Reply Quote 1
                            • ClydeC
                              Clyde @grant2258
                              last edited by

                              @mitu Ah, ok. :)

                              @grant2258 Thanks!

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.