Difference between revisions of "Application note - UEFI PXE boot to Linux Mint"

From fit-PC wiki
Jump to: navigation, search
(Created page with "== 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 connecti...")   (change visibility)
 
(TFTP server)   (change visibility)
Line 12: Line 12:
 
TFTP_DIRECTORY="/var/lib/tftpboot"
 
TFTP_DIRECTORY="/var/lib/tftpboot"
 
TFTP_ADDRESS=":69"
 
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure --verbose"
+
TFTP_OPTIONS="--secure --ipv4 --verbose"
 +
</pre>
 +
 
 +
* Reload tftpd-hpa service and verify it's running:
 +
<pre>
 +
$ 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-fitlet2 systemd[1]: Starting LSB: HPA's tftp server...
 +
Jan 23 05:35:05 denis-fitlet2 tftpd-hpa[2539]:  * Starting HPA's tftpd in.tftpd
 +
Jan 23 05:35:05 denis-fitlet2 tftpd-hpa[2539]:    ...done.
 +
Jan 23 05:35:05 denis-fitlet2 systemd[1]: Started LSB: HPA's tftp server.
 
</pre>
 
</pre>

Revision as of 10:37, 23 January 2019

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-fitlet2 systemd[1]: Starting LSB: HPA's tftp server...
Jan 23 05:35:05 denis-fitlet2 tftpd-hpa[2539]:  * Starting HPA's tftpd in.tftpd
Jan 23 05:35:05 denis-fitlet2 tftpd-hpa[2539]:    ...done.
Jan 23 05:35:05 denis-fitlet2 systemd[1]: Started LSB: HPA's tftp server.