Application note - UEFI PXE boot to Linux Mint

From fit-PC wiki
Revision as of 10:38, 23 January 2019 by Denis (Talk | contribs)

Jump to: navigation, search

Overview

In this tutorial you will be able to create PXE server on your PC that allows you to boot multiple distributions directly from ISO image using Ethernet connection only

TFTP server

$ sudo apt install tftpd-hpa
  • Edit configuration file: /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure --ipv4 --verbose"
  • Reload tftpd-hpa service and verify it's running:
$ sudo systemctl restart tftpd-hpa
$ systemctl status tftpd-hpa
● tftpd-hpa.service - LSB: HPA's tftp server
   Loaded: loaded (/etc/init.d/tftpd-hpa; generated)
   Active: active (running) since Wed 2019-01-23 05:35:05 EST; 1min 13s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2534 ExecStop=/etc/init.d/tftpd-hpa stop (code=exited, status=0/SUCCESS)
  Process: 2539 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/tftpd-hpa.service
           └─2547 /usr/sbin/in.tftpd --listen --user tftp --address :69 --secure --ipv4 --verbose /var/lib/tftpboot

Jan 23 05:35:05 denis-PC systemd[1]: Starting LSB: HPA's tftp server...
Jan 23 05:35:05 denis-PC tftpd-hpa[2539]:  * Starting HPA's tftpd in.tftpd
Jan 23 05:35:05 denis-PC tftpd-hpa[2539]:    ...done.
Jan 23 05:35:05 denis-PC systemd[1]: Started LSB: HPA's tftp server.