document updated 14 years ago, on Mar 1, 2010
To workaround the problem that "Slax as PXE server" is completely broken in SLAX v6.1.2, do this:
cd /tmp/
mkdir boot
cd /tmp/boot/
cp -rpv /boot/* .
my pxelinux.cfg/pxelinux.0 .
vi /tmp/boot/pxelinux.cfg/start
(change the line that mentions)
--tftp-root=/boot
(to)
--tftp-root=/tmp/boot/
(and change the line that mentions)
--dhcp-boot=/pxelinux.cfg/pxelinux.0
(to)
--dhcp-boot=/pxelinux.0
/tmp/boot/pxelinux.cfg/start
/tmp/boot/pxelinux.cfg/web/start
I recommend that Thomas M make these changes:
- rename /boot/pxelinux.cfg/ to
/boot/pxelinux/
- move /boot/pxelinux/default to
/boot/pxelinux/pxelinux.cfg/default
(first creating the directory /boot/pxelinux/pxelinux.cfg/)
- modify /boot/pxelinux/start
- change the line --dhcp-boot=/pxelinux.cfg/pxelinux.0
to --dhcp-boot=/pxelinux/pxelinux.0
(okay, that didn't work either). Alternate recommendatinos:
- mv /boot/pxelinux.cfg/pxelinux.0 to
/boot/pxelinux.0
(sorry... I know that's not as clean, but that's the way it hasta work)
- modify /boot/pxelinux/start
- change the line --dhcp-boot=/pxelinux.cfg/pxelinux.0
to --dhcp-boot=/pxelinux.0
Basically, the directory structure ends up being;
% find /boot/ -type f
/boot/pxelinux.0
/boot/vmlinuz
/boot/initrd.gz
/boot/chain.c32
/boot/syslinux/syslinux.cfg
/boot/pxelinux.cfg/default
/boot/pxelinux.cfg/start
/boot/pxelinux.cfg/web/start
/boot/pxelinux.cfg/web/monkey
ALTERNATE SUGGESTION #3
# http://syslinux.zytor.com/wiki/index.php/PXELINUX#Can_I_send_information_to_PXELINUX_via_special_options_in_the_DHCP_response.3F
create /etc/dnsmasq.conf, add these lines:
dhcp-option-force=208,f1:00:74:7e # pxelinux.magic
dhcp-option-force=210,/ # pxelinux.pathprefix
or, in /boot/pxelinux.cfg/start, add this to the dnsmasq call:
--dhcp-option=208,f1:00:74:7e
--dhcp-option=210,/