Re: Using cramfs as root filesystem on diskless machine

David L. Parsley
2001-06-15T18:30:49Z

Mathias Killian wrote a patch to allow cramfs initrd's, see:
http://www.cs.helsinki.fi/linux/linux-kernel/2001-01/1064.html

Alexandr Andreev wrote:
>
> Hi, list.
>
> My MIPS machine has no any disks or flopies. So i obliged to use a RAM
> disk with a file system on it, which is mounted as root.
> I use gzipped initrd image, which is linked to the special section in the
> kernel during compilation. Now, the RAM disk size is really big, so i
> decide
> to use cramfs instead of ext2. In scripts/cramfs/ I found an utility that
> creates cramfs file system image. But i read in rd.c, that RAM disk driver
> doesn't support the cramfs.
>
> After i create an image, how can i mount it as root file system? Where i
> must put it? Which kernel command line options i must use?
>
> Please answer, or point me to any documentation or mailing list.
>
> -
> 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/

--
David L. Parsley
Network Administrator, Roanoke College
"If I have seen further it is by standing on ye shoulders of
Giants."
--Isaac Newton