Linux finds initramfs with thanks to the device tree that the bootloader passed to itDo you know how to find out how much space my file system occupies in RAM and how much RAM is available to it? How to manually limit the amount of RAM allocated to initramfs?you would need a custom initrd, that just mounts things with normal linux commands, and copies it
or a bootloader like u-boot
https://trac.gateworks.com/wiki/linux/devicetree
https://www.baeldung.com/linux/rootfs-location
Code:
# hexdump -C /sys/firmware/devicetree/base/chosen/linux,initrd-start00000000 00 00 00 00 02 70 00 40 |.....p.@|00000008
Statistics: Posted by Hurin — Sat Mar 16, 2024 5:24 pm