Skip to main content

Virtualization - start Mac OS X single user mode for a Qemu guest

 Using the normal qemu start string, add a -prom-env "boot-args=-s". 



/cygdrive/f/VMs, Emulators, Simulators/Qemu/Mac OS X/Mac OS X 10.5 (Leopard)/Mac OS X 10.5 (Leopard) Desktop/Mac OS X 10.5.1 (Leopard) Desktop
qemu-start-mac-os-x-10-5-1.sh
#!/bin/bash

sHD=mac-os-x-10-5-1-system-disk.qcow2
sName=$(basename "$(pwd)")

"qemu-system-ppc.exe" \
-name "${sName}" \
-L pc-bios \
-boot c \
-M mac99,via=pmu \
-cpu g4 \
-m 2048 \
-prom-env "boot-args=-s" \
-prom-env "vga-ndrv?=true" \
-prom-env "auto-boot?=true" \
-drive file="$sHD",format=qcow2,media=disk \
  -netdev tap,id=mynet0,ifname=mytap3451 \
-device sungem,netdev=mynet0,mac=52:54:00:12:34:51 \
-usb \
-device usb-mouse \
-device usb-kbd \
-sdl \
-g 1920x1080x32 \
-device VGA,edid=on

Comments

Popular posts from this blog

TV Series - The Brokenwood Mysteries [NZ] (2014) - Season 10

 

Movie - Sin City: A Dame to Kill For (2014)

 

Movies - Deadpool & Wolverine (2024)