[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

How do I create an initrd.img with the bcm5700.o module for a PXE boot



Hi,
I have built a Red Hat 7.2 system kernel 2.4.7-10
I have then installed the latest Broadcom BCM5700 Linux Driver Version
7.1.22 as per the README.TXT:-
rpm -ivh bcm5700-7.1.22-1.src.rpm
cd /usr/src/redhat
rpm -bb SPECS/bcm5700.spec
rpm -ivh --force RPMS/i386/bcm5700-7.1.22-1.i386.rpm

The system reboots fine and is using the new driver :-)

I now want to update my initrd.img which I use to build my machines as
the existing image with the older bcm5700.o fails to load with the newer
chip set on my new IBM opteron box:-(

As a first step I tried to PXE build my existing machine with the new
driver.

I have tried to update my existing initrd.img :-

zcat  /tftp/initrd.img > /tmp/initrd.e2fs
mkdir /mnt/initrd
mount  -o loop /tmp/initrd.e2fs /mnt/initrd
mkdir /tmp/modules
cd /tmp/modules
zcat /mnt/initrd/modules/modules.cgz|cpio -i --make-directories 
cp /tmp/bcm5700.o 2.4.7-10BOOT
cp /tmp/pcitable /mnt/initrd/modules/pcitable
find -name "*.o" -type f | cpio -oH crc | gzip -9 >
/mnt/initrd/modules/modules.cgz
ls -l /mnt/initrd/modules
umount /mnt/initrd
cat /tmp/initrd.e2fs | gzip  -9 > /tftp/initrd-new.img

When I use this image to kickstart the machine I built the driver on it
fails to load the bcm5700.o so my kickstart fails to find my ks.cfg.


Cheers
Richard.
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers@xxxxxxxxxxxxxxxxx
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers

[Home]     [Kernel List]     [Linux SCSI]     [Video 4 Linux]     [Linux Admin]     [Yosemite News]     [Motherboards]

Powered by Linux