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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8–gPXE<br />

Netbooting Over InfiniBand<br />

cd ..<br />

# get the file list in the new image<br />

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

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

# and show the differences.<br />

echo -e '\nChanges in files in initrd image\n'<br />

diff Orig-listing New-listing<br />

# copy the new initrd to wherever you have configure the<br />

dhcp server to look<br />

# for it (here we assume it's /images)<br />

mkdir -p /images<br />

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

echo -e '\nCompleted initrd for IB'<br />

ls -l /images/initrd-${kern}.img<br />

c. Run the<br />

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

script to create the initrd.img file.<br />

At this stage, the initrd.img file is ready and located at the location<br />

where the DHCP server was configured to look for it.<br />

5. Create auniboot.php file and save it to /vault/images/uniboot.<br />

NOTE:<br />

The uniboot.php generates a gPXE script that will attempt to<br />

boot from the /boot/vmlinuz-2.6.18-128.el5 kernel. If<br />

you want to boot from a different kernel, edit uniboot.php with<br />

the appropriate kernel string in the $kver variable.<br />

8-12 D000046-005 B

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

Saved successfully!

Ooh no, something went wrong!