iPXE discussion forum

Full Version: [ipxe] Need to multiple load over cpio(newc)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Reference URL's