Linux

Ubuntu boot drops into emergency mode after adding a second SSD

Environment

Environment

Ubuntu 24.04 with an ext4 data disk mounted through /etc/fstab.

What happens

What happens

Boot stops in emergency mode when the secondary SSD takes longer than usual to initialize.

What I have tried

What I have tried

Checked the filesystem successfully with fsck from a live USB.

I would appreciate advice on how to identify the root cause without risking existing data or configuration.

COMMUNITY RESPONSES

Verified community troubleshooting

1 reply
0
aliceadmin Answer
user
Posted 2w ago • 0 confirmations

A safe way to narrow this down is to change one variable at a time.

Likely cause: The fstab entry uses a device path and requires the disk to be present during boot.

What I would try: Replace the device path with the filesystem UUID and add nofail plus an appropriate device timeout to the mount options.

If this is a production system, test the change during a maintenance window.

Posted 2w ago

The rollback advice is helpful. I will take a snapshot or export the configuration before testing.

Showing 1 of 1 community responses
AI DIAGNOSTICS

Incident analysis

Updated 1mo ago• Trouble ID

Most likely causes

The fstab entry uses a device path and requires the disk to be present during boot. 76%
A recent software, firmware or configuration change is exposing an existing compatibility issue. 32%

Summary

The reported behaviour is consistent with the fstab entry uses a device path and requires the disk to be present during boot. The safest next step is to verify that hypothesis with a reversible test before making permanent configuration changes.

Suggested Fixes

Verify the likely cause
Replace the device path with the filesystem UUID and add nofail plus an appropriate device timeout to the mount options.
Validate and monitor
Reproduce the issue once after the change, review relevant logs or metrics, and keep a rollback path until the system has remained stable.

Continue troubleshooting

Matched from the title, description and tags