• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Emulationstation crashes after RetroPie boots up - Permission denied

Scheduled Pinned Locked Moved Help and Support
retropie 4.2permission deniemulationstaionerrorboot crash
20 Posts 12 Posters 12.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.
  • F
    felleg @edmaul69
    last edited by 4 Jul 2017, 17:59

    @edmaul69 sudo should be lowercase I think

    1 Reply Last reply Reply Quote 0
    • C
      Chrisser @edmaul69
      last edited by Chrisser 7 Apr 2017, 19:12 4 Jul 2017, 18:11

      @edmaul69
      ok thanks, and how can i write this while booting?
      or is there a hotkey for accessing commandline while booting?
      thanks!

      E 1 Reply Last reply 4 Jul 2017, 18:13 Reply Quote 0
      • E
        edmaul69 @Chrisser
        last edited by 4 Jul 2017, 18:13

        @Chrisser when you boot just keep tapping f4 until it kicks you into the same commandline you crash to, but without it locking you out of typing in the commandline.

        1 Reply Last reply Reply Quote 1
        • P
          PrinceGumball @Chrisser
          last edited by 9 Nov 2017, 14:00

          @chrisser Did you ever figure out how to fix this issue?

          B 1 Reply Last reply 9 Nov 2017, 15:17 Reply Quote -1
          • B
            BuZz administrators @PrinceGumball
            last edited by BuZz 11 Sept 2017, 15:17 9 Nov 2017, 15:17

            @princegumball You have a thread/topic open - do not duplicate post on old threads.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • P
              PrinceGumball
              last edited by 9 Nov 2017, 16:40

              I'm asking this user if they got the same problem resolved. Is that not allowed?

              1 Reply Last reply Reply Quote 0
              • J
                jamesk
                last edited by 20 Nov 2017, 20:48

                Mine has just given this same error about 10 minutes ago, after a nice game of SF2 :(

                1 Reply Last reply Reply Quote 0
                • P
                  PrinceGumball
                  last edited by 20 Nov 2017, 23:55

                  Can you type?

                  1 Reply Last reply Reply Quote 0
                  • J
                    jamesk
                    last edited by 21 Nov 2017, 19:50

                    I can't get to a command line during boot by pressing f4 , it just ignores it and eventually tries to boot emulationstation and bombs with that error.

                    Is there any way to fix this? It seems a bit extreme to have to start all over again after only having it working for about 2 days.

                    If not I guess its bound for the bin :(

                    P 1 Reply Last reply 24 Nov 2017, 09:48 Reply Quote 0
                    • P
                      PrinceGumball
                      last edited by 23 Nov 2017, 20:55

                      Good luck getting anyone here to help you.

                      1 Reply Last reply Reply Quote -1
                      • P
                        pjft @jamesk
                        last edited by 24 Nov 2017, 09:48

                        @jamesk you can try to ssh into the Pi and execute whatever commands you need to.

                        1 Reply Last reply Reply Quote 0
                        • P
                          PrinceGumball
                          last edited by 25 Nov 2017, 22:13

                          @pjft said in Emulationstation crashes after RetroPie boots up - Permission denied:

                          @jamesk you can try to ssh into the Pi and execute whatever commands you need to.

                          If you're able to do this, please let me know.

                          1 Reply Last reply Reply Quote 1
                          • M
                            mburns
                            last edited by 6 Jan 2018, 21:46

                            This issue still exists. Copying over a rom directory with broken permissions (via usb) breaks the permissions on the retropie and crashes EmulationStation on startup.

                            • F4 pressed throughout the boot process and initial ES splashscreen don't work
                            • No keyboard input works after ES crashes with the boost filesystem permission error and I get dropped to the terminal
                            • Attaching keyboard/gamepad post-ES crash doesn't work either

                            Because it is a mostly-fresh install, SSH is disabled and SMB does not have permission to delete the affected file.

                            My only guess is to try and mount the sd card in Virtualbox or another RetroPie.

                            1 Reply Last reply Reply Quote 0
                            • C
                              Chachenstein
                              last edited by 22 Jan 2018, 15:12

                              I'm having the same problem and have yet to find a fix that works. F4 doesn't do anything. The only way around I've found is to completely re-flash the SD and start from scratch without the files that caused the error

                              M 1 Reply Last reply 22 Jan 2018, 15:21 Reply Quote 0
                              • M
                                mitu Global Moderator @Chachenstein
                                last edited by 22 Jan 2018, 15:21

                                @chachenstein You can use SSH to reset start the RetroPie setup and reset the ROM dirs permissions. SSH is not enabled by default, but can be easily enabled (https://github.com/RetroPie/RetroPie-Setup/wiki/ssh). There's no reason to re-flash your image.

                                I 1 Reply Last reply 22 Jan 2018, 17:32 Reply Quote 0
                                • I
                                  isrnick @mitu
                                  last edited by 22 Jan 2018, 17:32

                                  @mitu But the keyboard is disabled when it crashes, so you can't type the commands to even open raspi-config to be able to enable SSH.

                                  What I had to do when it happened to me was burn a Linux Mint installation image to a DVD, boot the Linux Mint on my computer from the DVD (in Live CD mode, it isn't necessary to install it), put the card in the computer's card reader, and use a terminal to access the SD card, find the affected folders and files and sudo remove them.

                                  It probably would work the same with Linux in a USB stick. Maybe even with it installed in a Virtual Machine on Windows, but I'm not sure.

                                  Either way, its not something trivial, so if you have a working backup, or if you have the roms somewhere else and it is a new installation of retropie that you haven't configured and changed much, re-flashing might be the more practical option.

                                  M C 2 Replies Last reply 22 Jan 2018, 17:51 Reply Quote 0
                                  • M
                                    mitu Global Moderator @isrnick
                                    last edited by mitu 22 Jan 2018, 17:51

                                    @isrnick said in Emulationstation crashes after RetroPie boots up - Permission denied:

                                    @mitu But the keyboard is disabled when it crashes, so you can't type the commands to even open raspi-config to be able to enable SSH.

                                    The simplest method to enable SSH is to drop a file on the /boot partition, which if FAT32 and can be done from a PC. It's explained in the link to wiki:

                                    From a system with an SD-card reader, access the /boot/ directory and create an empty file called ssh

                                    You don't need a keyboard, just a network connection. Once logged in, you can invoke the RetroPie-Setup and then reset your ROM folder permissions (https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#reset-ownershippermissions-of-homepiretropie-roms).

                                    I'm thinking that another way is to press Ctrl+C immediatelly after boot, when you see the ES splash (from a keyboard) so ES start is interrupted. I don't have a keyboard attached to the PI to test it.

                                    1 Reply Last reply Reply Quote 1
                                    • C
                                      Clyde @isrnick
                                      last edited by Clyde 22 Jan 2018, 20:38

                                      @isrnick said in Emulationstation crashes after RetroPie boots up - Permission denied:

                                      @mitu But the keyboard is disabled when it crashes, so you can't type the commands to even open raspi-config to be able to enable SSH.

                                      Sometimes, I can free the keyboard by pressing Alt+PrtScr/SysRq+R simultaneously. It's a Linux Magic SysRq key combination that switches the keyboard from raw mode, which graphical programs tend to use, to XLATE mode. May be worth a try.

                                      Note that on some keyboards, Laptops etc. the key combination is slightly different. See the link above for the variations.

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

                                        This community forum collects and processes your personal information.
                                        consent.not_received