PXELINUX with a Solaris boot server

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: In this example, I install RHEL 3 AS i386 on a Sun Fire X2100 M2 using PXE Boot/Kickstart. The PXE Boot server/DHCP server/TFTP server is running Solaris 10 SPARC. * Create a directory on...)
Line 1: Line 1:
-
In this example, I install RHEL 3 AS i386 on a Sun Fire X2100 M2 using PXE Boot/Kickstart. The PXE Boot server/DHCP server/TFTP server is running Solaris 10 SPARC.
+
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 001B245C14C5.
 +
 
 +
== Procedure ==
* Create a directory on the TFTP server for the PXE boot.
* Create a directory on the TFTP server for the PXE boot.
Line 16: Line 22:
# '''chmod -R 755 /tftpboot/3AS-i386 /tftpboot/pxelinux.0'''
# '''chmod -R 755 /tftpboot/3AS-i386 /tftpboot/pxelinux.0'''
-
* Add the DHCP macro for PXELINUX.
+
* Add a ''Linux'' DHCP macro on the boot server.
# dhtadm -A -m Linux -d ':BootFile="pxelinux.0":BootSrvA=''IP_of_Solaris_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 01001B245C14C5 -m Linux -f PERMANENT 10.209.128.0
== Links ==
== Links ==
* [http://www.sun.com/blueprints/0205/819-1692.pdf Configuring JumpStart™ Servers to Provision Sun™ x86-64 Systems (pdf)]
* [http://www.sun.com/blueprints/0205/819-1692.pdf Configuring JumpStart™ Servers to Provision Sun™ x86-64 Systems (pdf)]

Revision as of 20:22, 6 February 2008

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 001B245C14C5.

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 01001B245C14C5 -m Linux -f PERMANENT 10.209.128.0

Links

Personal tools