My remastered initrd is too big?

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
Thanos
Posts: 92
Joined: Wed Mar 29, 2023 6:02 am
Has thanked: 3 times
Been thanked: 14 times

My remastered initrd is too big?

Post 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.

step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: My remastered initrd is too big?

Post 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.

Post Reply

Return to “FatDog64”