Dependency failed for Local File Systems

Yesterday, I faced with “Dependency failed for Local File Systems” right after an error message about the system can’t mount an NTFS partition when rebooting my laptop. I had no idea about this problem because it was booted for a long time ago then running with daily updates.

Firstly, I guess my new SSD has faults but it’s new and I bought it for 2 months. My laptop is using Arch Linux as the main Operating System and dual-boot with Windows 10 for multiple purposes. So the Windows wasn’t shut down completely that prevent Arch Linux mount and read the NTFS partition instead of SSD’s error. I tried to boot into Windows 10 then shut it down completely and reboot again but I got the same error message. After booted into Windows 10, I used some utilities to check the SSD and not found any problem, it’s good. The problem is Arch Linux.
To save the time, I googled with “Dependency failed for Local File Systems” keyword then I found ton of results which told me that the cause is kernel wasn’t read the disk’s partitions correctly.

Dependency failed for Local File Systems
Dependency failed for Local File Systems

Suddenly, I remmember that my boot folder is real folder of disk instead of EFI partition as common dual boot workstation. When I install the Arch Linux, after chroot I mount EFI partition as boot folder then generated grub.cfg into it. After finished the install process, I didn’t config the system automatic mounts that partition as boot folder. When I update the system, a new grub.cfg file was created on the real folder. It’s far different with the correctly system. That’s cause of this problem.
How can I solve it?
It’s very easy, I boot into my system with the live usb, after chroot into it, I set EFI partition mount as boot folder in /etc/fstab file:

# Mount EFI partition (/dev/sdb2)
UUID=C499-31C7          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro       0 2

Now, the system booted then working flawlessly.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.