Linux cannot start due to a mistake in fstab?

You have a new disk and you create partitions on it and modify the fstab. Reboot the OS and it won’t boot due to an wrong entry in fstab. Usually on the console screen, you will be prompt to enter single user mode as the root user. What you need to do is correct the wrong entry in fstab. However, you may find the root partition “/” is mounted as read-only mode and you can not save the modified file. All you need to do is to remount the root partition with read-write as below:

mount -o remount,rw <device> /

Then you should be able to save the modified fstab and reboot will work.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s