Nolibc: a minimal C-library replacement shipped with the kernel
Nolibc: a minimal C-library replacement shipped with the kernel
Posted Apr 11, 2023 22:38 UTC (Tue) by Phoenix591 (guest, #157780)In reply to: Nolibc: a minimal C-library replacement shipped with the kernel by WolfWings
Parent article: Nolibc: a minimal C-library replacement shipped with the kernel
if you manually adjust your kernel config, depending on your disk layout, you can get down to no/ a nice small initrd. If not using lvm or raid or luks for / you can just build everything into the kernel and be fine without one. I use lvm for my / and have a 2.5 M initrd with static lvm, fsck, busybox, and microcode. to get root mounted.
boots faster than the autogenerated giant initrds too.