RAID card drive integration method under LINUX
A technology of integration method and compression method, which is applied in the direction of program loading/starting, program control device, etc., can solve the problems of cumbersome, complicated compiling kernel process, waste of time, etc., and achieve the effect of simple integration method and flexible and fast integration process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0028] Example 1:
[0029] A RAID card driver integration method under LINUX, including: decompress the original initrd.img file to obtain the corresponding directory and files; compress the module file of the RAID driver and put it in the designated directory; add the hardware information of the RAID card In the specified file; pack and compress all the modified directories and files to get the modified initrd.img file containing the RAID card driver; replace the modified initrd.img with the original file, make ISO and burn, and install the CD. Drive the RAID card normally.
Example Embodiment
[0030] Example 2:
[0031] On the basis of Embodiment 1, the method described in this embodiment includes the following steps:
[0032] 1. Obtain the original initrd.img, which is located in the installation CD or image.
[0033] 2. Use the file command to view the compression method of initrd.img.
[0034] 3. Change the suffix of initrd.img to the suffix corresponding to the compression method in step 2.
[0035] 4. Use the decompression command corresponding to the compression method viewed in step 2 to decompress the modified file in step 3.
[0036] 5. Use the file command to view the type of initrd file obtained in step 4.
[0037] 6. Use the corresponding command to decompress the file obtained in step 4.
[0038] 7. Mount the img file of the RAID card driver.
[0039] 8. Use the gzip compression method to compress the driver module files.
[0040] 9. Add the correspondence between the RAID card hardware information and the RAID card driver into the modules.alias file.
[0041] 10. Copy...
Example Embodiment
[0046] Example 3:
[0047] On the basis of embodiment 1 or 2, taking a Centos6.1 system disk and RAID card driver aacraid-RHEL6.1-el6.x86_64.img as an example, the specific operation steps are as follows:
[0048] 1. Copy the initrd.img file, located in the CD isolinux / initrd.img;
[0049] 2. Check the compression method of initrd.img, file initrd.img, the display is gzip;
[0050] 3. Change initrd.img to initrd.gz mv initrd.img initrd.gz;
[0051] 4. Decompress with gunzip command to get the initrd file gunzip initrd.gz;
[0052] 5. View the initrd file type, which is cpio compressed file initrd;
[0053] 6. Create a temporary folder first. After entering the folder, unzip the file with cpio,
[0054] mkdir initrd_files
[0055] cd initrd_files
[0056] cpio –idmv <.. / initrd;
[0057] 7. Obtain the driver module,
[0058] mkdir / home / raid
[0059] mount -o loop aaacraid-RHEL6.1-el6.x86_64.img / media /
[0060] cp / media / rpms / x86_64 / kmod-aacraid-1.1.7.28700-1.el6.x86_64.rpm
[0061] / home / raid;
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap