Cannot open access to console, the root account is locked
-
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 bottomUUID=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.
-
Not an answer, but why you didn't follow the automatic mount(easiest method) of the guide?
-
@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.
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.