This is the first time we have crashed LINUX-general Linux technology-Linux technology and application information. The following is a detailed description. When you modify the/etc/profile file, you accidentally make an error. As a result, the shell cannot be run after the reset, but you have to start XP. After searching, you find that you need to go to the single-user mode to solve the problem, so we have the following process:
1. When the grub screen appears, use the up and down keys to select the one you usually start linux (do not select dos), and then press the e key.
2. Select the kernel option and press the e key to enter the edit mode.
3. Modify your command line: kernel/boot/vmlinuz-2.4.18-14 single ro root = LABEL =/
Add single, 1, or init 1 to this command line:
Kernel/boot/vmlinuz-2.4.18-14 single ro root = LABEL =/
Or kernel/boot/vmlinuz-2.4.18-14 1 ro root = LABEL =/
Or kernel/boot/vmlinuz-2.4.18-14 init 1 ro root = LABEL =/
Or kernel/boot/vmlinuz-2.4.18-14 ro root = LABEL =/single
Or kernel/boot/vmlinuz-2.4.18-14 ro root = LABEL =/1
Or kernel/boot/vmlinuz-2.4.18-14 ro root = LABEL =/init 1
4. Press enter and press the B key to start the command line.
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