Re: Using cramfs as root filesystem on diskless machine

David L. Parsley (parsley@linuxjedi.org)
Tue, 19 Jun 2001 10:04:28 -0400


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
-
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/