Booting a Custom Linux Kernel in QEMU and Debugging it with GDB
Nick Desaulniers
OCTOBER 24, 2018
Typically, when we modify a program, we’d like to run it to verify our changes. Before booting a compiled Linux kernel image on actual hardware, it can save us time and potential headache to do a quick boot in a virtual machine like QEMU. as a sanity check. If your kernel boots in QEMU, it’s not a guarantee it will boot on metal, but it is a quick assurance that the kernel image is not completely busted.
Let's personalize your content