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

    Cannot open access to console, the root account is locked

    Scheduled Pinned Locked Moved Help and Support
    exfat
    3 Posts 2 Posters 1.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.
    • flagrant99F
      flagrant99
      last edited by flagrant99

      32 GB SD Card flashed with
      retropie-buster-4.8-rpi2_3_zero2w.img
      all updates.
      Pi 3B+

      Following the steps here
      https://retropie.org.uk/docs/Running-ROMs-from-a-USB-drive/

      I deviated and went with exFAT over fat32.
      All was going well until I rebooted after fstab
      here is the line I added at the bottom

      UUID=0C7F-AA7A /home/pi/RetroPie vfat rw,exec,uid=pi,gid=pi,umask=022 0 2

      1st question does vfat work with exFAT or only fat32?

      Now I can't boot retropie and just get
      You are in emergency mode....
      Cannot open access to console, the root account is locked, etc.
      I tried with external connected and disconnected. Doesn't matter.

      I have googled this and it seems by making edits to the sd card in another machine I can get back in and fix fstab.

      But I don't know what's wrong with fstab so on to my next question.
      Is there a way to test an fstab entry without get locked out of linux?

      And most importantly my 1st question can I get exFAT to work with fstab

      UUID=0C7F-AA7A /home/pi/RetroPie vfat rw,exec,uid=pi,gid=pi,umask=022 0 2

      The file copy worked fine. and I know I got the correct uuid.

      1 Reply Last reply Reply Quote 0
      • windgW
        windg
        last edited by windg

        @flagrant99

        Not an answer, but why you didn't follow the automatic mount(easiest method) of the guide?

        My English isn't at a good level.

        flagrant99F 1 Reply Last reply Reply Quote 0
        • flagrant99F
          flagrant99 @windg
          last edited by

          @windg Trying to learn. Never tried fstab before. Didn't realize how dangerous it is....

          Decided to bail on exFAT. My guess is it doesn't work?
          Also decided I didn't want any more pain :)

          so ext4 it is

          UUID="8787d0f4-f4ab-4eb7-bbb1-ea77b5b2ea41" /home/pi/RetroPie ext4 nofail,defaults 0 0

          Working fine with this.

          The main thing that surprised me is I can't boot into linux at all if it can't find the drive. Maybe nofail is a good idea for ALL fstab external drive entries. Dunno. Maybe that only works with ext4 and not vfat?

          I'm all set now. Thx.

          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.