Messages in this thread | | | Date | Wed, 17 Jan 2007 14:56:03 +0100 | From | Tomasz Chmielewski <> | Subject | Re: kernel cmdline: root=/dev/sdb1,/dev/sda1 "fallback"? |
| |
Alon Bar-Lev wrote: > On 1/17/07, Tomasz Chmielewski <mangoo@wpkg.org> wrote: >> Does this make sense? > > Why not add this logic into your initramfs?
Because the kernel itself is on a small flash partition (RedBoot executes the kernel from /dev/mtd1), which is only 1572864 bytes big.
So it leaves me only about 300 kB left (kernel is about 1.2 MB) for all tools needed to script such a logic, and it includes all the tools I would need. Another obstacle would be to place the initramfs image on the same partition as the kernel (normally, I dd kernel to /dev/mtd1).
Or perhaps, I don't understand initramfs correctly.
-- Tomasz Chmielewski http://wpkg.org
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |