Most failed installations use corrupted system images. Download the official OpenHarmony 4.0 Release for QEMU from the Gitee mirror (not random Google Drive links). Look for the file named ohos-arm64-qemu-boot.img .
If you have a PC shipped with HarmonyOS PC and want Windows or another OS: how to install harmony os on pc fixed