Compressed root FS & DoC partition

Kristian Hoffmann khoff at pc-intouch.com
Fri Mar 8 02:06:10 EST 2002


You could just leave the DoC formatted as a full 16MB parition and put a
kernel, config, and compressed filesystem image in there.  Then load the
compressed image as an initrd and mount your runtime config after booting.
It works on a 16MB IDE flash drive.

HTH,

-Kristian

On Thu, 7 Mar 2002, Dzuy Nguyen wrote:

> I have a 16MB DoC 2000.  I am able to boot make an ext2 FS on and boot
> via LILO.
>
> Now, I want to be able to make it boot to a compressed root FS.  I've
> created my own
> compressed root FS (about 6MB).  I figured I'd partition the DoC into 2
> parts of 8MB
> each.  The first part is to hold the root FS (and possibly kernel) and
> the latter part an
> ext2 FS to store system's configuration files (to mount on /etc later).
>
> I've tried both using dformat and nftl_format to format half of the DoC
> and mke2fs it.
> It just refuses to make the formatted half an ext2 unless the entire DoC
> is formatted.
>
> Am I on the wrong path here?  Can someone point me to the right
> direction?  Thanks.
>
> Dzuy
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>





More information about the linux-mtd mailing list