Hi, It would be great to had a new parameter that would be interpreted by the genkernel generated init script to handle the rootflags parameter. This actual kernel parameter permit to pass special options for mounting the root filesystem (for example an external log). Adding for example a real_rootflags parameter used when mounting the "real_root" would be great. Thanks
Could you perhaps exaplin in more detail? I'm not sure I am grasping what you are requesting.
Take a look at this thread: http://forums.gentoo.org/viewtopic-p-3107911.html I think this will explain better what i mean...
And why wouldn't it work to just have the correct options in /etc/fstab? It works fine for me.
(In reply to comment #3) > And why wouldn't it work to just have the correct options in /etc/fstab? It > works fine for me. > Perhaps because when your root is not mounted, your fstab is not accessible??? This is ok for other mount point, but for your / this can't work in my opinion... Or perhaps genkernel embed the fstab in the initramfs, however this is not what the init script in the ramfs seems to do...
What I mean is the root filesystem is *remounted* during boot. At this point, it uses the settings from the fstab. Well, I've read over your thread on the forums and see where your problem is occurring. If you're not building your root fileystem as a module, you don't need an initramfs, at all. You can have genkernel not build one, you know. Anyway, I'll look about adding a real_rootflags to a future genkernel.
Created attachment 96974 [details, diff] Patch for generic/linuxrc This is a patch against the generic linuxrc script to add support for passing the real_rootflags boot parameter to the initial mount of the real root filesystem.
I've added this to subversion, now... It should show up in 3.4.5 or better.
Added to 3.4.5 which is about to hit the tree.