Is it possible to compile Busybox directly into the initramfs during the kernel build process?

@Middleware & OS I'm working on an embedded Linux system and want to use Busybox for its small footprint. Is it possible to compile Busybox directly into the initramfs during the kernel build process? This would allow Busybox to be loaded in RAM during boot, minimizing the need for a large root filesystem. I've searched online but haven't found a definitive answer. Can you advise on the best approach for achieving this?
1 Reply
Enthernet Code
Enthernet Code7mo ago
Sure, it is indeed possible to compile Busybox directly into the initramfs during the kernel build process. This approach is known as embedded initramfs or embedded rootfs.
Want results from more Discord servers?
Add your server