Pxe configuration – Dell Emulex Family of Adapters User Manual

Page 1734

Advertising
background image

Boot Version 10.2 for NIC, iSCSI, FCoE, and RoCE Protocols User Manual

P010097-01B Rev. A

Appendix C. Examples for Configuring and Booting UEFI NIC

UEFI NIC Server Configuration Script for RHEL 6.x

1734

server = /usr/sbin/in.tftpd

server_args = -s /tftpboot/linux-install

per_source = 11

cps = 100 2

flags = IPv4

}

##### Restart TFTP service

[root@orleans ~]# service xinetd restart

Stopping xinetd: [ OK ]

Starting xinetd: [ OK ]

[root@orleans ~]# chkconfig tftp on

PXE Configuration

[root@orleans ~]# cd /work/rhel6364/

[root@orleans RHEL6364]# cd images/pxeboot/

[root@orleans pxeboot]# cp -r * /tftpboot/linux-install/

#### Copy vmlinuz and initrd to TFTP root directory

[root@orleans pxeboot]# mkdir -p /root/test1

[root@orleans images]# cd /work/rhel6364/images/

[root@orleans images]# mount -o loop efiboot.img /root/test1 ###### Extract

efiboot.img to get bootx64.efi and BOOTX64.conf files

[root@orleans images]# cd /root/test1

[root@orleans test1]# cd efi/boot/

[root@orleans boot]# cp -r * /tftpboot/linux-install/ ###### Copy bootx64.efi

and BOOTX64.conf to TFTP root directory

#### Editing efidefault to the following content

[root@orleans boot]# cat /tftpboot/linux-install/efideault

default=0

timeout 10

splashimage=(nd)/splash.xpm.gz

title RHEL6364

root (nd)

splashimage /splash.xpm.gz

kernel /vmlinuz keymap=us lang=en_US method=nfs:192.168.1.1:/RHEL6364

ip=dhcp noipv6

Advertising