Interview Prep/Linux/Boot, time, cron and kernel

Boot hangs for 90 seconds with `A start job is running for dev-disk-by\x2duuid-...device (1min 30s)`.

IntermediateTroubleshootingBoot, time, cron and kernel
Answer

Likely causes → An fstab or crypttab entry (often swap or a data disk) references a device that no longer exists.

Diagnose →

journalctl -b | grep -i 'timed out waiting for device'
systemd-escape -u 'dev-disk-by\x2duuid-...'
blkid; cat /etc/fstab

Fix → Correct the UUID or remove the entry, add nofail (and x-systemd.device-timeout=10s) for optional devices.

Prevent → Update fstab whenever disks are replaced or reformatted.

All Linux questions Roadmap: Linux

More on Boot, time, cron and kernel