Upd: Pak Ramdisk Tool

# Extract an existing ramdisk pak-ramdisk unpack /boot/initrd.img-5.15 ./ramdisk_root

Before repacking, it verifies that the modified ramdisk size does not exceed the partition size (detected from original image). pak ramdisk tool