Open darkwar123 opened 4 months ago
Maybe try using the dmg2img package? I’ve never seen this issue before
When I'm using dmg2img I'm getting almost the same error, something like "fatal error", I'm trying same installation on the ubuntu installed on hard drive, but getting same error, but without:
qemu: module block-block-dmg-bz2 not found, do you want to install qemu-block-extra package?
qemu: module block-block-dmg-lzfse not found, do you want to install qemu-block-extra package?
but still with:
qemu-img: error while reading at byte 0: Input/output error
@darkwar123 sounds like the basesystem.dmg file didn’t get downloaded properly, could you try again by running ./fetch-macOS-v2.py
I have had the same errors with qemu-img at Debian 12. Of course, qemu-block-extra package was installed.
qemu: module block-block-dmg-bz2 not found, do you want to install qemu-block-extra package?
qemu: module block-block-dmg-lzfse not found, do you want to install qemu-block-extra package?
When I used dmg2img, conversion passed ok.
Which operating system are you trying to install? macOS Monterey
Describe the bug When I run ./setup.sh on Ubuntu in wsl the command "qemu-img convert BaseSystem.dmg -O raw BaseSystem.img" on line 11 throw an error in the console:
Expected behavior .dmg file converts to .img
Desktop (please complete the following information):
Additional context Full ./setup output:
Then qemu starts virtual machine but there is no "Mac OS BaseSystem" image.