run 191 B

1234
  1. #!/bin/sh
  2. # inside image output dir
  3. qemu-system-riscv32 -m 32M -machine virt -nographic -kernel Image -bios none -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0