PXELINUX with a Solaris boot server
From Brandonhutchinson.com
In this example:
- RHEL 3 AS i386 will be installed on a Sun Fire X2100 M2 using PXE Boot/Kickstart.
- The PXE Boot server/DHCP server/TFTP server is running Solaris 10 SPARC.
- The Solaris DHCP server is configured for the 10.209.128.0 network.
- The client MAC address is 001B2493A27C.
- The client hostname is mrdcmap012.
- The client hostname exists in DNS with IP 10.209.128.39.
Procedure
- Create a directory on the TFTP server for the PXE boot.
# mkdir /tftpboot/3AS-i386
- Copy vmlinuz and initrd.img from the RHEL 3 AS i386 disc1 media images/pxeboot directory to the TFTP server.
# cp disc1/images/pxeboot/vmlinuz disc1/images/pxeboot/initrd.img /tftpboot/3AS-i386
- Copy pxelinux.0 to the TFTP server. On my Ubuntu system, I installed the syslinux package and copied /usr/lib/syslinux/pxelinux.0 to the TFTP server.
# cp pxelinux.0 /tftpboot
- Create a directory for PXELINUX configuration.
# mkdir /tftpboot/pxelinux.cfg
- Configure permissions for PXELINUX.
# chmod -R 755 /tftpboot/3AS-i386 /tftpboot/pxelinux.0
- Add a Linux DHCP macro on the boot server.
# dhtadm -A -m Linux -d ':BootFile="pxelinux.0":BootSrvA=IP_of_Solaris_boot_server:'
- Configure the client to use the Linux DHCP macro.
# pntadm -A client_hostname -i 01001B2493A27C -m Linux -f PERMANENT 10.209.128.0
- Refresh the DHCP server for the pntadm change to take effect.
# svcadm refresh dhcp-server
