Re: Using cramfs as root filesystem on diskless machine

Alexandr Andreev (andreev@niisi.msk.ru)
Tue, 19 Jun 2001 19:44:52 +0400


David L. Parsley wrote

>>...
>>RAMDISK driver initialized: 16 RAM disks of 4096K size 4096 blocksize
>>
> ^^^^^
>You also need to give the kernel 'ramdisk_size=XXXX'. I've used
>larger cramfs initrd's with no problem, but the kernel has to make
>larger ramdisks. By editing rd.c, you can make this stuff default.
>
>regards,
> David
>
My cramfs ramdisk size is less then 4096, it is only 2304Kb.
Matthias Kilian wrote me in the private letter:

> The cramfs does uncompression on the fly, i.e. on each file access.
> This means that the ramdisk in your example actually uses 2304 k RAM.

And besides, i have been tried this option already.

But, thank you anyway, now i know that big cramfs initrd`s works.
Possibly, some symlinks are broken, or some libraries are missed, on my
rootfs...
But it is very strange, that ext2fs ramdisk image works with the same
rootfs on it.
I'll try to investigate it by myself.

Regards.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/