Kernel (Re) Compilation

LipkeGu

New Member
Sep 21, 2022
5
0
1
Dear Guys,

I have an HP Gen8 Microserver with XEON E3 CPU and 16Gig RAM. I need to apply a few Kernel patches but
Some things also needs to be deactivated or changed but where can i find the file which contains the kernel configuration
lines like CONFIG_AMT=Y? for example...


Thanks
 
Hi,
the configuration for the installed kernels should be in /boot/config-<kernel version>-pve.
 
Hey,
Thats for the installed Kernel. but when i compile the kernel, where is the configuration file in the git repo?
 
During build it's created from pre-existing default configs in the kernel submodule, see the Makefile
Code:
cat ${BUILD_DIR}/${KERNEL_SRC}/debian.master/config/config.common.ubuntu ${BUILD_DIR}/${KERNEL_SRC}/debian.master/config/${ARCH}/config.common.${ARCH} ${BUILD_DIR}/${KERNEL_SRC}/debian.master/config/${ARCH}/config.flavour.generic > ${KERNEL_CFG_ORG}
cp ${KERNEL_CFG_ORG} ${BUILD_DIR}/${KERNEL_SRC}/.config
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!