https://github.com/hadisfr/compile_kernel
a bash script to compile and run linux kernel using qemu and gdb
https://github.com/hadisfr/compile_kernel
gdb kernel-compilation linux-kernel qemu
Last synced: 11 months ago
JSON representation
a bash script to compile and run linux kernel using qemu and gdb
- Host: GitHub
- URL: https://github.com/hadisfr/compile_kernel
- Owner: hadisfr
- Created: 2018-07-20T05:44:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T10:12:55.000Z (over 7 years ago)
- Last Synced: 2025-01-16T01:38:37.832Z (about 1 year ago)
- Topics: gdb, kernel-compilation, linux-kernel, qemu
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Compile Kernel
===
a script to compile and run linux kernel using QEMU and GDB
## Usage
* Download .tar.gz kernel file from https://www.kernel.org/pub/linux/kernel/
* Put `.tar.gz` file besdie this script
* Run the script
## Some sources
* https://nostillsearching.wordpress.com/2012/09/22/compiling-linux-kernel-and-running-it-using-qemu/
* https://stackoverflow.com/a/33203642
## Disclaimer
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.