複製 PXE 所需的程式
# cp /usr/share/syslinux/memdisk /var/lib/tftpboot
建立目錄
# mkdir /var/lib/tftpboot/dos
複製檔案到相對應目錄
# cp spfdisk.img /var/lib/tftpboot/dos
# cp ghost.img /var/lib/tftpboot/dos
# cp fdboot.img /var/lib/tftpboot/dos
[@more@]
修改 PXE 選單
# vim /var/lib/tftpboot/pxelinux.cfg/default
加入下面幾行
LABEL SPFDisk
MENU LABEL SPFDisk
MENU PASSWD SPFDisk
kernel memdisk
append initrd=dos/spfdisk.img
LABEL Symantec Ghost
MENU LABEL Symantec Ghost
MENU PASSWD Ghost
kernel memdisk
append initrd=dos/ghost.img
LABEL FreeDOS 1.0
MENU LABEL FreeDOS 1.0
MENU PASSWD FreeDOS
kernel memdisk
append initrd=dos/fdboot.img