Messages in this thread | | | From | Rob <> | Subject | Re: seperate environments for different kernels | Date | Sun, 30 May 2004 00:58:28 -0500 |
| |
On Saturday 29 May 2004 09:13 pm, Younggyun Koh wrote: > Hi, > > i want to run linux 2.6.6 kernel, which needs upgrade of some system tools > such as module-init-tools and nfs-utils. but other guys using the same > machine with 2.4 kernel don't want me to upgrade them. > > is there any way i can make different system tools installed when i boot > with the different kernel images other than mounting root directory to the > different partitions? (i can't create a new partition) > > thank you, > > -Younggyun Koh (young@cc.gatech.edu) > - > 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/
i was thinking about this... my brute force idea: make some very early init scripts manipulate a bunch of symlinks, based on the output of uname -r. you have a different kernel, it renames some dirs, and goes on as normal. in fact, you oughta be able to have a few separate init script kits that all run but immediately exit if their designated kernel isn't running, like `uname -r`= "2.6.6-test1" || exit -- Rob Couto [rpc@cafe4111.org] computer safety tip: use only a non-conducting, static-free hammer. -- - 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/
| |