Emaculation.com
 

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ppc-osx-on-qemu-for-osx [2019/07/06 22:56]
cat_7 [Changing the mounted cdrom image]
ppc-osx-on-qemu-for-osx [2019/09/16 23:31] (current)
cat_7 [Networking]
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.iso,​format=raw,​media=cdrom \
Line 45: 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 152: Line 152:
   afp://​ip-address-of-your-host. ​   afp://​ip-address-of-your-host. ​
 At Connect as select Registered user and enter your user name and password for your host. Then select a shared folder from the list and click OK. You can now read and write files to the shared folder that appeared on your desktop.\\ At Connect as select Registered user and enter your user name and password for your host. Then select a shared folder from the list and click OK. You can now read and write files to the shared folder that appeared on your desktop.\\
 +
 +=== Forwarding ports to the host ===
 +You can provide services running on the guest to the host by forwarding ports to the host. To provide access to a webserver running in the guest you can use: \\
 +
 +  * -netdev user,​id=network01,​hostfwd=tcp::​80-:​80
 +
 +The webserver running on the guest is then accessible through e.g., http://​localhost or http://​name-or-ip-adress-of-machine from other machines running on your network.
  
 ==== Booting from a real CD ==== ==== Booting from a real CD ====
ppc-osx-on-qemu-for-osx.1562479013.txt.gz · Last modified: 2019/07/06 22:56 by cat_7
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki