This host maintenance note, published on August 1, 2025, is titled "How to retrieve or reset the root password when it's forgotten on a CentOS server." The actual environment and tools involved include CentOS.
This host maintenance note, published on August 1, 2025, is titled "How to retrieve or reset the root password when it's forgotten on a CentOS server." The actual environment and tools involved include CentOS.
Software and deployment conditions
When booting up, in the GRUB boot menu interface (if it is not displayed, press and hold Shift or Esc during boot to force it to appear), select the first line (the default boot item), and press e to enter edit mode.
Parameters recorded in the original text
Version historyCentOS 8, CentOS 7
Matters mentioned in the article
First, restart the server. This can be done through the GRUB menu interface.
3. Press Ctrl+X or F10 to enter Emergency Mode.
Second, remount the root file system for read and write access.
1. After entering, the system will stop at the switch_root prompt. First, mount the root partition as read-write.
This host maintenance note, published on August 6, 2025, is titled "How to Configure Network on an Ubuntu Server." The actual environment and tools involved include Ubuntu.
This host maintenance note, published on July 11, 2025, focuses on "CentOS file deletion commands and how to recover accidentally deleted files." The actual environments and tools involved include Linux, CentOS, and FTP.
This host maintenance note, published on July 11, 2025, is titled "Complete Tutorial on Mounting Data Disks on Ubuntu Systems." The actual environment and tools involved include Ubuntu.