Starting from: Linux rescue mode

Source: Internet
Author: User
Tags administrator password

If the system administrator password is forgotten, do not want to install the system by the extreme way to solve the problem, it is necessary to use the rescue mode


First, to enter the BIOS to switch to CD-ROM boot, the concrete steps are basic things do not do the description directly skip ...


After the disc is booted, use the UP and DOWN ARROW keys to select ' Rescue installed system ' carriage return

    • Language we default, direct carriage return

    • Keyboard type, also default, direct carriage return

    • Rescue Method also remains the default, because we are using the CD-ROM, enter

    • This step asks me whether to enable the network when using the rescue mode, this according to the actual situation, here Amin chooses no (uses the TAB key) to enter

    • The next step, we rescue the environment will find our installed Linux system and mount it to/mnt/sysimage, this step Amin will select ' Continue ' and then enter

    • After you enter, you will see a small prompt box that tells us that the Linux system is attached to "/mnt/sysimage". If you want to get the root environment, you need to execute the command "Chroot/mnt/sysimage" continue to enter

    • Continue to enter

    • At this point, there is a box, there are three modes can choose: Shell mode will go directly to the command line, the operation can be edited files, modify the user password, etc. fakd is a diagnostic mode; reboot will restart directly; this step Amin select the first shell mode and then enter


At this point, you need to enter the command chroot/mnt/sysimage enter the command before you can see the command line before the user changed to SH. Only then can the normal operation to modify the password


Starting from: Linux rescue 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.