Created
April 22, 2012 13:08
-
-
Save mafice/2464053 to your computer and use it in GitHub Desktop.
test the Linux kernel with QEMU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # build the kernel and download linux-0.2.img from http://wiki.qemu.org/Testing | |
| # | |
| KERNEL_VERSION=3.3.2 | |
| qemu -hda linux-0.2.img -append "root=/dev/sda" -kernel linux-$KERNEL_VERSION/arch/i386/boot/bzImage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment