Minimum build config for boot messages

Johannes Thoma johannes at johannesthoma.com
Mon Aug 22 14:50:49 EDT 2016


Hi,

Am 19.08.16 um 16:17 schrieb Andre Schmidt:
 > Hello,
 >
 > what is the minimum config to build a linux kernel that just prints 
boot messages/errors?
 >
 > I was going through my old experiments/notes and found that we used 
to get kernel boot message with vanilla allnoconfig.
 >
 > make ARCH=x86_64 allnoconfig
 > make all
 > qemu-system-x86_64 -kernel arch/x86/boot/bzImage
 >
 > Those commands above used to be enough, but now the produced kernel 
doesn't print any messages on the qemu screen.
 >

Did you also disable CONFIG_PRINTK ? Without that kernel will not print 
anything, as far as I know.

HTH,

Best,

- Johannes



More information about the Kernelnewbies mailing list