Scripts (download initrd, Linux kernels,…) and configurations files (PXE, preseed,…) for PXE server
Go to file
Jeremy Gardais 98b42927c2 README.md: add "Configuration files" info 2016-07-21 16:51:55 +02:00
config Bug 978 - PXE ne redémarre pas sur le disque dur local sur simpatix66 (C6220) : correction du bug qui empêchait simpatix66 de booter sur le disque local 2015-06-26 10:48:59 +02:00
preseed/debian Move finish script to script/latecommand. 2016-07-11 16:09:41 +02:00
pxelinux.cfg First commit. 2014-09-08 09:49:55 +02:00
scripts README.md: add "How-to use it" info 2016-07-21 16:42:22 +02:00
.gitignore Ignore installer directory 2016-07-20 12:09:21 +02:00
CHANGELOG - Add a vda disk to allow auto-partition from the preseed file for VM. 2015-01-21 17:26:08 +01:00
README.md README.md: add "Configuration files" info 2016-07-21 16:51:55 +02:00
chain.c32 First commit. 2014-09-08 09:49:55 +02:00
gpxelinux.0 First commit. 2014-09-08 09:49:55 +02:00
menu.c32 First commit. 2014-09-08 09:49:55 +02:00
pxelinux.0 First commit. 2014-09-08 09:49:55 +02:00
reboot.c32 First commit. 2014-09-08 09:49:55 +02:00
vesamenu.c32 First commit. 2014-09-08 09:49:55 +02:00

README.md

tftpboot

  1. Overview
  2. Description
  3. How to use it
  4. TODO

Overview

All needed files to set up a PXE servers.

Description

PXE files

Use some bootloaders files provide by:

  • pxelinux debian package:
    • gpxelinux.0
    • pxelinux.0
  • syslinux-common debian package:
    • chain.c32
    • menu.c32
    • reboot.c32
    • vesamenu.c32

Configuration files

Contains the files which defines the PXE menu. The first one will:

  • Call all others menu.cfg from subdirectories (debian/, clonezilla/,…) as an entry.
  • Define a timeout (4 seconds).
  • Define the default entry (boot on local first disk).

config/debian/menu.cfg

Preseed

Scripts

See the scripts's README.md file for more informations.

How to use it

  • Put the data of this repository on the PXE server:
    • Clone the repository with https URL or with SSH to /var/lib/tftpboot.
    • Download the last archive: wget https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/archive/master.tar.gz
  • Install a TFTP server (tftpd-hpa package for Debian's based systems or tftp-server for Redhat's based systems).
  • Start the tftpd's service:
    • sudo service tftpd-hpa start
    • sudo systemctl start tftpd-hpa
  • You can test if the TFTP server provide the files with a TFTP client (tftp-hpa) by downloading a file with the command:
    • tftp $IP.SRV.TFTP -c get README.md /tmp/README.md_from_tftpd_server

TODO

  • Add a tiny preseed file that could be load for a manual install.