Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cmd:imgfetch [2016/02/17 11:06]
robinsmidsrod Added info about mode parameter
cmd:imgfetch [2016/02/17 11:26]
mcb30
Line 60: Line 60:
     kernel /​boot/​vmlinuz-2.6.31     kernel /​boot/​vmlinuz-2.6.31
     initrd initrd.img     initrd initrd.img
-    initrd /modules/2.6.31/e1000.ko ​/lib/​modules/​e1000.ko ​mode=644+    initrd /initscripts/deploy.sh /sbin/init mode=755
     boot     boot
  
-then the file ''​initrd.img''​ will be treated as a normal initramfs filesystem image, and the file ''​e1000.ko''​ will appear as an extra file ''/​lib/modules/​e1000.ko''​ within this filesystem. The optional ''​mode''​ parameter can be used to change the file mode from the default 644 to 755 (useful for binaries that need to be executed).+then the file ''​initrd.img''​ will be treated as a normal initramfs filesystem image, and the file ''​deploy.sh''​ will appear as an extra executable ​file ''/​sbin/init''​ within this filesystem. 
 + 
 +The optional ''​mode''​ parameter can be used to change the file mode, which defaults ​to 644.  This can be useful for binaries that need to be executed.
  
cmd/imgfetch.txt · Last modified: 2023/02/15 18:11 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.