Dependency failed for File System Check External Drives

I get an error similar to the above error (basically it is the same thing) when I try to boot my EnOS. I tried to mount 3 of my external hard disk at boot using fstab.

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=D57D-B3B3                            /boot/efi      vfat    umask=0077 0 2
UUID=f2f94842-8952-4808-9752-1a9608e5af53 /              ext4    defaults,noatime 0 1
UUID=e2a61b8c-25b3-4002-a734-0d515d88f483 /home          ext4    defaults,noatime 0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
#UUID=a2c376f0-d0ae-4264-a7f0-867610f6dbca /run/media/sinux/sinux1       ext4    defaults,noatime 0 2
#UUID=a1a64a10-7ac5-4e8d-a327-89ea2bbb2b57 /run/media/sinux/sinux2       ext4    defaults,noatime 0 2
#UUID=177ce77f-6e06-47a6-b1e9-6c3a6b43fb8d /run/media/sinux/sinux3       ext4    defaults,noatime 0 2

I used my USB to log in to the live environment and comment out the 3 externals which allowed me to boot normally. But I’m sure it’s the drive labeled “sinux3” that is causing the issue.

Do I have to format the drive again or is there a way to fix this?

A couple things:

  • You are missing a 2 at the end of the line for sinux3
  • You should use systemd-automounts to mount external drives. That way it doesn’t matter if they are connected or not. It won’t impact your boot and you won’t have manually mount them later.

Something like this:

UUID=177ce77f-6e06-47a6-b1e9-6c3a6b43fb8d /run/media/sinux/sinux3       ext4    noatime,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=1min 0 2

That a typo :stuck_out_tongue: sorry, will fix that.

Do I need to install that or is it already in the system?

UUID=a2c376f0-d0ae-4264-a7f0-867610f6dbca /run/media/sinux/sinux1       ext4    noatime,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=1min 0 2
UUID=a1a64a10-7ac5-4e8d-a327-89ea2bbb2b57 /run/media/sinux/sinux2       ext4    noatime,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=1min 0 2
UUID=177ce77f-6e06-47a6-b1e9-6c3a6b43fb8d /run/media/sinux/sinux3       ext4    noatime,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=1min 0 2

Is this correct for all my externals ?

It is part of systemd so it should already be on your system unless you have done some really, really heavyweight customization and removed systemd.

Looks OK to me. Try it out and see.

Nope it’s still as is I installed it (for the time being).

Will do, add an update once I reboot.

It worked and it seems computer boot time has improved as well after doing what you suggested. I also formatted the drive because I saw few input/output errors while I was copying the files to the backup folder.

But it all works now thank you.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.