2012-07-31, 22:15
I've been messing around with iPXE for a little while now, trying to get various aspects figured out, and one thing I'm having trouble with is booting with multiple initrd commands...
This works just fine. I boot up and can see /opt/bootlocal.sh, the contents haven't change a bit... except that no matter how many times I change the file permissions on http://web/boot/bootlocal.sh, when I boot up and check /opt/bootlocal.sh it has the wrong permissions. I need that script to have execute permission so it can run on boot. The original bootlocal.sh in core.gz has execute, and the server copy of bootlocal.sh has execute, but after booting it doesn't and I'm having a hard time finding the magic words that google wants to lead me to understanding why.
If anyone could point me in the right direction on permissions with extra files loaded with initrd I'd appreciate it.
Code:
#!ipxe
kernel http://web/boot/vmlinuz
initrd http://web/boot/core.gz
initrd http://web/boot/bootlocal.sh /opt/bootlocal.sh
boot
If anyone could point me in the right direction on permissions with extra files loaded with initrd I'd appreciate it.