Fixing the annoying dev-disk-by problem

Here is a pesky problem that may sound familiar. During a booting process, your Linux machine (openSUSE in my case) pauses for exactly 1 minute and 30 seconds, displaying a boot message that starts with the A start job is running for dev-disk-by message, following by a long alphanumerical device id. The message disappears after 1.5 minutes, and the system boots normally afterwards. Not the end of the world, but annoying nonetheless.

What causes the problem is an orphaned entry in the fstab file responsible for mounting storage devices. While the entry is there, the device is not, so the system waits in vain for the device to appear and eventually gives up.

The fix is simple. Open the /etc/fstab file for editing, locate and remove the orphaned entry (make sure you remove the right entry), then reboot your machine. Still no luck? Then try the described fix with the /etc/crypttab file responsible for mounting encrypted devices.


I’m posting this here on the off chance that others may find it useful.

© Dmitri Popov