The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE with multiple initrd permissions
2012-07-31, 22:15
Post: #1
iPXE with multiple initrd permissions
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...
Code:
#!ipxe
kernel http://web/boot/vmlinuz
initrd http://web/boot/core.gz
initrd http://web/boot/bootlocal.sh /opt/bootlocal.sh
boot
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
iPXE with multiple initrd permissions - brycez - 2012-07-31 22:15



User(s) browsing this thread: 2 Guest(s)