Re: Using cramfs as root filesystem on diskless machine

David L. Parsley
2001-06-19T13:52:25Z

Alexandr Andreev wrote:
>
> David L. Parsley wrote:
>
> >Mathias Killian wrote a patch to allow cramfs initrd's, see:
> >http://www.cs.helsinki.fi/linux/linux-kernel/2001-01/1064.html
> >
> Thank you. I applied this patch, and recompiled my kernel.
> All works fine, if the size of root filesystem less than 4096Kb. But
> when i create
> an image of root filesystem which size is bigger than 4096Mb, the kernel
> said:
> ...
> 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
--
David L. Parsley
Network Administrator, Roanoke College
"If I have seen further it is by standing on ye shoulders of
Giants."
--Isaac Newton