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 |
---|
14 | /tftpboot directory, although you can also put them in subdirectories: |
---|
15 | |
---|
16 | cp pxemenu/pxelinux.0 /tftpboot |
---|
17 | cp pxemenu/memdisk /tftpboot |
---|
18 | cp pxemenu/com32/menu.c32 /tftpboot |
---|
19 | cp pxemenu/com32/chain.c32 /tftpboot |
---|
20 | |
---|
21 | There are a number of other *.c32 utilities in pxemenu/com32/ which you |
---|
22 | may want to try out by copying them to the PXE menu system. |
---|
23 | |
---|
24 | 2. Copy the PXE menu files |
---|
25 | -------------------------- |
---|
26 | |
---|
27 | Set up the PXE menu: |
---|
28 | |
---|
29 | cp pxemenu/pxelinux.cfg/default.menu /tftpboot/pxelinux.cfg/default.menu |
---|
30 | |
---|
31 | You should edit default.menu if necessary to include only those menu items |
---|
32 | that you want to provide in your environment. |
---|
33 | |
---|
34 | It is highly recommended to let default.menu become your default boot method. |
---|
35 | You enable this by: |
---|
36 | |
---|
37 | cd /tftpboot/pxelinux.cfg |
---|
38 | ln -s default.menu default |
---|
39 | |
---|
40 | 3. Copy the menu item directories |
---|
41 | --------------------------------- |
---|
42 | |
---|
43 | For the menu items that you have enabled in default.menu, copy the required |
---|
44 | example subdirectories to /tftpboot, for example: |
---|
45 | |
---|
46 | cp -rp pxemenu/Tools /tftpboot |
---|
47 | cp -rp pxemenu/ghost /tftpboot |
---|
48 | cp -rp pxemenu/CentOS-5.0 /tftpboot |
---|
49 | cp -rp pxemenu/mysystem /tftpboot |
---|
50 | |
---|
51 | You may then edit the *.conf files in these directories to reflect your configuration. |
---|
52 | Also, you should install from other sources the requisite disk images that you have |
---|
53 | configured (comments are in the *.conf files). |
---|