Messages in this thread | | | Date | Fri, 6 Jul 2007 17:00:40 +0200 (CEST) | From | Bodo Eggert <> | Subject | Re: [RFC][Patch] Allow not mounting a root fs |
| |
On Thu, 5 Jul 2007, H. Peter Anvin wrote:
> Bodo Eggert wrote: > > This patch adds the option to not mount another root filesystem > > by specifying root=initramfs. > > Uhm, the kernel doesn't mount anything if you're using an initramfs.
Yes, instead it panics trying to mount the non-existing "root=". I've put the complete system into initrams, and I just want the kernel to run /sbin/init.
> > BTW: Is it possible to mount a tmpfs on / before extracting the cpio? > > Not in the stock kernel. There have been some patches floating around > for that, I think.
Are they messy, or would it just be a case of calling sys_mount before unpacking the cpio? -- The complexity of a weapon is inversely proportional to the IQ of the weapon's operator. - 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/
| |