* Re: [gentoo-embedded] What file system I should use with flash?
@ 2006-08-09 16:25 99% ` wireless
0 siblings, 0 replies; 1+ results
From: wireless @ 2006-08-09 16:25 UTC (permalink / raw
To: gentoo-embedded; +Cc: Kfir Lavi
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
<snip>
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-08-09 5:39 [gentoo-embedded] What file system I should use with flash? Kfir Lavi
2006-08-09 6:05 ` Mike Frysinger
2006-08-09 13:54 ` Joshua Pollak
2006-08-09 16:25 99% ` wireless
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox