Linux single-user mode is a system recovery mode that a system administrator must master. For example, the system boot file error, forget the administrator root password, and the document repair is a necessary repair mode. For different boot mode lilo or Grub, the method of entering single-user mode is similar.
1. If you are using lilo to boot the booter, the following commands can be used:
When boot:: When booting, type:
:linux -s
or
:linux 1
or
:linux single
If there is no information about this kernel, the kernel name is not called Linux, at this time, the Linux TAB key is of great use, it can fill in the kernel name (such as linux-new), and finally repeat the above steps.
2. If you are using GRUB:
Press e key when booting the main menu to change the kernel boot setting parameters,
Select the kernel command, press e Modify, at the end of the line, empty one space, add single (or directly add 1 to OK), press enter to save. As shown below: kernel /vmlinuz-2.4.20-8 ro root=LABEL=/single
After the above modification, press b to boot, you can enter single user mode smoothly.
After sh-2.05b# appears, you can use root to maintain the host. After the work is completed, you can exit the normal boot mode.
How Linux extends the XFS file system. There is extra space on the disk, so I want to extend the exi
Sometimes when Linux has multiple network cards, you need to add routes to other network ca
Compiled linux kernel has been 3 times, each compilation needs to go online to find the compilation
The introduction of the information age has brought great convenience and benefits to our l
Linux process management related content
Linux system Shell if statement usage summary
RedHat 9 Linux starts SSH service command
Linux task planning tool crontab
RACK provides power source for TCP BBR
Ubuntu system Grub failure how to do
Getting started with vi editor command under linux
Linux modify the partition name created during installation
The difference between the linux command su and su- The maximum essential difference between the
Win7 screen brightness how to adjust
Windows 10 RedStone Build 14251 released
Windows 7 Operations Center easily set system security (2)
Meteor Butterfly Sword fourth off how to play Meteor Butterfly Sword fourth off Raiders
Win10wifi restricted how to do? win10wifi limited solution graphic tutorial
How to use cat-eye movies Cat-eye movie online selection tutorial
How to use WeChat to quickly add friends to WeChat
Fault analysis and solution for a white frame on the Win7 system desktop that cannot be closed