I had set up my Pi 3b as a NAS with the help of an external hard drive, powered by a USB hub. This worked for a week. Today after boot, I'm seeing the message:
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode.
Cannot open access to console, the root account is locked. See sulogin(8) man page for more details.
Press Enter to continue.
The only way to login to the Pi is to disconnect the hard drive. When I do that, and then reconnect the drive after login, I'm not seeing /dev/sda1 after running
I already tried to fix it by editing /etc/fstab via this article to no avail. I had commented out a line made by OpenMediaVault, the program that runs the NAS.