diff --git a/run-qemu.sh b/run-qemu.sh new file mode 100755 index 0000000..6b25e9f --- /dev/null +++ b/run-qemu.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +run() { + qemu-system-x86_64 \ + -kernel /home/debian/linux/linux-6.1.22/arch/x86/boot/bzImage \ + -append "console=ttyS0 root=/dev/sda rw earlyprintk=serial" \ + -nographic -m 1G \ + -hda "$1" +} + +run "$1" \ No newline at end of file