Skip to content

Cannot boot quartz if CDROM drive installed on host: Drive 'hd0' is already in use because it has been automatically connected to another device

image

qemu-system-riscv64: -drive file=./system/1.2.0/quartz-system.qcow2,format=qcow2,id=hd0,read-only=on: Drive 'hd0' is already in use because it has been automatically connected to another device (did you need 'if=none' in the drive options?)

System info:

OS: Arch Linux x86_64
Kernel: Linux 6.12.10-arch1-1
$ lsblk 
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sr0          11:0    1  1024M  0 rom  
sr1          11:1    1  1024M  0 rom  
nvme0n1     259:0    0 465.8G  0 disk 
[...]
$ qemu-system-riscv64 --version
QEMU emulator version 9.2.0
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
Edited by Jake :3