![]() |
usage of imgfree for linux boot - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: usage of imgfree for linux boot (/showthread.php?tid=3008) |
usage of imgfree for linux boot - Markus - 2012-04-09 07:41 Hello, my account is unblocked so now i finally can spam. Well, kidding, sorry. Yesterday i spend some time with booting a linux installer. Normally you want to load the kernel and the initrd and then boot. so first i just tried kernel linux initrd initrd but it failed booting ending with a kernel panic. it complained about the unavailability of the ramdisk which i loaded previously. I tried different setups; loading initrd in first place or loading it via script with different options. two lines or one line with "append" option to the kernel. everything failed, so i downloaded the vmlinuz and initrd from the demo-page fo php and copied the script, changed it to my configuration. Still it did not work :/ After some searching i found that i had to use "imgfree". so before doing so i used "imgstat" to see what would the purpose be. So i found the is next to the kernel and ramdisk a script loaded with 28bytes, What is it? i just assume kernel is loading whatever there is next to it, tries loading the script as initrd, but fails. If i used imgfree, the ramdsik can be loaded. I wondered if it could be the embedded script but it has 150bytes already (which is quite easy). Please let me know what the purpose and origin of the script is ![]() Thanks and have a nice easter. Markus RE: usage of imgfree for linux boot - robinsmidsrod - 2012-04-10 14:41 If you use relative paths in your command line, it means the files are loaded from the base location you loaded ipxe from, most likely a tftp server described by your DHCP server. RE: usage of imgfree for linux boot - Markus - 2012-04-11 00:15 (2012-04-10 14:41)robinsmidsrod Wrote: If you use relative paths in your command line, it means the files are loaded from the base location you loaded ipxe from, most likely a tftp server described by your DHCP server.Well, yes. Just i would like to know why the output "imgstat" gave me from a fresh ipxe load a 28byte script back. ![]() RE: usage of imgfree for linux boot - robinsmidsrod - 2012-04-11 12:32 Most likely because the default embedded script is something like this: Code: #!ipxe RE: usage of imgfree for linux boot - Markus - 2012-04-11 17:11 Hi, thanks for reply. I wonder, where should it come from? the only script i embedded was much larger (no commented stuff inside). But currently, when i do same (i think same), like embedding a script, i cannot see any other scripts anymore when checking with imgstat. (2012-04-11 12:32)robinsmidsrod Wrote: Most likely because the default embedded script is something like this: Regards |