Skip to content

Adding busybox-like tools to reduce Initramfs size for Non-Busybox environments. #86

@licliu

Description

@licliu

On Fedora 41, when generate an initramfs with busybox, the resulting initramfs size is approximately 32MB. However, without busybox, the initramfs size increases significantly to around 48MB. The difference is because when busybox is not present, the programs and libraries for mounting squahfs need to be packaged into initramfs, which is quite large.

https://github.com/dracut-ng/dracut-ng/blob/e14520035286dbb4ee856cac2e05c1f21c6e148d/modules.d/88squash-lib/module-setup.sh#L53

Given that RHEL-10 does not release busybox, I suggest to implement or maintain a lightweight alternative (similar to busybox) in kdump-utils for generating smaller initramfs images.

This will greatly reduce the occurrence of OOM issues, and for Fedora users, it does not require users to explicitly install busybox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions