README.md: add how-to get PXE files from .deb

This commit is contained in:
Jeremy Gardais 2016-07-22 14:25:32 +02:00
parent c7d3c03f2d
commit 10735c0c33
1 changed files with 12 additions and 2 deletions

View File

@ -11,7 +11,7 @@
## Overview
All needed files to set up a PXE servers.
All needed files to set up a PXE server.
## Description
@ -26,6 +26,16 @@ Use some bootloaders files provide by:
* reboot.c32
* vesamenu.c32
To get those files from the packages of APT repositories:
``` sh
mkdir -p temp_pxe_files
cd temp_pxe_files
aptitude download pxelinux syslinux-common
ar p pxelinux*.deb data.tar.xz | tar xJ -C . --strip-components=4 ./usr/lib/PXELINUX/{g,}pxelinux.0
ar p syslinux-common*.deb data.tar.xz | tar xJ -C . --strip-components=6 ./usr/lib/syslinux/modules/bios/{chain,menu,reboot,vesamenu}.c32
```
The MD5 checksum can mismatch between the files from this repo and those from Debian's packages.
### Configuration files
Contains the files which defines the PXE menu. The [first one][main menu.cfg] will:
* Call all others menu.cfg from subdirectories (debian/, clonezilla/,…) as an entry.
@ -73,7 +83,7 @@ See the [scripts's README.md][scripts readme.md] file for more informations.
* [Wheezy preseed file][preseed wheezy] to download the postinstall script from your TFTPD server (**in-target /usr/bin/tftp SRV.IP.AD.DR**)
## TODO
* Add a tiny preseed file that could be load for a manual install.
* Add a tiny preseed file that could be loaded for a manual install.
* Download the latecommand archive from this repository instead of the TFTPD server?