* Compressed root FS & DoC partition
@ 2002-03-07 22:36 Dzuy Nguyen
2002-03-08 7:06 ` Kristian Hoffmann
0 siblings, 1 reply; 3+ messages in thread
From: Dzuy Nguyen @ 2002-03-07 22:36 UTC (permalink / raw)
To: linux-mtd
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compressed root FS & DoC partition
2002-03-07 22:36 Compressed root FS & DoC partition Dzuy Nguyen
@ 2002-03-08 7:06 ` Kristian Hoffmann
0 siblings, 0 replies; 3+ messages in thread
From: Kristian Hoffmann @ 2002-03-08 7:06 UTC (permalink / raw)
To: Dzuy Nguyen; +Cc: linux-mtd
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/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <AEA9DCA73595D411A6D4009027DE9C5E019BFA5E@MSI-EX6>]
* Re: Compressed root FS & DoC partition
[not found] <AEA9DCA73595D411A6D4009027DE9C5E019BFA5E@MSI-EX6>
@ 2002-03-08 22:08 ` Dzuy Nguyen
0 siblings, 0 replies; 3+ messages in thread
From: Dzuy Nguyen @ 2002-03-08 22:08 UTC (permalink / raw)
To: linux-mtd
I don't want to store the compressed root FS on a formatted (ext2)
partition. The idea is to make the OS
parts that are not changing (/, /usr) "less" accessible (in flash
memory), load and run it in memory,
and store the system's config (/etc) and logging (/var) on an ext2 so
all writing to it will be saved.
I can dformat half of the DoC but when I mke2fs it, the nftl driver
complains. I can use nftl_format
portion of the DoC and mke2fs OK. Problem is I can't make it bootable
like dformat does, so I'll try
grub to boot instead of LILO.
Vadim Khmelnitsky wrote:
>How about just formatting the whole diskonchip with dformat and then
>partitioning it to two logical partitions by using Linux fdisk .
>
>Vadim
>
>-----Original Message-----
>From: Dzuy Nguyen [mailto:dzuy@infinity-studios.com]
>Sent: Thu, March 07, 2002 2:37 PM
>To: linux-mtd@lists.infradead.org
>Subject: Compressed root FS & DoC partition
>
>
>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/
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-08 22:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-07 22:36 Compressed root FS & DoC partition Dzuy Nguyen
2002-03-08 7:06 ` Kristian Hoffmann
[not found] <AEA9DCA73595D411A6D4009027DE9C5E019BFA5E@MSI-EX6>
2002-03-08 22:08 ` Dzuy Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox