[Linux] welcome to emergency mode!

I use / etc / fstab for Linux filesystem automount settings, If you make a mistake in this description, it will not start normally.

Of course, you can not check it even with ssh, so if you look at the console, 20180516183431.jpg welcome to emergency mode ! Don't welcome
First, log in as root and

mount -a

Try to remount the contents of the device that auto-mounts at boot time to see where it is stuck.
Once you have identified the cause, edit / etc / fstab </ font>. 20180516183508.jpg The item is different from "default".

If you review how to write in / etc / fstab,

/etc/fstab


/dev/mapper/vg_data-lv_data  /database  ext4  defaults  0  0

1st row...Device name
2nd row...Mount point
3rd row...File system type
4th row...Mounting options
5th row...Specify whether to dump the file system
6th row...Specify whether to perform fsck check at system startup

"0" in the 5th and 6th columns is not set.
In this case, the reason was that the option in the 4th column had to be set to "defaults", but it was set to "default". Shomona!

Even if there is no mistake in the boot file system, anyway, just a mistake in the description in / etc / fstab will force you to enter this mode. Be careful if you cannot access it from the console.

that's all

Recommended Posts

[Linux] welcome to emergency mode!
[Linux] Introduction to Linux
Linux commands to remember
[Windows] RDP to Windows via Linux
A super introduction to Linux
I tried to reintroduce Linux
Introduction to Linux Commands ~ LS-DYNA Edition ~
Easy copy to clipboard on Linux
Command to create Linux Live USB
A memorandum to change to Manjaro Linux
How to install wkhtmltopdf (Amazon Linux2)
How to install VMware-Tools on Linux
How to install MBDyn (Linux Ubuntu)
[linux] kill command to kill the process
Road to Linux Intermediate: Network Edition
Introducing Amplify to Amazon Linux 2 AMI
Linux commands related to character code
How to check Linux OS version
[Windows] Transfer event logs to Linux