New school: Enter the standalone mode of the Linux System
Source: Internet
Author: User
Article Title: New School: Enter the standalone mode of the Linux system. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source, and other basic categories. Linux administrators often need to enter the standalone mode to repair and rescue work (for example, forget the root password, re-set the new root password. If the device is not started properly, will the file be repaired? Row: fsck-y/dev/sda ??) . Many people do not know how to proceed. I just tried it today to understand it.
1. If you use lilo to boot the machine, you can select either of the following methods:
When boot: appears, please ,? Inbound:
Linux-s
Linux 1
Linux single
If? :?] The kernel information indicates that the core name is not linux? R ,? Press TAB ?, To list the kernel names (such as linux-new ). Repeat the preceding steps.
2. If GRUB is used:
Press e when the main menu appears, indicating that you want to modify the kernel boot command.
Select the command column of the kernel, press e, behind it, a blank space, plus single, press enter. As shown below: kernel/vmlinuz-2.4.20-8 ro root = LABEL =/single
Press B to start the instance? To the standalone mode.
After the emergence of sh-2.05b #, you can use the root identity to maintain the host, after the work is completed, the exit can be normal boot mode.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service