From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from natpool.ud.com ([65.112.245.211] helo=jikku-lt.corp.ud.com) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 16jSXV-0007eX-00 for ; Fri, 08 Mar 2002 22:08:37 +0000 Received: from infinity-studios.com (localhost.localdomain [127.0.0.1]) by jikku-lt.corp.ud.com (8.11.6/8.11.6) with ESMTP id g28M8da01528 for ; Fri, 8 Mar 2002 16:08:39 -0600 Message-ID: <3C893667.3050204@infinity-studios.com> Date: Fri, 08 Mar 2002 16:08:39 -0600 From: Dzuy Nguyen MIME-Version: 1.0 To: linux-mtd@lists.infradead.org Subject: Re: Compressed root FS & DoC partition References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: 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/ > >