I was unable to unmount a USB drive so I issued a reboot command to my Pi4 running DietPi. Now when I try booting I receive the error
[FAILED] DietPi-Login | Failed to load DietPi-Globals. Skipping DietPi login scripts...
While trying to troubleshoot I stumbled upon someone a few years ago who had the same issues as I am having. DietPi-Login | Failed to load DietPi-Globals
I receive the following info from the troubleshooting commands mentioned in the other thread
root@Pi-Hole4:~# systemctl status DietPi.mount
Unit DietPi.mount could not be found.
root@Pi-Hole4:~# tail /var/tmp/dietpi/logs/dietpi-ramdisk.log
Fri 17 Apr 12:14:02 CDT 2020 | DietPi-RAMdisk: Storing DietPi to disk…
Fri 17 Apr 12:14:02 CDT 2020 | DietPi-RAMdisk: Stored DietPi to disk.
Fri 17 Apr 12:14:03 CDT 2020 | DietPi-RAMdisk: Copying DietPi to RAM…
Fri 17 Apr 12:14:03 CDT 2020 | DietPi-RAMdisk: Copied DietPi to RAM.
Fri 24 Apr 00:17:02 CDT 2020 | DietPi-RAMdisk: Copying DietPi to RAM…
Fri 24 Apr 00:17:02 CDT 2020 | DietPi-RAMdisk: Copied DietPi to RAM.
Fri 1 May 16:56:02 CDT 2020 | DietPi-RAMdisk: Storing DietPi to disk…
Fri 1 May 16:56:02 CDT 2020 | DietPi-RAMdisk: Stored DietPi to disk.
Fri 1 May 16:56:03 CDT 2020 | DietPi-RAMdisk: Copying DietPi to RAM…
Fri 1 May 16:56:03 CDT 2020 | DietPi-RAMdisk: Copied DietPi to RAM.
I have attached the results of dmesg.
When I try to run “fsck -f /dev/mmcblk0p2” I get
root@Pi-Hole4:~# fsck -f /dev/mmcblk0p2
fsck from util-linux 2.33.1
e2fsck 1.44.5 (15-Dec-2018)
/dev/mmcblk0p2 is mounted.
e2fsck: Cannot continue, aborting.
Here the the results of lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
mmcblk0
├─mmcblk0p1 vfat boot 5203-DB74
└─mmcblk0p2 ext4 rootfs 2ab3f8e1-7dc6-43f5-b0db-dd5759d51d4e 5.6G 76% /
My backup is over a year old so it I can save the system instead of restoring from the last DietPi backup that would be great. Thank you in advance for any help with this. If you need more information from me please let me know.
fstab.txt (1.28 KB)
DietPiBootError.txt (18.8 KB)