efi_load_initrd(9)
π« efi_load_initrd(9) π«
okay so bestie, welcome to efi_load_initrd β it's a kernel API manual page, and yes it's from the Kernel API Manual section 9, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
efi_load_initrd β literally just: Load initial RAM disk. That's the whole vibe. π
πΈ SYNOPSIS πΈ
efi_status_t efi_load_initrd (efi_loaded_image_t *image , unsigned long
soft_limit , unsigned long hard_limit , const struct linux_efi_initrd
**out );
like, exact characters, no cap β copy that into your editor and it'll eat π
π¦ ARGUMENTS π¦
okay so here's the cast of characters, one bullet each, no skipping:
imageβ this one's the EFI loaded image protocol. main character energy fr.soft_limitβ the preferred address for loading the initrd. like, if it's free, great, that's the dream spot β¨hard_limitβ the upper limit address for loading the initrd. don't go past this one, bestie πoutβ a pointer to store the address of the initrd table. it's where the answer gets dropped off π¦
π₯ RETURN π₯
status code. that's it. that's the return value, lowkey iconic in its brevity π
π SEE ALSO π
so many friends in the group chat, let's go:
- Kernel file
./drivers/firmware/efi/libstub/efi-stub-helper.cβ yeah that's the whole path, don't @ me π efi_parse_options(9)efi_exit_boot_services(9)get_efi_config_table(9)efi_load_initrd_dev_path(9)efi_wait_for_key(9)efi_remap_image(9)
all of them sit at section 9, every single one, iykyk π
ngl bestie, if you're touching this, you're already deep in EFI stub territory β read the whole page before you ship anything π«Ά
and that's the page!! mwah π
sign-off time, cutely: this one lives under ./drivers/firmware/efi/libstub, it's dated October 2026, and it's the efi_load_initrd(9) page β that's the version-and-date energy, periodt π§ββοΈβπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms