27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8–gPXE<br />

Netbooting Over InfiniBand<br />

b. The infinipath rpm will install the file<br />

/usr/share/infinipath/gPXE/gpxe-qib-modify-initrd<br />

with contents similar to the following example. You can either run the<br />

script to generate a new initrd image, or use it as an example, and<br />

customize as appropriate for your site.<br />

# This assumes you will use the currently running version<br />

of linux, and<br />

# that you are starting from a fully configured machine of<br />

the same type<br />

# (hardware configuration), and BIOS settings.<br />

#<br />

# start with a known path, to get the system commands<br />

PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH<br />

# start from a copy of the current initd image<br />

mkdir -p /var/tmp/initrd-ib<br />

cd /var/tmp/initrd-ib<br />

kern=$(uname -r)<br />

if [ -e /boot/initrd-${kern}.img ]; then<br />

initrd=/boot/initrd-${kern}.img<br />

elif [ -e /boot/initrd ]; then<br />

initrd=/boot/initrd<br />

else<br />

echo Unable to locate correct initrd, fix script and<br />

re-run<br />

exit 1<br />

fi<br />

cp ${initrd} initrd-ib-${kern}.img<br />

# Get full original listing<br />

gunzip -dc initrd-ib-${kern}.img | cpio -it --quiet |<br />

grep -v '^\.$' | sort -o Orig-listing<br />

8-8 D000046-005 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!