GRUB Single User Login

Source: Internet
Author: User
GRUB orders users to log on-Linux general technology-Linux technology and application information. The following is a detailed description. This method is more complicated to boot. When you enter the GRUB startup screen, press "C" to enter the GRUB command line. If you have a password, press "P" and enter the password before running the GRUB command line.

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 to this line and press the e key to edit the line. At the end of the line, enter a space and linux single, which 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;

Sh-3.00 #

You can use df-h to view the Mount location of the file system, or use fdisk-l to view partitions. However, the write operations on the file system may be as follows;

After a single user enters the system, the system may be read-only. Run the following command;

# Mount-o remount, rw/
Kernel/boot/vmlinuz root =/dev/hda3-s

You can also enable the-s parameter to the single-user mode.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.