I know that backtrack 4 is PXE enabled but the way it works doesn't quite satisfy my needs. I already have a PXE server in my network with Ubuntu,Centos,Fedora,Suse,Memtest,Knopix etc.
I need to add backtrack to the list.
So I copied vmlinuz + initrd.gz to /tftpboot/backtrack/
I modified my configuration file: vim /tftpboot/pxelinux.cfg/default
MENU LABEL BT4
APPEND netboot=http httproot=hxxp://10.15.0.3/repo/ vga=0x317 initrd=backtrack/initrd.gz ramdisk_size=9999 root=/dev/ram0 rw quiet
When I boot I can see the initrd.gz and vmlinuz are being loaded but then the system is unable to find BT4 directory and it drops into busybox shell. Which means that hxxp://10.15.0.3/repo/ is not being mounted to /mnt/httpfs/.
I can mount it from command line though:
httpfs hxxp://10.15.0.3/repo/ /mnt/httpfs/
All this makes me think that backtrack doesn't really understand following line in the configuration file:
APPEND netboot=http httproot=hxxp://10.15.0.3/repo/
So how to make backtrack aware that I need it to mount httproot=hxxp://10.15.0.3/repo/ to /httpfs during the boot proces ?