Can I create a CD with an ACL enabled kernel?Forum: Other Help Topics Topic: Can I create a CD with an ACL enabled kernel? started by: msteinbo Posted by msteinbo on Dec. 13 2005,12:07
Hi everybody,as my local filesystem(s) are containing ACLs (< http://acl.bestbits.at >) and it is not wise to mount them without ACL support , I'd like to create my own boot cd with an updated kernel (above link provides a patch for kernel 2.4.x) and SYSLINUX. BTW: Compiling the kernel is no problem at all - possibly I can use the already compiled kernel from my PC. Any ideas how to do that? Greetings Markus PS: This would also be an idea for new releases of DSL Linux. Posted by clacker on Dec. 13 2005,19:40
I'd be interested in seeing a kernel recompilation howto as well. It looks like it should be easy, but when I try it it doesn't work.I see that in the download section there are sources so I got linux-2.4.31.tar.gz, dsl.config, and knoppix-kernel.patch I installed three extensions: dsl-dpgk.dsl, gnu-utils.dsl, and gcc1.dsl. I made a source directory to put the files in, and downloaded libncurses5-dev and patch:
Then I copied linux-2.4.31.tar.gz, dsl.config, and knoppix-kernel.patch into /usr/src. I untared the linux package, copied the dsl configuration to the linux directory. I had to modify the patch before I could use it. Has anyone else run into this? Should we change the patch to be a "dsl-2.0.patch?" I had to change two lines that had gcc-2.95 to plain old gcc to avoid error further on.
then I ran the three parts of the makefile, which I though would result in a bzImage that would be identical to the one in dsl (linux24) but it was slightly larger. Why would that be?
then I made a newcd, replacing the old linux24 with a renamed bzImage but the cd didn't work (started, but couldn't write to ld.so.cache, write only file system).
It would be nice to know how this can be done. I'd also recomend fixing the patch so that it actually works with dsl. I also had problems using the libncurses5.dsl and libncurses5-dev.dsl packages. I had loaded libc.dsl and libc-dev.dsl and kernel sources.dsl first, created my /usr/src directory, and make menuconfig worked fine. After the patch it would fail because it couldn't find the libncurses5 libraries. |