User Manual
InstallationRev 2.1-1.0.6
Mellanox Technologies
28
Example
The following command will create a MLNX_OFED_LINUX ISO image for RedHat 6.3 under
the /tmp directory.
2.3.2 Installation Script
Mellanox OFED includes an installation script called mlnxofedinstall. Its usage is described
below. You will use it during the installation procedure described in Section 2.3.3, “Installation
Procedure”, on page 31.
Usage
Options
# ./MLNX_OFED_LINUX-2.1-1.0.0-rhel6.3-x86_64/mlnx_add_kernel_support.sh -m /tmp/
MLNX_OFED_LINUX-2.1-1.0.0-rhel6.3-x86_64/ --make-tgz
Note: This program will create MLNX_OFED_LINUX TGZ for rhel6.2 under /tmp directory.
All Mellanox, OEM, OFED, or Distribution IB packages will be removed.
Do you want to continue?[y/N]:y
See log file /tmp/mlnx_ofed_iso.21642.log
Building OFED RPMs. Please wait...
Removing OFED RPMs...
Created /tmp/MLNX_OFED_LINUX-2.1-1.0.0-rhel6.2-x86_64.tgz
The “mlnx_add_kernel_support.sh” script can be executed directly from the
mlnxofedinstall script. For further information, please see '--add-kernel-support' option
below.
./mnt/mlnxofedinstall [OPTIONS]
-c|--config <packages config_file> Example of the configuration file can be found
under docs
-n|--net <network config_file> Example of the network configuration file can be
found under docs
-k|--kernel-version <kernel ver-
sion>
Use provided kernel version instead of 'uname -r'
-p|--print-available Print available packages for current platform and
create corresponding ofed.conf file
--without-32bit Skip 32-bit libraries installation
--without-depcheck Skip Distro's libraries check
--without-fw-update Skip firmware update
--fw-update-only Update firmware. Skip driver installation