Page 1 of 1
porteus kiosk with tftp and http boot
Posted: 28 Aug 2013, 17:25
by psicodelico
When I run ipxe in virtualbox and I have tftp with boot folder and I have http with porteus folders. it sad:
grep: /lib/modules/3.9.11-porteus-kiosk/modules.alias: No such file or directory
find: /lib/modules/3.9.11-porteus-kiosk/kernel/drivers/net: No such file or directory
/init: line 55: ./busybox: not found
Re: porteus kiosk with tftp and http boot
Posted: 28 Aug 2013, 20:17
by fanthom
hello psicodelico,
looks like initrdpxe.xz never reached the client side. please make sure that tftpd is able to transport 3 components: vmlinuz, initrd.xz and initrdpxe.xz (containing network drivers and other utilities required for pxe boot).
Re: porteus kiosk with tftp and http boot
Posted: 30 Aug 2013, 12:26
by psicodelico
yes. I have
/tftpboot/nbi_img/pxelinux.cfg/initrdpxe.xz
/tftpboot/nbi_img/vmlinuz
/tftpboot/nbi_img/initrd.xz
and I can get this file in my computer with ftp client
Re: porteus kiosk with tftp and http boot
Posted: 31 Aug 2013, 10:57
by fanthom
definitely initrdpxe.xz is not transported to the clients. please show me your pxelinux config.
i have tried following setup and worked perfectly for me:
a) file structure:
Code: Select all
/tftpboot/boot/initrd.xz
/tftpboot/boot/pxelinux.0
/tftpboot/boot/pxelinux.cfg/default
/tftpboot/boot/pxelinux.cfg/initrdpxe.xz
/tftpboot/boot/vmlinuz
b) 'dnsmasq' working as dhcpcd daemon:
Code: Select all
dnsmasq --port=0 --dhcp-boot=/boot/pxelinux.0 --dhcp-range=192.168.1.50,192.168.1.250,infinite --log-dhcp
c) tftp-hpa-0.49-x86_64-1.txz working as tftp daemon and hosting everything placed in /tftpboot folder (tftp is started through inetd).
d) webfsd working as http server:
Code: Select all
webfsd -i 192.168.1.35 -p 80 -r /home/guest/kiosk/porteus -u nobody -g nogroup
e) pxelinux config (/tftpboot/boot/pxelinux.cfg/default):
Code: Select all
timeout 0
prompt 0
default pxe
label pxe
kernel /vmlinuz
append initrd=/initrd.xz,/pxelinux.cfg/initrdpxe.xz quiet http_server=192.168.1.35:80
please show me your configuration.
Re: porteus kiosk with tftp and http boot
Posted: 07 Sep 2013, 16:46
by psicodelico
your config work for me. I forgot config dhcp for send a file