boot – configuration of linux kernel compilation

I need to compile a slightly customized Linux kernel (version 5.6.0-rc6). Now I use x86_64_defconfig followed by menuconfig to configure some more options. This method works perfectly on VirtualBox having Ubuntu installed. But when I tried this on the physical server-grade system which has Optane attached it gets stuck at boot with initramfs() prompt. Upon hitting exit from that prompt it suggests three possible cause: one of them is the lake of modules which I suspect to be the case.

Note that I didn’t configure any specific options for a large number of cores, nvme support, etc. I think the required config options need to be set explicitly for these features so that modules can be compiled. But now my question is there might be hundreds of such features on server-grade systems so is there any way to find appropriate configurations for the target system?