Making EIT boot floppy for NIC drivers un-supported by EIT

Followings are the sequences to make EIT boot floppy for e1000 driver.
  1. Create boot floppy by EIT.
  2. mount this floppy.
    # mount /dev/fd0 /mnt/floppy
  3. extract initrd image and mount it.
    # gunzip < initrd.img > /tmp/initrd
    # mkdir /mnt/tmp
    # mount -o loop /tmp/initrd /mnt/tmp
  4. extract modules cpio file
    # cd /tmp
    # mkdir work
    # cd work
    # zcat /mnt/tmp/modules/modules.cgz | cpio --extract -d
  5. extract pro/1000 driver. Pro/1000 driver is included in CD-ROM.
    # mkdir /mnt/tmp2
    # mount -o loop /mnt/cdrom/setup/RedHat/images/drvnet.img /mnt/tmp2
    # mkdir /tmp/work2
    # cd /tmp/work2
    # zcat /mnt/tmp2/modules.cgz | cpio --extract -d
  6. copy e1000 driver to modules cpio file
    # cp */e1000.o /tmp/work/*/
    # cd /tmp/work
    # find * -type f | cpio --quiet -H crc -o | gzip -9 > /mnt//tmp/modules/modules.cgz
  7. edit other file
    # cat >> module-info
    e1000
    eth0
    "Intel EtherExpress/1000 gigabit"
    ^D
    # grep e1000 /mnt/tmp2/pcitable >> pcitable
  8. umount initrd and copy back to floppy
    # umount /mnt/tmp2
    # umount /mnt/tmp
    # gzip -9 /tmp/initrd
    # cp /tmp/initrd.gz /mnt/floppy/initrd.img

    If your floppy is full, you must remove another driver in modules cpio file.


PCCC logo PCクラスタコンソーシアム


CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.