iPXE discussion forum
[ipxe] Need to multiple load over cpio(newc) - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: [ipxe] Need to multiple load over cpio(newc) (/showthread.php?tid=10941)



[ipxe] Need to multiple load over cpio(newc) - Deoptim - 2018-02-18 22:17

Hello.
For example, now I can load only one bootloader/file over cpio over initrd like this(GRUB2):
Code:
menuentry "iPXE" {
    search --set=root --file /boot/ipxe.lkrn
    linux16 /boot/ipxe.lkrn imgstat \&\& chain \<INITRD\>
    initrd16 /boot/wimboot.i386
    boot
}

I want to load multiple files (like in wimboot) over newc and select chain/kernel file to load, like this:
Code:
menuentry "iPXE" {
    search --set=root --file /boot/ipxe.lkrn
    linux16 /boot/ipxe.lkrn imgstat \&\& chain file2
    initrd16 newc:file:/path/file \
    newc:file2:/path/file2 \
    newc:file3:/path/file3
}

It can be realized?