You are not logged in.
Hi,
I have an external SATA hard disk attached via usb to my laptop (/dev/sda1) for backup reasons. Upon booting, it is mounted automatically through an /etc/fstab entry.
Yet: when the hard drive is NOT attached to the machine when it boots, it is of course not only not mounted, but the whole boot process fails!
How can the entire process be dependend upon an external device? that's crazy.
What can I do to just have the mount fail if no external drive is attached, so that the boot process can nevertheless finish?
Thanks
gummo
Last edited by gen2arch (2018-02-04 11:43:43)
Offline
Offline
but the whole boot process fails!
Where does it fail?
Offline
Thanks loqs! that solved the problem!
I added "nofail,x-systemd.device-timeout=1" to the fstab line.
gummo
Last edited by gen2arch (2018-02-04 11:44:03)
Offline
gen2arch wrote:but the whole boot process fails!
Where does it fail?
This happens in the series of mounts that are in /etc/fstab. Errors are "Timeout waiting for device dev-disk-by-***" and "Dependency failed for /mnt/". The journal has systemd messages "local-fs.target: Triggering OnFailure= dependencies", and I am dropped to "emergency mode"
thanks
gummo
Offline