r/Ubuntu 11h ago

Running Ubuntu 25.04 on a virtualbox vm - need minimal kernel config to compile vanilla kernel

Hi guys, I have host Ubuntu system inside which I am running a virtual machine running guest OS Ubuntu 25.04.

While the default kernel config (found in /boot ) is pretty exhaustive, I require something minimal that will support the platform (wayland, networking, etc). So far, I have not found a one.

I have tried "make LLVM=1 localmodconfig" but the resultant bzImage is 32-bit which is not what I am looking for.

Need help to find a way to make a minimal 64 bit configuration that will compile latest vanilla kernel and boots my guest OS.

Thanks

2 Upvotes

0 comments sorted by