Skip to content

Instantly share code, notes, and snippets.

@ganwell
Last active April 30, 2020 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganwell/9e5899e9b2a02b88ee884d93b16b7ede to your computer and use it in GitHub Desktop.
Save ganwell/9e5899e9b2a02b88ee884d93b16b7ede to your computer and use it in GitHub Desktop.
qemu-system-x86_64
-m 512M
-serial stdio
-monitor null
-kernel {S.kernel}
-initrd {S.initramfs}
-drive file=root.squashfs,if=virtio,format=raw
--append "root=/dev/vda console=ttyS0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment