Solution to the welcome to emergency mode message when booting CentOS7.4

Solution to the welcome to emergency mode message when booting CentOS7.4

Today I used a virtual machine to do an experiment. After the system was installed and some options were optimized, I mounted the ISO image file. After the system started, the following error was reported

I thought it was caused by mounting, and the original system entered the graphical interface after normal startup.

Sure enough, after I completed the mounting by mount /dev/cdrom/ /mnt/cdrom, I wrote a problem in /etc/fstab. A small mistake made the system like this. I can enter the password and then enter

There is a problem with the mount file that was written, and there is a problem with booting.

First delete this mount, then restart the system, the system starts normally.

It is recommended that you back up important configuration files before making changes. If problems occur, you can enter rescue mode and restore the original configuration.

The main operations are as follows:

First, enter the root password as prompted and log in to the rescue mode. Second, check the disk mount information. Third, comment out the content you added. If you are sure it is not in use, you can delete it. Fourth, restart OK.

You may also be interested in:
  • DataFrame data merging implementation (merge, join, concat)
  • Explanation of the usage of keras.layers.merge in keras
  • A brief discussion on the Merge layer in keras (implementation of layer addition, subtraction, and multiplication examples)
  • C++ implements merge sort (MergeSort)
  • Source code analysis of Map.merge() in JDK 1.8
  • Detailed explanation of Python3 pandas.merge usage
  • Detailed explanation of PANDAS data merging and reshaping (join/merge)
  • Pandas dataframe merging implementation (append, merge, concat)
  • JPA merge joint unique index invalid solution

<<:  MySQL simple example of sorting Chinese characters by pinyin

>>:  js implements random roll call

Recommend

How to prevent users from copying web page content using pure CSS

Preface When I was typing my own personal blog, I...

Hello dialog box design experience sharing

"What's wrong?" Unless you are accus...

Notes on the MySQL database backup process

Today I looked at some things related to data bac...

MySQL 8.0.12 Installation and Usage Tutorial

Recorded the installation and use tutorial of MyS...

Two common solutions to html text overflow display ellipsis characters

Method 1: Use CSS overflow omission to solve The ...

In-depth understanding of MySQL self-connection and join association

1. MySQL self-connection MySQL sometimes needs to...

MySQL slow_log table cannot be modified to innodb engine detailed explanation

background Getting the slow query log from mysql....

WeChat Mini Program implements the likes service

This article shares the specific code for the WeC...

Solution to the data asymmetry problem between MySQL and Elasticsearch

Solution to the data asymmetry problem between My...

Detailed explanation of the difference between uniapp and vue

Table of contents 1. Simple page example 2.uni-ap...

A brief understanding of the three principles of adding MySQL indexes

1. The Importance of Indexes Indexes are used to ...

Introduction to the usage of props in Vue

Preface: In Vue, props can be used to connect ori...

Vue realizes the card flip effect

This article example shares the specific code of ...

js to realize a simple disc clock

This article shares the specific code of js to im...