#!/bin/sh # inside image output dir 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