[GH-ISSUE #918] The BASESYSTEM_IMAGE parameter has no effect in Launch.sh #679

Open
opened 2026-02-27 23:01:35 +03:00 by kerem · 1 comment
Owner

Originally created by @aqr199 on GitHub (Feb 13, 2026).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/918

The BASESYSTEM_IMAGE parameter has no effect in Launch.sh

...
-drive id=InstallMedia,if=none,file=/home/arch/OSX-KVM/BaseSystem.img,format=${BASESYSTEM_FORMAT:-qcow2} \
-drive id=MacHDD,if=none,file=${IMAGE_PATH:-/home/arch/OSX-KVM/mac_hdd_ng.img},format=${IMAGE_FORMAT:-qcow2} \
...
Originally created by @aqr199 on GitHub (Feb 13, 2026). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/918 The BASESYSTEM_IMAGE parameter has no effect in Launch.sh ``` ... -drive id=InstallMedia,if=none,file=/home/arch/OSX-KVM/BaseSystem.img,format=${BASESYSTEM_FORMAT:-qcow2} \ -drive id=MacHDD,if=none,file=${IMAGE_PATH:-/home/arch/OSX-KVM/mac_hdd_ng.img},format=${IMAGE_FORMAT:-qcow2} \ ... ```
Author
Owner

@aqr199 commented on GitHub (Feb 13, 2026):

fix Makefile

# export SHORTNAME=monterey
DISK_SIZE := 256G

BASESYSTEM_IMAGE ?= /home/arch/OSX-KVM/BaseSystem.img
IMAGE_PATH ?= /home/arch/OSX-KVM/mac_hdd_ng.img

all: BaseSystem.img mac_hdd_ng.img

BaseSystem.img: BaseSystem.dmg
        qemu-img convert BaseSystem.dmg -O raw $(BASESYSTEM_IMAGE)

BaseSystem.dmg:
        ./fetch-macOS-v2.py --shortname=$(SHORTNAME)

mac_hdd_ng.img:
        qemu-img create -f qcow2 $(IMAGE_PATH) ${DISK_SIZE}

clean:
        rm -rf BaseSystem{.dmg,.img,.chunklist} $(BASESYSTEM_IMAGE)

fix Launch.sh

-drive id=InstallMedia,if=none,file=${BASESYSTEM_IMAGE:-/home/arch/OSX-KVM/BaseSystem.img},format=${BASESYSTEM_FORMAT:-qcow2} \
-drive id=MacHDD,if=none,file=${IMAGE_PATH:-/home/arch/OSX-KVM/mac_hdd_ng.img},format=${IMAGE_FORMAT:-qcow2} \
<!-- gh-comment-id:3895223460 --> @aqr199 commented on GitHub (Feb 13, 2026): fix Makefile ``` # export SHORTNAME=monterey DISK_SIZE := 256G BASESYSTEM_IMAGE ?= /home/arch/OSX-KVM/BaseSystem.img IMAGE_PATH ?= /home/arch/OSX-KVM/mac_hdd_ng.img all: BaseSystem.img mac_hdd_ng.img BaseSystem.img: BaseSystem.dmg qemu-img convert BaseSystem.dmg -O raw $(BASESYSTEM_IMAGE) BaseSystem.dmg: ./fetch-macOS-v2.py --shortname=$(SHORTNAME) mac_hdd_ng.img: qemu-img create -f qcow2 $(IMAGE_PATH) ${DISK_SIZE} clean: rm -rf BaseSystem{.dmg,.img,.chunklist} $(BASESYSTEM_IMAGE) ``` fix Launch.sh ``` -drive id=InstallMedia,if=none,file=${BASESYSTEM_IMAGE:-/home/arch/OSX-KVM/BaseSystem.img},format=${BASESYSTEM_FORMAT:-qcow2} \ -drive id=MacHDD,if=none,file=${IMAGE_PATH:-/home/arch/OSX-KVM/mac_hdd_ng.img},format=${IMAGE_FORMAT:-qcow2} \ ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#679
No description provided.