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

    emulation station crashes after "throwing an instance of 'boost::filesystem_error'

    Scheduled Pinned Locked Moved Help and Support
    retropieemulationstaionfilesystemerrorpermission deni
    20 Posts 2 Posters 4.8k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Try a Lubuntu live cd - https://help.ubuntu.com/community/Lubuntu/GetLubuntu#Desktop_.28Graphical_Installer.29 can be put on a USB stick (usign Rufus) and you can run a live session (i.e. no installation) to try and read the SD card from this live instance.

      M 1 Reply Last reply Reply Quote 0
      • M
        Mind_Mash @mitu
        last edited by

        @mitu
        I have booted into linux with a usb. When I plug the sd card in two folders appear, boot and retropie. I cannot edit files in retropie. (And yes, I have made sure that the sd card adaptor is not "locked") Do you know how to fix this.

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

          @mind_mash Do you see the ROMs folder in the retropie folder ?
          The folders might be read-only, if you run a mount command from a cli, what's the output ?

          M 1 Reply Last reply Reply Quote 0
          • M
            Mind_Mash @mitu
            last edited by

            @mitu
            Yes, I can see the files. Just to elaborate, what command do you want me to type?

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

              @mind_mash Simple type mount into a terminal and paste the output. Should look something like this:

              /dev/sda7 on /tmp type ext4 (rw,relatime,data=ordered)
              /dev/sda8 on /home type ext4 (rw,relatime,data=ordered)
              /dev/sda5 on /var type ext4 (rw,relatime,data=ordered)
              
              M 1 Reply Last reply Reply Quote 0
              • M
                Mind_Mash @mitu
                last edited by

                @mitu
                When I type in mount, a long string of text outputs.

                M 1 Reply Last reply Reply Quote 0
                • M
                  Mind_Mash @Mind_Mash
                  last edited by

                  What should I try next?

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

                    @mind_mash The idea was to post the output you get here, to determine if your SD card partition is mounted read-only, but you forgot to post the output. If this is the case (read-only mount), then we might be able to make it writable and you could remove the offending ROM from the SD card.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Mind_Mash
                      last edited by

                      Sorry, Here comes the text wave:

                      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
                      proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
                      udev on /dev type devtmpfs (rw,nosuid,relatime,size=496852k,nr_inodes=124213,mode=755)
                      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
                      tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=102256k,mode=755)
                      /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
                      /dev/loop0 on /rofs type squashfs (ro,noatime)
                      aufs on / type aufs (rw,noatime,si=c4485e03)
                      securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
                      tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
                      tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
                      tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
                      cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
                      pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
                      cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
                      cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
                      cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
                      cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
                      cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
                      cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
                      cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
                      cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
                      cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
                      cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
                      systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14491)
                      hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
                      debugfs on /sys/kernel/debug type debugfs (rw,relatime)
                      mqueue on /dev/mqueue type mqueue (rw,relatime)
                      tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
                      fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
                      tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
                      tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=102252k,mode=700,uid=999,gid=999)
                      gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
                      /dev/mmcblk0p2 on /media/lubuntu/retropie type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
                      /dev/mmcblk0p1 on /media/lubuntu/boot type vfat (rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

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

                        @mind_mash said in emulation station crashes after "throwing an instance of 'boost::filesystem_error':

                        /dev/mmcblk0p2 on /media/lubuntu/retropie type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)

                        Ok, so this is the location where the RPI main partition is mounted. Execute from a cli terminal sudo pcmanfm and the file browser should be started as root (superuser) - try to delete the offeding ROMs from the file browser.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Mind_Mash
                          last edited by

                          Ahhh, when in execute that command, it does not show the sd card. I tried taking it out and putting it back again but it won't show.

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

                            @mind_mash Try this:
                            Insert the card, then execute

                            • sudo umount /media/lubuntu/retropie
                            • mkdir /media/card && sudo mount /dev/mmcblk0p2 /media/card
                            • sudo pcmanfm and open to the /media/card folder and try to see if you're able to see/delete the files you need. The ROMs folder should be in /media/card/home/pi/RetroPie/roms.
                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Mind_Mash @mitu
                              last edited by

                              @mitu
                              It couldn't make the directory- (The permission was denied)

                              1 Reply Last reply Reply Quote 0
                              • M
                                Mind_Mash
                                last edited by

                                Oh, it worked when I put sudo in front of it

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Mind_Mash
                                  last edited by

                                  IT WORKED!
                                  Thank you so much for your help @mitu. Your help is much appreciated. :)

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

                                    @mind_mash OK, glad you got it fixed. What you should do next is to enable SSH on the PI and fix the permissions on your ROM folder, so you won't get into this problem again. Look in the docs for how to enable SSH access and then login on the RetroPie and execute.

                                    sudo chown -R pi /home/pi
                                    
                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Mind_Mash @mitu
                                      last edited by

                                      Ok, I will allow ssh access. Thank you again for your help.

                                      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.