Solved -PXE Boot machines showing no such file or directory.

Kernels & Hardware, configuring network, installing services

Solved -PXE Boot machines showing no such file or directory.

Postby jmgibson1981 » 2018-07-06 02:19

*EDIT* Never realized how much Ubuntu does for you. Adjusting TFTP_DIRECTORY in /etc/default/tftpd-hpa to /var/lib/tftpboot and everything is working now. Another one bites the dust. One final issue to go.

Trying to get my pxe installation server working. It is on same host as ltsp server.

Relevant part of dhcpd.conf

Code: Select all
subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.150 192.168.1.250;
    option domain-name-servers 192.168.1.2;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.1;
    next-server 192.168.1.2;
    option subnet-mask 255.255.255.0;
    filename "installers/pxelinux.0";
}


I'm trying this with a virtualbox machine. It gets the next server, and filename.

Code: Select all
Next server: 192.168.1.2
Filename: installers/pxelinux.0
tftp://192.168.1.2/installers/pxelinux.0... No such file or directory (http://ipxe.org/2d12603b)
No more network devices
FATAL: Could not read from the boot medium! System halted.


Code: Select all
ls -al /var/lib/tftpboot/installers/
total 36
drwxr-xr-x 8 root root 4096 Jul  5 18:58 .
drwxr-xr-x 4 root root 4096 Jul  5 13:55 ..
drwxr-xr-x 2 root root 4096 Jul  5 13:55 arch
drwxr-xr-x 2 root root 4096 Jul  5 13:55 centos7
drwxr-xr-x 3 root root 4096 Jul  5 13:55 debian-installer
drwxr-xr-x 2 root root 4096 Jul  5 13:55 fedora28
lrwxrwxrwx 1 root root   47 Jul  5 18:58 ldlinux.c32 -> ubuntu-installer/amd64/boot-screens/ldlinux.c32
lrwxrwxrwx 1 root root   33 Jul  5 18:58 pxelinux.0 -> ubuntu-installer/amd64/pxelinux.0
lrwxrwxrwx 1 root root   35 Jul  5 18:58 pxelinux.cfg -> ubuntu-installer/amd64/pxelinux.cfg
dr-xr-xr-x 3 root root 4096 Jul  5 13:55 ubuntu-installer
drwxr-xr-x 2 root root 4096 Jul  5 13:55 ubuntu-installer-1804
-r--r--r-- 1 root root   61 Jul  5 13:55 version.info


Copied the whole installers folder directly over from my old Ubuntu installation.
jmgibson1981
 
Posts: 60
Joined: 2015-06-07 14:38

Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable