Ability to build paramaters into the initramfs

Issue #7 resolved
Former user created an issue

Would it be possible to run better-initramfs without a linux bootloader, only an efi stub? I am currently unable to find any way to pass paramaters to better-initramfs without some form of systemloader. I know. for example, dracut allows you to build parameters into the initramfs but I much prefer better-initramfs.

Comments (3)

  1. Piotr Karbowski repo owner

    At this moment the params are taken from /proc/cmdline.

    Without bootloader, you could put them inside the kernel using the symbols

    CONFIG_CMDLINE_BOOL=y
    CONFIG_CMDLINE_OVERRIDE=y
    CONFIG_CMDLINE="your params here"
    

    If that won't work for you, I can add feature that will allow you to provide (default) params there.

  2. Log in to comment