Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
jmgibson1981
Posts: 300
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 33 times

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

#1 Post by jmgibson1981 »

*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.

Post Reply