Other Help Topics :: compiling kernel using knoppix



hello, this doesnt concern dsl , but i have tried to compile linux kernel 2.6 using knoppix 3.4 live cd. the kerenl source code was in ramdisk yet it faild, i tried to compile kernel 2.2 and it also failed.

is it not possible to compile the kernel using live CD ?? i mean i dont want to install the kernel but just get the vmlinuz or zImage into ramdisk and then copy it to another storage device for later on use.

If the compiling process results in files that are written to the "read only" section of the file system, such as /usr/src, then compiling via livecd will fail.  You could attempt to create a writable file system, similar to the Synaptic Installation Script in DSL but unless you have a ton of memory you are almost guaranteed to run out of INODES because the Knoppix filesystem is much larger than the DSL file system.

Compiling the kernel will result in a bunch of new modules and configuration files that go beyond just the new vmlinuz kernal image file, so I doubt that just copying that one file over to another storage device will work properly unless your newly compiled kernel is the EXACT SAME VERSION as the already installed kernel.

Good Luck.


original here.