Here is the chain of events. Every line in /etc/fstab is a promise: mount this device, at this place, at every boot. systemd takes those promises seriously. If a line names a UUID that no longer exists - because you replaced a hard disk, deleted a partition, reformatted a drive (which gives it a new UUID), or simply unplugged a USB drive that someone once added to fstab - systemd waits for that device, times out, and refuses to continue into a half-broken system. That refusal is emergency mode. Nothing is wrong with Linux itself. One stale line is holding the whole boot hostage, and this guide removes exactly that line and adds nofail protection so a missing data drive can never do this again. The steps are identical on Ubuntu, Debian, Fedora and Arch, because all of them use systemd.
X Boot pauses for about 90 seconds on a device timeout before showing this screen
X It started after removing a disk, reformatting a partition, or unplugging a drive that used to stay connected
X Pressing Ctrl+D to continue just returns to the same emergency screen
FSTAB One mount entry cannot be fulfilled, so systemd stops the whole boot.
The fingerprint of this problem: the journalctl -xb hint, a device timeout, and Dependency failed for Local File Systems together.
Emergency mode is a working root shell, not a dead end. The journal already knows which mount failed - ask it before touching any file.
journalctl -xbNow prove which fstab line is stale by comparing what the file claims against what the hardware actually reports today.
blkidcat /etc/fstabThis is the actual fix. In emergency mode the root filesystem starts read-only, so first remount it writable, then correct the one bad line - comment it out if the disk is gone, or replace its UUID if blkid showed you the new one.
mount -o remount,rw /cp /etc/fstab /etc/fstab.baknano /etc/fstab# at the very start of its line to comment it out. For a disk that was reformatted: replace the old UUID in its line with the new UUID from your blkid output, character for character. Never edit the root (/) line unless its UUID is the wrong one, and never guess a UUID.Fix the cause, not just today symptom: any drive that is not required for the system to run should never again be allowed to block the boot.
nofail to the options field of each such line. The options are the comma-separated list in the fourth column. For example, a line ending in defaults 0 2 becomes defaults,nofail 0 2.Never reboot blind after an fstab edit. One command tests every line safely, right now, while you can still fix mistakes.
mount -a - this attempts every fstab entry exactly as boot will. No output and no errors means every line is good.systemctl default - or simply reboot with reboot. The desktop should load normally with no timeout pause.No downloads are needed for the standard route - journalctl, blkid, mount and nano are part of every systemd Linux install, which is why the same steps work on Ubuntu, Debian, Fedora and Arch. The only optional item is a Live USB of your distro, needed only in the Ubuntu case where no root password exists and recovery mode is not available, so you can mount the disk and edit fstab from outside. Keep that USB in a drawer; it is the universal key for Linux boot repairs.
Every week: Windows and Linux problems, hidden tools and full setup guides, explained step by step.
Subscribe on YouTubeAt boot, systemd tries to mount every entry in /etc/fstab as part of Local File Systems. If one entry points to a disk that is gone or a UUID that no longer exists, systemd waits, times out, marks Dependency failed for Local File Systems, and drops to emergency mode instead of continuing with a half-mounted system.
It asks for the root password - Give root password for maintenance. On Ubuntu, root is locked by default, so if you never set a root password the prompt may fail or loop; in that case boot GRUB Advanced options into recovery mode, or use a Live USB to mount the system and edit /etc/fstab from there with sudo.
Adding nofail to a mount entry tells systemd: try to mount this, but boot normally even if the device is missing. It is the correct option for USB drives, external disks and secondary data drives that are not always connected. Never rely on it for the root filesystem itself - root must mount or the system cannot run.
For booting, yes - a line starting with # is ignored completely. Commenting is safer than deleting because the original entry stays visible: if the disk comes back later, you remove the # and correct the UUID instead of recreating the line from memory. Delete a line only when you are sure that partition is gone permanently.
No. All three use systemd and the same /etc/fstab format, so the journalctl -xb, blkid, remount rw, edit fstab, mount -a and systemctl default steps are identical. This is one of the rare Linux fixes with no distro-specific commands at all.