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

    Kodi install errors on 4.2 - Fixed - Lexar 633x SD card was the root cause

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.2kodi 17.3
    11 Posts 4 Posters 2.6k 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.
    • RascasR
      Rascas @choppedfish
      last edited by

      @choppedfish Try:

      sudo apt-get clean
      sudo apt-get update
      sudo apt-get dist-upgrade
      1 Reply Last reply Reply Quote 0
      • C
        choppedfish
        last edited by choppedfish

        Thanks for support.

        I did the above sudo commands twice as I got an error on the sudo apt-get update first time. Second time round seemed clean.

        I then redid kodi from the menu and the policykit was installed ok and kodi was installing and then there was a crap load of i/o errors and extfs4 errors and the file system was mounted read only. I had to do a hard reboot and there was no log (empty).

        This is a bit of a concern and despite kodi saying it's installed (it's not on the menu). It seems there is still an issue.

        Next step I think is uninstall kodi and try again.

        I just did the uninstall and there were errors asking the following to be run "sudo dpkg --configure -a". Kodi is now uninstalled.

        Is there a way to check the filesystem? I ran fsck but it warned that as the fs was mounted it would cause severe damage.

        I suspect the SD card is corrupt.

        Thanks

        Byron

        RascasR D 2 Replies Last reply Reply Quote 0
        • RascasR
          Rascas @choppedfish
          last edited by

          @choppedfish Yes, i/o errors are problems reading the filesystem, it may be corrupted or the SD card may be damaged. Some SD cards, especially the more recent ones, may not work well on the Raspberry Pi also.

          1 Reply Last reply Reply Quote 0
          • D
            DodgeDeBoulet @choppedfish
            last edited by DodgeDeBoulet

            @choppedfish
            You can force a fsck on reboot with the following:

            $ sudo touch /forcefsck
            $ sudo shutdown -r now

            This will perform a "safe" filesystem check and repair.

            And if you're powering off your Pi without performing a shutdown (or doing it through the ES interface), don't.

            C 1 Reply Last reply Reply Quote 0
            • C
              choppedfish @DodgeDeBoulet
              last edited by

              @dodgedeboulet During setup when i was testing different emulators we did do some hard reboots when we couldn't get a response so perhaps thats the issue.

              The SD is a class 10 Lexar so nothing fancy.

              I'm going to try the fsck first and then a clean build of retropie on the SD card and see where that leads me.

              Thanks

              Byron

              1 Reply Last reply Reply Quote 0
              • D
                DodgeDeBoulet
                last edited by

                @choppedfish
                There are certainly times when things are so fubar'ed that pulling the plug is the only option :D

                C 1 Reply Last reply Reply Quote 0
                • C
                  choppedfish @DodgeDeBoulet
                  last edited by

                  @dodgedeboulet Agreed!

                  1 Reply Last reply Reply Quote 0
                  • C
                    choppedfish
                    last edited by

                    I did the fsck and it did not report any errors.

                    I then redid the kodi install as per below. This is exactly the error from the first step above and the same from when i installed retropie the first time around on the SD card. This build is the second time as I screwed up the emulators and didn't know how to fix it.

                    I'm going to try a clean build on another SD card to see if it helps.

                    B

                    1 Reply Last reply Reply Quote 0
                    • C
                      choppedfish
                      last edited by choppedfish

                      I tried a completely different SD card and everything is going well. Some further googling shows that it could be the Lexar card. I see some people reported issues with the 300x Lexar. This was a 633x card that works fine every other respect.

                      The Sandisk card I have now is super slow but i'm having none of the errors I was getting before.

                      Thanks for all the help.

                      Byron

                      1 Reply Last reply Reply Quote 0
                      • A
                        Amishgamer
                        last edited by

                        I've had troubles with a couple of cards before appearing corrupt. This is how I fixed it (going from memory here, as I am at work).

                        On an Ubuntu box, put your card in, and pull up the "disks" utilities (how to get there varies on your Linux interface). Choose your SD card. Delete all the partitions that are on it. Format it as FAT, but don't choose the "quick" option, choose the one that writes all zeros to the drive.

                        Then, still on your Ubuntu box, use the utility called "etcher" I think (again, going from memory here) to write your Retropie image to the SD card. This utility is slower, but (in my experience) far more reliable than Win32DiskImager.

                        Last time I did this, the process took over two days. But, it did resurrect a 128GB card from the dead, which is working just fine in my friend's Retropie right now.

                        Hope this helps someone.

                        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.