Adding kernel config option to Ubuntu Server installation .iso

ilykos asked:

Is it possible to change the installation files in the .iso live image of Ubuntu Server, to add a certain kernel configuration option?

My goal is to enable CONFIG_DMA_CMA, so the kernel is compiled with CONFIG_DMA_CMA with every installation from this particular .iso image.

This, of course, depends on whether Ubuntu is actually building the kernel with every installation.

My answer:

It doesn’t matter because your system does not compile the Ubuntu kernel. It is built by Ubuntu and shipped in binary form, as virtually all distributions do. If you need a custom kernel you can follow Ubuntu’s directions for building a kernel and making deb packages from it.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.