An error occurred while creating initramdisk when installing the second kernel in redhat5.
Source: Internet
Author: User
When installing the second kernel in redhat5, there is a problem with making initramdisk-Linux general technology-Linux technology and application information. For more information, see the following. [I = s] This post will be edited at, September 16 ,.
1. I have installed redhat Enterprise 5 on a virtual machine and want to compile a kernel running on my host.
First, I will test the linux-2.6.29.tar.gz source code to/home/, decompress the package, and run it in linux2.6.29:
Make distclean
2. Run:
Make menuconfig
Go to the configuration menu, save it, and exit.
3. Run
Make zImage
Compile the kernel, no problem
4. Compile the kernel module.
Make modules
The compilation ends with the following:
5. I think those errors are caused by the failure to compile some modules (I do not know if they are correct ),
So continue to install the kernel module and run:
Make modules_install
Situation: (Part)
6. I entered the lib/modules directory and found that the linux2.6.29.4 folder has been generated,
Therefore, try to create the init ramdisk, but the result is as follows,
System prompt: No module uhci-hcd found for kernel 2.6.29.4, aborting.
What problems does this mean? What did I do wrong? I got stuck here and couldn't check it out for a few days. Please help me to see what went wrong.
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