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 deploy Rancher with Docker (no pitfalls)

Must read before operation: Note: If you want to ...

Fabric.js implements DIY postcard function

This article shares the specific code of fabricjs...

Discussion on default margin and padding values ​​of common elements

Today we discussed the issue of what the margin v...

Illustration of the process of using FileZilla to connect to the FTP server

When I first started setting up an ftp server on ...

Python3.6-MySql insert file path, the solution to lose the backslash

As shown below: As shown above, just replace it. ...

js realizes the magnifying glass function of shopping website

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

Example analysis of interval calculation of mysql date and time

This article uses an example to describe the inte...

Navicat for MySql Visual Import CSV File

This article shares the specific code of Navicat ...

Detailed process of FastAPI deployment on Docker

Docker Learning https://www.cnblogs.com/poloyy/p/...

Nginx domain forwarding usage scenario code example

Scenario 1: Due to server restrictions, only one ...

Ubuntu 20.04 connects to wifi (2 methods)

I recently installed Ubuntu 20.04 and found that ...

MySQL database deletes duplicate data and only retains one method instance

1. Problem introduction Assume a scenario where a...

Perfect solution to Google Chrome autofill problem

In Google Chrome, after successful login, Google ...

JavaScript canvas text clock

This article example shares the specific code of ...