From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GAqte-0001zr-2Y for garchives@archives.gentoo.org; Wed, 09 Aug 2006 16:27:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k79GPJD7009182; Wed, 9 Aug 2006 16:25:19 GMT Received: from ms-smtp-02.tampabay.rr.com (ms-smtp-02.tampabay.rr.com [65.32.5.132]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k79GPHbm013003 for ; Wed, 9 Aug 2006 16:25:18 GMT Received: from [192.168.2.23] (www.buffer.net [24.73.161.102]) by ms-smtp-02.tampabay.rr.com (8.13.6/8.13.6) with ESMTP id k79GPFf4000011; Wed, 9 Aug 2006 12:25:15 -0400 (EDT) Message-ID: <44DA0C65.1020303@tampabay.rr.com> Date: Wed, 09 Aug 2006 12:25:09 -0400 From: wireless User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060616 X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org CC: Kfir Lavi Subject: Re: [gentoo-embedded] What file system I should use with flash? References: <200608090205.54864.vapier@gentoo.org> <44D9E909.8010906@kivasystems.com> In-Reply-To: <44D9E909.8010906@kivasystems.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Archives-Salt: 00a5658b-e04f-495c-8a02-d7c79697a158 X-Archives-Hash: d885a212a5be08e8853d0d5783480676 Joshua Pollak wrote: > Mike Frysinger wrote: > >>On Wednesday 09 August 2006 01:39, Kfir Lavi wrote: >> >>>I have read about JFFS2 but it is not supported in gentoo (or is it?). >>>What will be your recommendations for such filesystem? >> >>if you need rw, then jffs2 or yaffs2 >> >>jffs2 is prob the easiest route since it's already in the kernel >> >>i dont know what you mean by "supported" as all you need is userspace >>utilities to generate the jffs2 image (in the portage tree as mtd-utils) and >>a kernel to mount it (in the mainline kernel) >>-mike > > Do you use initrd to bootstrap, or do boot loaders like lilo and grub > understand jffs2? I've been using ext2 on my CompactFlash simply because > I'm too lazy and haven't had time to learn how to use initrd. Well, I do not know about JFFS2 either, but I do have something to share. It is a result of a (borked) installation off of a 2006.0 liveCD, that I ended up finishing manually. The system was left with a bootable kernel and this grub entry, that still works; in fact an Athlon XP is currently booted form this grub entry. Maybe it could be used as a starting point for initrd? uname -r 2.6.15-gentoo-r5 title=Gentoo Linux genkernel-x86-2.6.15-gentoo-r5 root (hd0,0) kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda2 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5 in /boot/ kernel-genkernel-x86-2.6.15-gentoo-r5 initramfs-genkernel-x86-2.6.15-gentoo-r5 kernel-2.6.17-gentoo-r4 I'm not positive that initrd is being used, but, I thought I'd show this grub.conf entry as it works. I keep mulitple (valid) kernels around for several reasons, but my usual grub.conf looks like: title=Gentoo Linux 2.6.17-gentoo-r4 root(hd0,0) kernel /kernel-2.6.17-gentoo-r4 root=/dev/hda2 Any enlightenment as to why this sort of entry is created from the livecd and if this entry is using initrd from grub, would be interesting to me. hth, James -- gentoo-embedded@gentoo.org mailing list