[106] | 1 | How to install the PXE menu tools |
---|
| 2 | ================================= |
---|
| 3 | |
---|
| 4 | The files for the PXE menus are in the pxemenu/ directory. |
---|
| 5 | |
---|
| 6 | We recommend *manual* installation of the PXE menu files to your TFTP server's |
---|
| 7 | file directory (usually /tftpboot) so that your customized files in /tftpboot |
---|
| 8 | do not get overwritten by accident. |
---|
| 9 | |
---|
| 10 | 1. Copy the SYSLINUX files |
---|
| 11 | -------------------------- |
---|
| 12 | |
---|
| 13 | These files are from the SYSLINUX package and should preferentially be in the |
---|
[112] | 14 | /tftpboot directory, although you can also put them in subdirectories of |
---|
| 15 | /tftpboot provided you configure your menu files accordingly: |
---|
[106] | 16 | |
---|
[112] | 17 | cd pxemenu/ |
---|
| 18 | cp -rp pxelinux.0 memdisk com32 /tftpboot |
---|
[106] | 19 | |
---|
[112] | 20 | You also must make two com32 utilities available at the TFTP server's |
---|
| 21 | top-level directory. This can be done by softlinking them from the com32/ |
---|
| 22 | directory: |
---|
[106] | 23 | |
---|
[112] | 24 | cd /tftpboot |
---|
| 25 | ln -s com32/menu.c32 |
---|
| 26 | ln -s com32/chain.c32 |
---|
[184] | 27 | ln -s com32/hdt.c32 |
---|
[112] | 28 | |
---|
| 29 | Optionally, there are a number of additional PXELINUX *.c32 utilities in com32/ |
---|
| 30 | which you may want to try out. |
---|
| 31 | |
---|
[106] | 32 | 2. Copy the PXE menu files |
---|
| 33 | -------------------------- |
---|
| 34 | |
---|
| 35 | Set up the PXE menu: |
---|
| 36 | |
---|
| 37 | cp pxemenu/pxelinux.cfg/default.menu /tftpboot/pxelinux.cfg/default.menu |
---|
| 38 | |
---|
| 39 | You should edit default.menu if necessary to include only those menu items |
---|
| 40 | that you want to provide in your environment. |
---|
| 41 | |
---|
| 42 | It is highly recommended to let default.menu become your default boot method. |
---|
| 43 | You enable this by: |
---|
| 44 | |
---|
| 45 | cd /tftpboot/pxelinux.cfg |
---|
| 46 | ln -s default.menu default |
---|
| 47 | |
---|
| 48 | 3. Copy the menu item directories |
---|
| 49 | --------------------------------- |
---|
| 50 | |
---|
| 51 | For the menu items that you have enabled in default.menu, copy the required |
---|
| 52 | example subdirectories to /tftpboot, for example: |
---|
| 53 | |
---|
| 54 | cp -rp pxemenu/Tools /tftpboot |
---|
| 55 | cp -rp pxemenu/CentOS-5.0 /tftpboot |
---|
| 56 | cp -rp pxemenu/mysystem /tftpboot |
---|
| 57 | |
---|
| 58 | You may then edit the *.conf files in these directories to reflect your configuration. |
---|
| 59 | Also, you should install from other sources the requisite disk images that you have |
---|
| 60 | configured (comments are in the *.conf files). |
---|