Maximum size of initrd image ??
I am looking for information about the maximum size (if there is one)
for an initrd image.
I have been trying some things with loading one and a small 4 MB image
works just fine (run as 4 MB ramdisk with virtually no free space).
The same 4 MB image contained inside an actual 40 MB ramdisk (runs as
4 MB of data with about 36 MB of free space) will also work fine.
But if I take that larger sized ramdisk and fill it with more files to
make it more like 30 MB .. so it now (should run) as the 40 MB ramdisk
with about 10 MB free space, everything falls apart. First attempt
the Kernel wouldn't even load. Later (not quite sure what I did) I
got the Kernel to load but right after it starts up I get a Kernel
initrd overwritten (0xXXXXXXXX < 0xXXXXXXXX) - disabling it.
And then when it gets to the point were it tries to mount the initrd
root, it fails saying it can't mount it.
Repeating this last scenario but only filling the ramdisk to about 16 MB,
it will work OK. So somewhere between 16 and 32 MB it stops working.
So it appears that I am hitting some kind of size limit (?) for the
initrd image size. The kernel is installed with RAMDISK=42000 so
the actual ramdisk is large enough.
Seems that usually you hear of initrd images being rather small.
Is there a size limit I am hitting?
Last edited by PeteRossi; 04-08-2005 at 07:09 PM.