2015-10-09, 12:39
Hi,
I'm trying to upload multiple files from my iPXE script to get them during initrd.
It works fine in legacy mode, but I not in UEFI mode.
The file test.txt is correctly loaded (I have done an imgstat after the load) but can not be found under /tmp (neither anywhere) during the initrd phase. It works fine in legacy mode ...
Any advices ?
Note: It took me time to find that the kernel option initrd=<file> is compulsory in UEFI mode (not in legacy)
Thanks,
Simon.
I'm trying to upload multiple files from my iPXE script to get them during initrd.
It works fine in legacy mode, but I not in UEFI mode.
Code:
#!ipxe
kernel http://my.web.server/boot/vmlinuz initrd=initrd.img
initrd http://my.web.server/boot/initrd.img
initrd http://my.web.server/boot/test.txt /tmp/test.txt
boot
The file test.txt is correctly loaded (I have done an imgstat after the load) but can not be found under /tmp (neither anywhere) during the initrd phase. It works fine in legacy mode ...
Any advices ?
Note: It took me time to find that the kernel option initrd=<file> is compulsory in UEFI mode (not in legacy)
Thanks,
Simon.