Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    adding realtek rtl8102 nic card in initrd.img

    i have redhat EL desktop 4.6 version.For tftp i want to add rtl8102 nic drivers
    in initrd.img, for redhat desktop. i am new one in linux so if somebody
    write step by step configuration for extracting initrd , adding nic and make again initrd.img and vmlinuz.
    Thanks for help

  2. #2
    You simply need to recompile the kernel with a added support for rtl8102 nic drivers then update the modules inside the initrd.img.

    To update the modules inside initrd.img, you'll need to extract it first then copy new files or replace files in lib/modules/. After updating the files, you'll then have to create a new initrd.

    # extract:
    mkdir temp; cd temp
    zcat ../initrd.img | while cpio -i; do:; done
    # create:
    ls -1 | sort | cpio --create -H bin | gzip -c > ../initrd-new.img
    i'm not sure if it's '-H bin'. please just try.

  3. #3
    it did not work bro

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts