ksudoku/tools/boot_kernel.sh

11 lines
219 B
Bash
Executable File

#! /bin/bash
qemu-system-x86_64 \
-kernel /boot/vmlinuz-`uname -r` \
-nographic \
-append "console=ttyS0 nokaslr init=/bin/bash" \
-initrd `pwd`/ram.disk \
-m 512 \
--enable-kvm \
-cpu host