Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading a combined kernel, initramfs, and boot options as direct loadable efi stub
2018-08-28, 15:46
Post: #3
RE: Loading a combined kernel, initramfs, and boot options as direct loadable efi stub
Hi,

I put all peaces together to obtain one file that can be loaded direct from UEFI Firmware (via hard disk or USB stick).
Like hire: http://harald.hoyer.xyz/2015/02/25/singl...rdcmdline/

I know this could be done during the make of the kernel with the buildin initramfs and a cmdlin in the kernel config file (CONFIG_CMDLINE).

But I was curious if a ipxe also could load the kernel.efi file.

I use Linux/x86 4.14.43 Kernel (the config file: https://pastebin.com/qeqkUssu)

To load the kernel.efi I tried

chain -ar kernel.efi

but then when the initramfs loads and failed to progress I and up in the rescue shell.
If I cat the /proc/cmdlin only kernel.efi is in there and not the content of cmdline.txt

If I load the same file via UEFI Firmware then everything is working as expected.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Loading a combined kernel, initramfs, and boot options as direct loadable efi stub - tbk - 2018-08-28 15:46



User(s) browsing this thread: 1 Guest(s)