I'm trying to get the Kiosk version to boot via a script in iPXE.
So essentially I 'just' want to convert the /boot/pxelinux.cfg/default into a form that iPXE accepts.
What I have currently setup in a VM running CentOS 6.5 with selinux disabled (I only disabled selinux in this test VM):
- I mounted the iso file I downloaded onto a folder called 'iso'
- webfsd -p 1234 -r iso/porteus -u nobody -g nogroup
http://172.21.13.124:1234/ showsCode: Select all
drwxr-xr-x root root Apr 08 18:46 <DIR> base drwxr-xr-x root root Dec 15 18:47 <DIR> modules drwxr-xr-x root root Dec 13 19:54 <DIR> rootcopy -rw-r--r-- root root Mar 03 2013 17 kB GNU_GPL -rw-r--r-- root root Mar 03 2013 255 B License.txt -rwxr-xr-x root root May 30 2013 1021 B make_iso.sh -rw-r--r-- root root Mar 03 2013 55 B porteus-kiosk-v3.0.sgn
- webfsd -p 8765 -r iso/boot -u nobody -g nogroup
http://172.21.13.124:8765/ showsCode: Select all
drwxr-xr-x root root Oct 19 15:04 <DIR> isolinux drwxr-xr-x root root Apr 08 18:46 <DIR> pxelinux.cfg -rw-r--r-- root root Mar 08 19:52 137 kB initrd.xz -rw-r--r-- root root Feb 18 2013 25 kB pxelinux.0 -rw-r--r-- root root Mar 08 16:31 1553 kB vmlinuz
- I created an iPXE iso image with embedded a script that only does 'chain <url>'
- The file I have on this url is
Code: Select all
#!ipxe kernel http://172.21.13.124:8765/vmlinuz http_server=172.21.13.124:1234 initrd http://172.21.13.124:8765/initrd.xz initrd http://172.21.13.124:8765/pxelinux.cfg/initrdpxe.xz boot
- iPXE loads all 3 files with the notification 'ok'
- Porteus boots and immediately says:
Starting Porteus Kiosk Edition <http://www.porteus.org>
^ device not ready yet? delaying <countdown> seconds
Error: Porteus data not found
Startup cannot continue.
...
Apparently something is wrong with my setup but after two nights of trying, googling and reading documentation I've been unable to get it running.
What have I done wrong?