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 10.3k 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.
    • N
      Niko0422 @grant2258
      last edited by

      @grant2258 i followed the video but when I tried to run the program I got this message
      5BEBF8AD-2EEB-4783-A0BB-A1A9020470BF.jpeg

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

        how big is the usb drive your using? I have never used yumi to be honest this is just what the tutorial uses.

        I use https://github.com/pbatard/rufus/releases/download/v3.3/rufus-3.3.exe

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

          The GParted Live site lists Unetbootin and the LinuxLive USB Creator on its installation page (see there for links to both tools). Just two more options to try. As a Linux user, I don't have experience with these Windows tools, but I see Unetbootin often mentioned for Windows users to install USB installation images.

          edit: The message about free space is kinda weird, since the GParted image is only 306 MB in size. I doubt that the USB medium is smaller than that. (?)

          @Niko0422 You don't try to write the GParted image to the SD card that you can't write to, are you? It is meant to be written to another USB medium from which you boot your PC into a Linux live system with GParted. Then you (try to) use GParted to format the Retropie SD card. Just mentioned to be sure. :)

          N 2 Replies Last reply Reply Quote 0
          • G
            grant2258 Banned
            last edited by

            I think if you finding issues writing this to usb or find it too confusing the best thing you can do is just put a cd or dvd in and burn it. Then just boot from the cd :)

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

              @Clyde that’s exactly what I tried to do :/ I used the sd card instead of a usb , I’m going to try again using the usb this time

              1 Reply Last reply Reply Quote 0
              • 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.