wiki:pxe_boot_from_telehouse

Version 8 (modified by Jamie McClelland, 5 years ago) ( diff )

--

How do I do a network based installation in Telehouse?

robideau is configured to offer a Debian jessie installer, stretch installer and memtest via the network (via tftp) in our Telehouse location.

If you would like to use it, follow these steps:

  • Determine the MAC address of the network device you are using
  • On robideau,
    • Edit /etc/dhcp/dhcpd.conf and add a stanza for the server so it is "known"
    • start the DHCP server:
      systemctl start isc-dhcp-server
      
  • start the tftp server:
    systemctl start tftpd-hpa
    
  • Configure the target server to boot from the network device
  • You should be all set.
  • After you are done, be sure to shutdown the dhcpd and tftp services

Setup

If you want to download the installer for a newer version of debian:

  • Either on robideau (or on your laptop if it is not available on robideau), install: apt-get install debian-installer-9-netboot-amd64 (replace "9" with the version you want)
  • On robideau, make the directory:
    mkdir -p /srv/tftp/debian/<release-name>/amd64
    cd /srv/tftp/debian/<release-name>/amd64
    
  • Copy linux and initrd.gz from /usr/lib/debian-installer/images/9/amd64/gtk/debian-installer/amd64/ to /srv/tftp/debian/<release-name>/amd64
  • Edit srv/tftp/boot/grub/grub.cfg
Note: See TracWiki for help on using the wiki.