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 of |
---|
15 | /tftpboot provided you configure your menu files accordingly: |
---|
16 | |
---|
17 | cd pxemenu/ |
---|
18 | cp -rp pxelinux.0 memdisk com32 /tftpboot |
---|
19 | |
---|
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: |
---|
23 | |
---|
24 | cd /tftpboot |
---|
25 | ln -s com32/menu.c32 |
---|
26 | ln -s com32/chain.c32 |
---|
27 | |
---|
28 | Optionally, there are a number of additional PXELINUX *.c32 utilities in com32/ |
---|
29 | which you may want to try out. |
---|
30 | |
---|
31 | 2. Copy the PXE menu files |
---|
32 | -------------------------- |
---|
33 | |
---|
34 | Set up the PXE menu: |
---|
35 | |
---|
36 | cp pxemenu/pxelinux.cfg/default.menu /tftpboot/pxelinux.cfg/default.menu |
---|
37 | |
---|
38 | You should edit default.menu if necessary to include only those menu items |
---|
39 | that you want to provide in your environment. |
---|
40 | |
---|
41 | It is highly recommended to let default.menu become your default boot method. |
---|
42 | You enable this by: |
---|
43 | |
---|
44 | cd /tftpboot/pxelinux.cfg |
---|
45 | ln -s default.menu default |
---|
46 | |
---|
47 | 3. Copy the menu item directories |
---|
48 | --------------------------------- |
---|
49 | |
---|
50 | For the menu items that you have enabled in default.menu, copy the required |
---|
51 | example subdirectories to /tftpboot, for example: |
---|
52 | |
---|
53 | cp -rp pxemenu/Tools /tftpboot |
---|
54 | cp -rp pxemenu/ghost /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). |
---|