start_qemu.sh脚本报 Drive 'hd0' is already in use问题 #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
报错如下:
qemu-system-riscv64: -drive file=rootfs.ext2,format=raw,id=hd0: Drive 'hd0' is already in use because it has been automatically connected to another device (did you need 'if=none' in the drive options?)
目前已测试在以下两个版本的环境存此在问题:
Ubuntu 26.04 qemu 10.2.1
ArchLinux qemu 11.0.0
建议修改package/rootfs-ext2/make.sh,在id=hd0后增加if=none