G.3 Injecting Additional Device Drivers into the PlateSpin ISO Image

The PlateSpin ISO image contains a large library of device drivers sufficient to boot most common targets. However, occasionally you might want to use your own, such as lesser-known, vendor-specific or custom-developed drivers for Linux workloads.

The rebuildiso.shscript that helps you rebuild the ISO file has different options and kernel version requirements, as shown in Table G-2.

Table G-2 Comparison of rebuildiso.sh for the PlateSpin ISO

PlateSpin ISO Image File

LRD OS

Kernel Version

Bit Switch

bootofx.x2p.iso

SLES 12 SP3

4.4.73-5-default

None, assumes 64-bit

bootofx.x2p.sles11sp4.iso

SLES 11 SP4

3.1.101-63-pae

  • -m32 for 32-bit
  • -m64 for 64-bit

To inject drivers into the PlateSpin ISO image for Linux workloads:

  1. Download and extract the PlateSpin ISO images. See Downloading the PlateSpin ISO Images.

  2. Obtain or compile the required *.ko driver files.

    IMPORTANT:Ensure that the drivers are valid for the kernel version included with the ISO file you are trying to rebuild. See Table G-2, Comparison of rebuildiso.sh for the PlateSpin ISO.

  3. Mount the ISO image in any Linux machine (root credentials required). Use the following command syntax:

    mount –o loop <path-to-ISO> <mount_point>

  4. Copy the rebuildiso.sh script, located in the /tools subdirectory of the mounted ISO file, into a temporary working directory.

  5. Create another working directory for the required driver files and save them in that directory.

  6. In the directory where you saved the rebuildiso.sh script, run the following command as root, according to the ISO file you are rebuilding.

    For the PlateSpin ISO for SLES 12 SP3:

    ./rebuildiso.sh –i <ISO_file> -d <driver_dir>

    For the PlateSpin ISO for SLES 11 SP4:

    ./rebuildiso.sh –i <ISO_file> -d <driver_dir> -m32
    
    ./rebuildiso.sh –i <ISO_file> -d <driver_dir> -m64

    On completion, the ISO file is updated with the additional drivers.

    NOTE:To rebuild Migrate LRD ISO, a minimum of genisoimage 1.1.11is required. By default, operating systems such as RHEL 7 and CentOS 7 have the required genisoimage version.

  7. Unmount the ISO file (execute the command unmount <mount_point>).