From 10735c0c331e72edb1c31c87b3bd7380053449eb Mon Sep 17 00:00:00 2001 From: Gardais Jeremy Date: Fri, 22 Jul 2016 14:25:32 +0200 Subject: [PATCH] README.md: add how-to get PXE files from .deb --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 153336a..b5be650 100644 --- a/README.md +++ b/README.md @@ -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 ?