Hi again
Sorry, I completely forgot, that I do serve different files for efi and
bios clients. I have the following in my dhcpd.conf:
option arch code 93 = unsigned integer 16;
option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
#filename "pxelinux.0";
# see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720589
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) =
"PXEClient";
# the gateway is DHCPD + TFTPD
next-server 192.168.10.12;
site-option-space "pxelinux";
if exists dhcp-parameter-request-list {
# Always send the PXELINUX options (specified in
hexadecimal)
option dhcp-parameter-request-list = concat(option
dhcp-parameter-request-list,d0,d1,d2,d3);
}
if option arch = 00:06 {
filename "pxelinux/bootia32.efi";
option pxelinux.configfile "pxelinux.cfg/efi32";
} else if option arch = 00:07 {
filename "pxelinux/bootx64.efi";
option pxelinux.configfile "pxelinux.cfg/efi64";
} else {
filename "pxelinux/pxelinux.0";
option pxelinux.configfile "pxelinux.cfg/bios";
}
}
And on the TFTP Server it looks like:
drwxr-xr-x 12 root root 4096 Nov 6 00:49 .
drwxr-xr-x 4 root root 4096 Nov 28 15:54 ..
drwxr-xr-x 2 root root 4096 Nov 5 22:58 bios
-rw-r--r-- 1 root root 155560 Nov 6 00:16 bootia32.efi
-r--r--r-- 1 root root 162744 Nov 6 00:16 bootx64.efi
drwxrwxr-x 3 root root 4096 Feb 11 2013 debian-installer
drwxr-xr-x 2 root root 4096 Nov 5 22:59 efi32
drwxr-xr-x 2 root root 4096 Nov 5 22:59 efi64
-rw-r--r-- 1 root root 106837 Nov 5 22:40 gpxelinux.0
drwxr-xr-x 4 root root 4096 Feb 21 2013 grml
-rw-r--r-- 1 root root 115540 Oct 15 09:01 ldlinux.c32
-rw-r--r-- 1 root root 117396 Oct 15 09:02 ldlinux.e32
-rw-r--r-- 1 root root 134872 Oct 15 09:02 ldlinux.e64
-rw-r--r-- 1 root root 75356 Nov 5 22:40 lpxelinux.0
-rw-r--r-- 1 root root 25628 Nov 5 23:00 memdisk
drwxr-xr-x 4 root root 4096 Mar 1 2013 mint
drwxr-xr-x 2 root root 4096 Feb 21 2013 pmagic
-rw-r--r-- 1 root root 42744 Nov 5 22:40 pxelinux.0
drwxr-xr-x 2 root root 4096 Nov 5 22:31 pxelinux.cfg
drwxrwxrwx 4 root root 4096 Apr 12 2011 trinity
Regards, Adrian.
Am 30.11.13 12:09 schrieb Adrian Zaugg: