Glenn, Below are the instructions I use for adding a network module to the bootnet.img in Redhat 7.1. I have made the instructions based on previous postings to this list plus my own experiences. Hopefully the instructions will prove useful even though they are for RH 7.1. Set up 1. Make the following directories: /tmp/boot /tmp/boot/custom_img /tmp/boot/initrd_img /tmp/boot/modules 2. Copy the bootnet.img to /tmp/boot. Bootnet.img can be grabbed from CVS or RedHat CD #1. 3. Rename the bootnet.img to custom.img Mount and decompress the files from the boot image 1. Move into the working directory cd /tmp/boot 2. Mount the custom.img as a filesystem mount mount -o loop custom.img custom_img 3. Decompress gzip -dc custom_img/initrd.img > initrd.ext2 4. Mount initrd.ext2 as a filesystem mount mount -o loop initrd.ext2 initrd_img 5. Get the modules gzip -dc initrd_img/modules/modules.cgz >modules.cpio 6. Extract the cpio archive cd /tmp/boot/modules cpio -idumv < /tmp/boot/modules.cpio Get the new modules in place 1. Copy the new modules (*.o) to /tmp/boot/modules/2.4.2-2BOOT 2. Remove unwanted modules in /tmp/boot/modules/2.4.2-2BOOT to free up some space 3. Edit /tmp/boot/initrd_img/modules/module-info Remove the old modules and enter info for new modules 4. Edit /tmp/boot/initrd_img/modules/modules.dep Update with new dependencies 5. Edit /tmp/boot/initrd_img/modules/pcitable Update with new hardware Rebuild the boot image 1. Get into the modules directory cd /tmp/boot/modules 2. Create new modules.cpio file find 2.4.2-2BOOT -print -depth |cpio -H crc -ovF modules.cpio 2> /dev/null 3. Compress the file gzip -S .cgz modules.cpio 4. Remove the old modules.cgz rm /tmp/boot/initrd_img/modules/modules.cgz 5. Move the new modules file into place mv modules.cpio.cgz /tmp/boot/initrd_img/modules/modules.cgz 6. Get into the boot directory cd /tmp/boot/initrd_img 7. This is an important step if the floppy is full. The ext2 partition has junk left over from the removed files. It will not compress and fit on the floppy without zeroing unused bits to improve compression ratio. You will get an error that says "No Space Left on Device" -- just continue on. touch zerofile cat /dev/zero > zerofile rm -f zerofile 8. Move directories again cd /tmp/boot 9. Unmount the initrd filesystem umount initrd_img 10. Recompress it gzip initrd.ext2 11. Remove old initrd.img rm custom_img/initrd.img 12. Place new initrd on boot image mv initrd.ext2.gz custom_img/initrd.img 13. Remove unneeded *.msg files from /tmp/boot/custom_img to free up some space. 14. Unmount the bootnet filesystem umount custom_img "Glenn MacGregor" <gtm@highstreetnetwo To: <kickstart-list@xxxxxxxxxx> rks.com> cc: Sent by: Subject: Adding network driver to kickstart kickstart-list-admin @redhat.com No Phone Info Available 09/03/2003 03:04 PM Please respond to kickstart-list Hi All, I am using Redhat 8.0 with a custom ks.cfg file to load many servers. The new servers I have use a new (different) Ethernet card (Broadcom 5700). The standard RedHat 8 doesn't support this card out of the box. I was wondering if there is documentation on adding that module (bcm5700.o) as well as updating the files (pcitable?) in the initrd.img and recreating it so it will find the card. Any help would be great, thanks Glenn MacGregor