1 2 3
#!/usr/bin/env sh qemu-system-x86_64 -kernel /boot/vmlinuz-$(uname -r) -initrd initrd.cpio.gz -nographic -append "root=/dev/sda console=ttyS0"