Greetings.
You are in the emergency mode. After logging in, type “journalctl -xb” to view system logs, “systemctl reboot” to reboot, or “exit” to continue boot up.
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.
Press enter to continue.
This is what started to appear when booting when I edited the /etc/fstab file (which from what I researched on the subject is the main cause of this problem and others like it) when I followed a tutorial to automatically mount a disk (/dev/sda1), which I only use to store files. (Note: HDD 500gb in ext4). I had added a line similar to
UUID=???????????? /mnt/disksda1 ext4 defaults,uid=1000,gid=1000 0 2
.
When restarting, abnormally, the grub2 countdown started, with the selection of the different kernels (it only appeared when, for example, the first boot after a power outage with the PC turned on). When waiting for 3 seconds the system does not start, sometimes it shows the Fedora boot animation , sometimes it doesn’t, and the aforementioned message appears. I can not do anything.
Before researching, I had the (not so) good idea of starting a live system from a usb drive and deleting the line I had written in the /etc /fstab file; I barely remembered that I couldn’t do anything, since the main drive is formatted in btrfs, the system files don’t appear like a normal ext4 installation.
I researched the problem a little and tried some processes, like, briefly: Open grub, enter the editor (letter e), look for where it says subvol = root and replace '= root ’ with ‘=@’; Ctrl+X ; use chroot /sysroot ; edit fstab file.
Honestly, I don’t know if this is the best approach, and that’s why I’m asking for help. Thanks in advance.