Add a driver to the initrd. imgfile on the system disk.
Source: Internet
Author: User
Initrd. I recently installed a server with the driver added to the imgfile. I couldn't find the RIAD card driver. I used DELL to install the drive on a CD. the damn DELL didn't support the CENTOS system, if you want to extract the driver from the DELL disc and add it to the system disc, you can install the driver in pxe mode as follows... initrd. I recently installed a server with the driver added to the imgfile. I couldn't find the RIAD card driver. I used DELL to install the drive on a CD. the damn DELL didn't support the CENTOS system, if you want to extract the driver from the DELL disc and add it to the system disc, you can install the driver using pxe as follows. The initrd. imgfile in the damn 6.2 system CD is not in the 5.2 format. why is it so damn? because it makes the guys who have been busy for a long time damn it. Haha initrd. img compressed with lzma high compression ratio tool! Start with # yum to install lzma software. you can also find 4 packages in the installation disk. devel packages are not required. choose either of the two methods. Yum install xz-lzma-compat xz-4.999.9-0.3.beta.20091007git.el6.i686.rpmxz-devel-4.999.9-0.3.beta.20091007git.el6.i686.rpmxz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.i686.rpmxz-libs-4.999.9-0.3.beta.20091007git.el6.i686.rpm # Modify the file name without modifying it. Depressed mv initrd. img initrd. lzma # decompress and decompress it to an initrd file lzma-d initrd. lzma # cpio decompress to obtain all the files cpio-ivmd <initrd below is a simulated modification driver, of course I am not modifying the CDROM driver ha cd. /modules/2.6.32-220. el6.i686/kernel/drivers/cdrom # add the module gunzip cdrom.ko.gz gzip cdrom. ko cdrom.ko.gz: The CDROM information of the display module modinfo cdrom. ko # Modify the corresponding CDROM module file (add the corresponding file information as needed) cd/root/wj/modules/2.6.32-220. el6.i686 ll modules. *-rw-r -- 1 root 221143 Dec 13 2011 modules. alias-r W-r -- 1 root 207574 Dec 13 2011 modules. alias. bin-rw-r -- 1 root 1376 Dec 7 2011 modules. block-rw-r -- 1 root 39594 Dec 13 2011 modules. dep-rw-r -- 1 root 61932 Dec 13 2011 modules. dep. bin-rw-r -- 1 root 68 Dec 7 2011 modules. drm-rw-r -- 1 root 29 Dec 7 2011 modules. modesetting-rw-r -- 1 root 1887 Dec 7 2011 modules. networking-rw-r -- 1 root 74502 Dec 7 2011 modules. order-rw-r -- 1 root 131724 Dec 13 2011 modules. symbols-rw-r -- 1 root 164303 Dec 13 2011 modules. symbols. bin # package find. | cpio-o-H newc> initrdlzma initrd. lzmamv initrd. lzma initrd. img needs to copy the file to ISO and re-burn it on the CD. you can also choose PXE to directly overwrite the installation! The rest is the test!
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