Created
November 15, 2022 20:41
-
-
Save Gonzih/5beff49be3c61b09795f88a2b30ebb07 to your computer and use it in GitHub Desktop.
linux kernel development qemu script
This file contains 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
sudo qemu-system-x86_64 \ | |
-kernel arch/x86_64/boot/bzImage \ | |
-initrd ramdisk.img \ | |
-display none \ | |
-serial stdio \ | |
-append "root=/dev/vda console=ttyS0 nokaslr" \ | |
-drive format=raw,file=/home/gnzh/mydev/linsicles/buildroot/output/images/rootfs.ext4,if=virtio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment