SUSE Support

Here When You Need Us

Adding a new network driver to initrd

This document (7014953) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 and 11
SUSE Linux Enterprise Desktop 10 and 11
SUSE Driver Tools - SDT


Situation

One received a new server and want to install SLES 10 or 11 in it. The preferred method of installation is through the network but the initrd used in the installation does not contain the network driver for the network controller that came with the new server.

Resolution

Driver Update Disk, A.K.A DUD, will have to be created and it will have to be included in the initrd. To accomplish such task, SUSE developed an open source tool that simplifies the process tremendously called "SUSE Driver Tools", A.K.A "SDT."

  1. Installing SDT
  2. Downloading the new network drivers from SUSE.
    • Technically, you can download the network drivers from the vendor or the community. However, SUSE will not provide support for it.
    • The latest device drivers, from our hardware partners can be found at http://drivers.suse.com/driver-process/ 
    • For this exercise, the new Intel e1000e driver will be used.
      1. Navigate through pub/update/Intel/sle11sp2/common/x86_64
      2. Download both intel-e1000e-2.4.14-2.1.x86_64.rpm and intel-e1000e-kmp-default-2.4.14_3.0.13_0.27-2.1.x86_64.rpm
  3. Creating a Driver Update Disk, a.k.a. DUD
      1. Enter the root directory - 'cd /root'
      2. Create the directory /root/update - 'mkdir /root/update'
      3. Place both intel-e1000e-2.4.14-2.1.x86_64.rpm and intel-e1000e-kmp-default-2.4.14_3.0.13_0.27-2.1.x86_64.rpm in /root/update/
      4. Mount the SLES11SP2 Vanilla ISO on /media
      5. Create the DUD -  'sdt dud -u /root/update/ -b /media'
      6. The command issued on step #4, created the directory /root/linux/suse/x86_64-sles11 and its subdirectories.
  4. Creating a new initrd including the just created DUD.
      1. 'sdt -O /root/new-initrd pxe -u ./linux -b /media'  - This will create the initrd including the new DUD and copy the Linux kernel from the SLES11SP2 Vanilla media.
  5. Update PXE server with the new initrd.
      1. Replace the initrd on the PXE server by the one that was just created called /root/new-initrd. After copying it to the PXE server, remember to rename it to initrd.
  6. Update the SLES11 media with the new initrd.
      1. Copy the whole content of the SLES11SP2 media to a directory, for instance /root/new-SLES11SP2
      2. Remove the old initrd - rm /root/new-SLES11SP2
      3. Copy the new initrd to the new-SLES11SP2 directory and change its name to initrd - 'cp /root/new-initrd /root/new-SLES11SP2/boot/x86_64/loader/initrd'
      4. Create a ISO file using mkisofs - 'mkisofs -o /root/SLES11SP2A.iso -b isolinux.bin -c boot.cat -no-emul-boot \
        -boot-load-size 4 -boot-info-table -T /root/new-SLES11SP2'
      5. Burn the new created "SLES11SP2A.iso" to a DVD.

Additional Information

The Driver Update Disk - either standalone or embedded in the initrd - works this way:

1. Kernel and initrd are loaded and installation starts.
2. Kernel probes for hardware and GA modules are being loaded.
3. udev starts
4. Linuxrc starts and does an additional hardware probe
5. _Then_ Linuxrc loads the DUD and probes the modules delivered there.
6. YaST2 is fired up and installation starts.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7014953
  • Creation Date: 23-Apr-2014
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.