From: Dzuy Nguyen <dzuy@infinity-studios.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Compressed root FS & DoC partition
Date: Fri, 08 Mar 2002 16:08:39 -0600 [thread overview]
Message-ID: <3C893667.3050204@infinity-studios.com> (raw)
In-Reply-To: AEA9DCA73595D411A6D4009027DE9C5E019BFA5E@MSI-EX6
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/
>
>
next parent reply other threads:[~2002-03-08 22:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AEA9DCA73595D411A6D4009027DE9C5E019BFA5E@MSI-EX6>
2002-03-08 22:08 ` Dzuy Nguyen [this message]
2002-03-07 22:36 Compressed root FS & DoC partition Dzuy Nguyen
2002-03-08 7:06 ` Kristian Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C893667.3050204@infinity-studios.com \
--to=dzuy@infinity-studios.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox