Emaculation.com

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ppc-osx-on-qemu-for-osx [2019/03/01 03:04] – [Qemu installation] cat_7ppc-osx-on-qemu-for-osx [2019/08/02 22:11] – [Qemu installation] cat_7
Line 30: Line 30:
   cd "$(dirname "$0")"   cd "$(dirname "$0")"
      
-  qemu-system-ppc -L pc-bios -boot d -M mac99,via=pmu -m 512 \+  ./qemu-system-ppc -L pc-bios -boot d -M mac99,via=pmu -m 512 \
   -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' \   -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' \
-  -drive file=MacOS9.2.iso,format=raw,media=cdrom -drive file=MacOS9.2.img,format=raw,media=disk \+  -drive file=MacOS9.2.iso,format=raw,media=cdrom 
 +  -drive file=MacOS9.2.img,format=raw,media=disk \
   -netdev user,id=network01 -device sungem,netdev=network01 \   -netdev user,id=network01 -device sungem,netdev=network01 \
 +  -device VGA,edid=on \
  
   * Save qemu.command and make it executable:   * Save qemu.command and make it executable:
Line 43: Line 45:
 #!/bin/bash tells OSX this is a bash script\\ #!/bin/bash tells OSX this is a bash script\\
 cd "$(dirname "$0")" set the path for the executable to current folder\\ cd "$(dirname "$0")" set the path for the executable to current folder\\
-qemu-system-ppc starts qemu with all the following as parameters:\\+.\qemu-system-ppc starts qemu with all the following as parameters:\\
 -L pc-bios points qemu to some required files, including openbios-ppc and the vga driver qemu_vga.ndrv. \\ -L pc-bios points qemu to some required files, including openbios-ppc and the vga driver qemu_vga.ndrv. \\
 -boot d defines to boot from a drive entry marked as a cdrom, “-boot c” would define to boot from a drive entry marked as disk.\\ -boot d defines to boot from a drive entry marked as a cdrom, “-boot c” would define to boot from a drive entry marked as disk.\\
Line 53: Line 55:
 -drive file=MacOS9.2.img,format=raw,media=disk defines the name, location, format, and type of a hard disk image file to be used\\ -drive file=MacOS9.2.img,format=raw,media=disk defines the name, location, format, and type of a hard disk image file to be used\\
 -netdev user,id=network01 -device sungem,netdev=network01 tells qemu to use the sungem network device on a qemu-internal DHCP server\\ -netdev user,id=network01 -device sungem,netdev=network01 tells qemu to use the sungem network device on a qemu-internal DHCP server\\
 +-device VGA,edid=on presents additional resolutions to choose from in the guest\\ 
  
 (*)The mac model entry accepts 3 options for the via parameter: \\ (*)The mac model entry accepts 3 options for the via parameter: \\
Line 197: Line 200:
 Type “change ide1-cd0 /path/to/name-of-cd-image.iso” (note the forward slashes!) \\ Type “change ide1-cd0 /path/to/name-of-cd-image.iso” (note the forward slashes!) \\
 Close the Qemu Monitor by selecting View/VGA \\ Close the Qemu Monitor by selecting View/VGA \\
 +
 +Also see the qemu documentation here: https://www.linux-kvm.org/page/Change_cdrom \\
  
 ==== Mounting a real cd ==== ==== Mounting a real cd ====