Page 1 of 1
My remastered initrd is too big?
Posted: Fri Aug 30, 2024 3:02 am
by Thanos
I remastered my fatdog903,the initrd file is about 800M.
When I boot it from grub2 , it crashed .
The tip message like "the initrd is too big" , "out of memory"," the magic number ...".
How can I make a very large initrd file? My memory is 32GB, the initrd is NOT big for me.
Re: My remastered initrd is too big?
Posted: Fri Aug 30, 2024 5:37 am
by step
I suppose you could extract the base SFS from your remastered initrd, and modify the bootloader entry to boot the smaller initrd (which is obtained from the extraction) + the extracted base SFS (which is also obtained from the extraction). This technique is described in https://distro.ibiblio.org/fatdog/web/f ... nitrd.html.
Alternatively, you could boot with the "initrd-nano" found in the ISO, and modify the bootloader entry adding the "mergeinitrd" boot option discussed in https://distro.ibiblio.org/fatdog/web/f ... tions.html to merge the remastered initrd during the boot phase.