Centos7.3 was used well yesterday, but the boot prompt today is as follows (as shown in the figure):
welcome to emergency mode! after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to try again to boot into default mode。
give root password for maintenance
(?? Control-D???) :
After checking, it is because I wrote the CD in/etc/fstab to mount automatically, but the boot is not successful.
Solution: there is a problem with the fstab file that is automatically mounted, you can directly enter the password in this interface, and then delete the one you added, and restart OK
1: log in to the root garbled code, and also enter the password
2: VIM/etc/fstab, check the disk mounting information
3: comment out the content you added, and delete it if you are sure you are not using it
4: restart OK.
This error is mostly due to the error in the/etc/fstab file. Pay attention to whether the external hard disk, memory or network commons are loaded and not loaded during restart.
Similar Posts:
- Solutions to Ubuntu forgetting password and root password
- [Solved] Ubuntu Startup Errors were found while checking the disk-drive for /
- Linux Login MYSQL Error: ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- Unable to enter the interface after startup of Ubuntu 18.04 [failed command: read DMA]
- sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, q…
- Solution to the problem of no caching mode page found when installing CentOS 7
- [Solved] An attempt was made to call a method that does not exist. The attempt was made from the following location:
- After installing mysql, centos7 can’t start the service, and prompts unit not found
- [Solved] Forbid root, handle error sudo must be owned by uid 0
- Solutions to RHEL 7 “there are no enabled repos”