Find the answer to your Linux question:
Results 1 to 3 of 3
Hi 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    adding realtek rtl8102 nic card in initrd.img


    Hi
    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
    Just Joined!
    Join Date
    Jul 2006
    Posts
    6
    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:
    Code:
    mkdir temp; cd temp
    zcat ../initrd.img | while cpio -i; do:; done
    # create:
    Code:
    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
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2
    it did not work bro

  4. $spacer_open
    $spacer_close

Posting Permissions

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