During system boot, Ubuntu servers and desktops execute early systemd initialization targets to transition the root filesystem from early read-only rescue mode into active read-write operation. When this transition breaks down, the startup sequence stalls with an alarming red status message: [FAILED] Failed to start Remount Root and Kernel File Systems (systemd-remount-fs.service), frequently dropping the user into an emergency root shell.
Fixing this boot-level filesystem remount failure requires inspecting systemd journal diagnostics, auditing /etc/fstab mount directives, resolving invalid filesystem UUIDs, and repairing filesystem corruption with fsck.
Why Does systemd-remount-fs Fail During Boot?
The systemd-remount-fs.service unit reads /etc/fstab and applies defined mount options (such as errors=remount-ro, noatime, or custom quotas) to the root (/) and /usr partitions. Common failure causes include:
- Syntax Errors in /etc/fstab: Typographical errors, missing fields, or incorrect column spacing introduced during manual fstab edits.
- Invalid Mount Options: Specifying mount parameters (e.g.
data=orderedon an XFS partition, ordiscardon unsupported drives) that the kernel filesystem driver rejects. - Mismatched Partition UUID: The root partition UUID specified in
/etc/fstabdoes not match the actual block device UUID following a disk clone or resize. - Filesystem Inconsistencies and Dirty Flags: Unclean filesystem shutdowns leaving metadata journaling errors that prevent remounting read-write.
Step 1: Check Journal Logs in Emergency Mode
If your system dropped into the emergency maintenance shell, enter your root password and query the remount log:
- At the emergency root prompt, execute:
systemctl status systemd-remount-fs.service - Inspect the specific error line. If it states mount: /: mount point is busy or can’t find UUID=…, the issue is directly linked to an invalid
/etc/fstabconfiguration. - View detailed kernel logs:
journalctl -xeu systemd-remount-fs.service
Step 2: Remount Root Manually as Read-Write
To edit configuration files in emergency mode, make the root filesystem writable:
- Execute the manual remount command:
mount -o remount,rw / - Verify that the filesystem is now writable by checking
mount | grep "on / ".
Step 3: Validate /etc/fstab UUIDs and Options
Ensure that all UUIDs in your filesystem table match physical disk blocks:
- List the real UUIDs of all connected block devices:
blkid - Open
/etc/fstabin the Nano text editor:nano /etc/fstab - Compare the UUID for the root entry (
/) against theblkidoutput. If they differ, update the UUID to the correct identifier. - Examine the mount options column for the root partition. The standard default entry for an ext4 root partition is:
UUID=your-uuid-here / ext4 errors=remount-ro 0 1 - Ensure there are no experimental, unsupported flags.
- Save the file (Ctrl + O, Enter) and exit (Ctrl + X).
Step 4: Execute an Offline Filesystem Check (fsck)
If filesystem journaling errors persist, run an offline repair:
- Identify your root partition (e.g.
/dev/sda2or/dev/nvme0n1p2):lsblk - Force a comprehensive filesystem consistency check:
fsck -f -y /dev/nvme0n1p2 - Reboot your system:
systemctl reboot - Ubuntu will now execute the remount service cleanly and boot into normal multi-user mode.