[Leaplist] install centos5 with lsi "driver" disk
Ingo Claro
miclaro at netred.cl
Tue Jun 16 09:58:14 EDT 2009
-------- Original Message --------
Subject: Re: [Leaplist] install centos5 with lsi "driver" disk
From: Richard F. Ostrow Jr. <rich at warfaresdl.com>
To: This is the Leap Main List <leaplist at leap-cf.org>
Date: 06/16/2009 09:04 AM
> Oh, one more thing:
>
> If you're trying to streamline this into the installation process, and the
> install doesn't offer you a shell before installing anything (poor
> design), then you'll have to edit the initrd image to load the kernel
> modules (which means you'll have to add them to the initrd image).
>
> All I can tell you there without digging too deep is that the initrd image
> can be "mounted" as a loopback device. It may or may not be compressed
> with gzip compression (sometimes there's no .gz extension when they do
> this), so you may need to decompress it before mounting it. Good luck.
> On Mon, June 15, 2009 7:33 pm, Ingo Claro wrote:
>
yea, I figured that much, the question is how to incorporate the driver
into the initrd image, I found these instructions that I will try now,
but with my driver.
1. Get initrd.img and vmlinuz from /images/pxeboot on 1st CD of distro.
cd /tftpboot; mkdir junk; cp initrd.img /tftpboot/junk; cd /tftpboot/junk
2. gzip -dc initrd.img > initrd.data
3. mount -o loop initrd.data /mnts
4. cp /mnts/modules/modules.cgz .
5. gzip -dc modules.cgz > modules.cpio
6. cpio -idv < modules.cpio
7. cp sk98lin.ko to 2.6.9-11.EL/i586 (overwrites the included and
unusable sk98lin.ko)
8. find 2.6.9-11.EL -print -depth | cpio -H crc -ovf modules.cpio
9. gzip -c9 modules.cpio > modules.cgz
10. cp -fp modules.cgz /mnts/modules
11. Edit /mnts/modules/modules.pcimap /mnts/modules/module-info
/mnts/modules/pcitable /mnts/modules/pci.ids (see first post)
12. umount /mnts
13. gzip -c9 initrd.data > initrd.img
14. cp -f initrd.img ../initrd-4.1.img
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Leaplist
mailing list