a script to compile and run linux kernel using QEMU and GDB
- Download .tar.gz kernel file from https://www.kernel.org/pub/linux/kernel/
- Put
.tar.gz
file besdie this script - Run the script
- https://nostillsearching.wordpress.com/2012/09/22/compiling-linux-kernel-and-running-it-using-qemu/
- https://stackoverflow.com/a/33203642
This script is provided AS-IS WITHOUT WARRANTY OF ANY KIND. Use it at your own risk.
I strongly suggest using script on a VirtualBox VM and backing up any sensitive data before usage.