How to restore the CenterOS kernel after it is deleted
Source: Internet
Author: User
When compiling and installing a new kernel last night, you did not have to delete the kernel file in/boot. after the kernel is restarted, the system cannot start again. If you reinstall the system, all recent work on the hard disk will be lost. After some attempts, the kernel was eventually restored. The process record is as follows: Find the installation light... information & when compiling and installing the new kernel last night, you will not be able to delete the kernel file in/boot, and the system will not be able to start again after restart. If you reinstall the system, all recent work on the hard disk will be lost. After some attempts, the kernel was eventually restored. The process is recorded as follows: Find the installation disc and start it from the disc. After the CenterOS installation disc is started, select "rescue installed system" in the startup menu to enter the rescue mode. The network must be correctly configured during the start of the rescue mode. After www.2cto.com is started, enter: chroot/mnt/sysimage on the command line to reinstall kernel: yun reinstall kerenl with yum. Prepared by xparmenides
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