wiki:pxe_boot_from_telehouse

Version 7 (modified by Jamie McClelland, 16 months 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 tftp-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