Linux System Troubleshooting

Source: Internet
Author: User

# #root用户密码的修改

Press the up and down key to interrupt the boot, press "E" to enter the kernel boot

The linux16 line is deleted to the location shown on the way and modified;

Press "Ctrl+x" to start when you have finished modifying

Enter the system to switch to the real environment, start to modify the root password, and create/. autorelable file;

After completion, enter two exit exit to restart;

# #img文件的损坏

If the IMG file fails to boot properly after corruption, the IMG file must be re-established;

Boot the system through the optical drive and enter the shell interface;

Perform the operation, then enter 2 this exit, and transfer the system to the disc drive, reboot the system;

# #内核引导软件损坏

The system is transferred to the optical drive to boot and into the Shell interface;

Do the following;

# #文件引导的损坏

The boot file is located in/boot/grub2/grub.cfg;

If inadvertently deleted, can be created by command;

Grub2-mkconfig >/boot/grub2/grub.cfg

Manual boot when no this file is required, operation

Linux System Troubleshooting

Related Article

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.