Article Title: Enter the single-user mode when the system crashes. Linux is a technology channel of the IT lab in China. Some basic categories, such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems, are mostly started by Linux beginners on a GUI. In this case, if X crashes, it means that X server is always trying to restart and may not be able to enter the system. It is necessary to use a single user to log on when the system is damaged;
1. Use a single user to log on to the system;
After GRUB is started, move the keyboard to the Linux Startup item; press the e key; then move the keyboard to a line similar to the following, that is, the line of the kernel:
Kernel/boot/vmlinuz-2.6.11-1.1369_FC4 ro root = LABEL =/1 rhgb quiet move the cursor over this line, then press the e key to edit this line; a space at the end of the line, then enter linux single
It is similar to the following:
Kernel/boot/vmlinuz-2.6.11-1.1369_FC4 ro root = LABEL =/1 rhgb quiet linux single
End editing. Press enter to return;
Next we need to start the system and press the B key to start it;
Non-Fedora core 4.0 may be read-only when a single user enters the system. Run the following command;
# Mount-o remount, rw/
2. If X cannot be started, how can I log on to the machine?
Change the logon mode from graphical logon to text logon, and fix the problem;
Log On in single user mode, find the/etc/inittab file, and find the following line;
Id: 5: initdefault:
Change 5 to 3, that is, to the following:
Code:
Id: 3: initdefault: