/-/S'pht-Translator-Active/-/


Re: Old Mac Emulation
Posted By: Durandal_1707Date: 3/22/21 3:11 p.m.

In Response To: Re: Old Mac Emulation (VikingBoyBilly)

: This is what's in qemu.command:
: #!/bin/bash
: cd "$(dirname "$0")"

: ./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' \
: -drive file=MacOS_9.2.2.iso,format=raw,media=cdrom \
: -drive file=MacOS9.2.img,format=raw,media=disk \
: -netdev user,id=network01 -device sungem,netdev=network01 \
: -device VGA,edid=on \

: This is my qemu folder (I tried it with both a powermacG4 iso and an eMac iso
: with the same result).

:

: Tried seeing if I could change the blank image to qcow format... nothing.

Hmm.

Try these steps; they just worked for me to get a bare-bones setup (with just the install DVD; once you get it this far, it's trivial to add a blank hard drive).

1. Download the latest QEMU from here: https://surfdrive.surf.nl/files/index.php/s/geJeEn4pispOmjm/download

2. cd into the directory and run this:

xattr -dr com.apple.quarantine .

3. Try this qemu.command:


#!/bin/bash
cd "$(dirname "$0")"

./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' \
-drive file=91.dmg,format=raw,media=cdrom \
-netdev user,id=network01 -device sungem,netdev=network01 \
-device VGA,edid=on \

Replace 91.dmg with whatever the filename of your CD/DVD image is.

Et voila:

If that doesn't work, I'd suspect the problem is with your CD image. It might be that you're using machine-specific images (I just imaged a bog-standard 9.1 install disc that I had lying around and installed the 9.2 and 9.2.2 updates on it), but the most likely thing is that the image is just in the wrong format. I'd try converting it to UDRW, which works for me:

hdiutil convert -format UDRW input_image.iso -o output_image.dmg

Or, if Apple's disk image framework will recognize the format, you can just attach them nomount and then you end up with a raw device that just about always works:


$ hdiutil attach -nomount Mac\ OS\ 9.1\ Install.dmg
expected CRC32 $B4475605
/dev/disk4 Apple_partition_scheme
/dev/disk4s1 Apple_partition_map
/dev/disk4s2 Apple_Driver43
/dev/disk4s3 Apple_Driver43_CD
/dev/disk4s5 Apple_Driver_ATAPI
/dev/disk4s6 Apple_Driver_ATAPI
/dev/disk4s7 Apple_Patches
/dev/disk4s9 Apple_HFS

Then you just take note of the /dev/diskX path that you get from that, and use it as your CD image. So:


#!/bin/bash
cd "$(dirname "$0")"

./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' \
-drive file=/dev/disk4,format=raw,media=cdrom \
-netdev user,id=network01 -device sungem,netdev=network01 \
-device VGA,edid=on \

Does it work?

This is actually the trick I always use. The reason I like it is because it lets me leave my CD/DVD images in compressed format, and my hard drive images in sparsebundle format, saving some disk space. YMMV of course.

Once you get something installed on your main drive, you can go download the "screamer" fork to get sound support. It seems to be a bit less stable, though, so I'd still use the main build to do the actual installation.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

Replies:

Marathon mentioned in Outside Xbox Video *LINK*Tim "Mordeir" Branin 2/23/21 6:48 p.m.
     Re: Marathon mentioned in Outside Xbox VideoSharkie Lino 2/23/21 7:01 p.m.
           Re: Marathon mentioned in Outside Xbox VideoGodot 2/23/21 9:52 p.m.
                 Re: Marathon mentioned in Outside Xbox VideoSharkie Lino 2/24/21 3:29 p.m.
           Re: Marathon mentioned in Outside Xbox VideoVikingBoyBilly 2/24/21 4:40 a.m.
                 Re: Marathon mentioned in Outside Xbox VideoSharkie Lino 2/24/21 3:32 p.m.
                       Re: Marathon mentioned in Outside Xbox VideoGodot 2/24/21 10:01 p.m.
                             Re: Marathon mentioned in Outside Xbox VideoLion O Cyborg 2/25/21 7:20 a.m.
                             Re: Marathon mentioned in Outside Xbox VideoSharkie Lino 2/25/21 12:09 p.m.
     Re: Marathon mentioned in Outside Xbox VideoGeneral-RADIX 2/24/21 2:30 p.m.
           Re: Marathon mentioned in Outside Xbox VideoVikingBoyBilly 2/25/21 2:34 a.m.
                 Re: Marathon mentioned in Outside Xbox VideoGeneral-RADIX 2/25/21 2:57 a.m.
                       Re: Marathon mentioned in Outside Xbox VideoLion O Cyborg 2/25/21 7:44 a.m.
                             Re: Marathon mentioned in Outside Xbox VideoVikingBoyBilly 2/25/21 6:12 p.m.
                                   Re: Marathon mentioned in Outside Xbox VideoLion O Cyborg 2/26/21 9:40 a.m.
                                   Old Mac EmulationDurandal_1707 3/1/21 4:29 p.m.
                                         Re: Old Mac EmulationVikingBoyBilly 3/21/21 2:23 p.m.
                                               Re: Old Mac EmulationDurandal_1707 3/21/21 6:36 p.m.
                                                     Re: Old Mac EmulationVikingBoyBilly 3/22/21 4:36 a.m.
                                                           Re: Old Mac EmulationDurandal_1707 3/22/21 3:11 p.m.
                                                                 Re: Old Mac EmulationVikingBoyBilly 3/23/21 7:42 a.m.
                                                                       Re: Old Mac EmulationDurandal_1707 3/23/21 8:11 a.m.
                                                                             Re: Old Mac EmulationDurandal_1707 3/23/21 8:12 a.m.
                                                                                   Re: Old Mac EmulationVikingBoyBilly 3/23/21 3:31 p.m.
                                                                                         Re: Old Mac EmulationDurandal_1707 3/23/21 4:59 p.m.
                                         Re: Old Mac EmulationVikingBoyBilly 9/24/23 4:58 a.m.
                                               Re: Old Mac EmulationBob-B-Q 9/24/23 5:45 a.m.
                                                     Re: Old Mac EmulationVikingBoyBilly 9/24/23 7:02 a.m.
                                                           Re: Old Mac EmulationBob-B-Q 9/25/23 7:12 a.m.
                                                                 Re: Old Mac EmulationVikingBoyBilly 9/26/23 4:33 a.m.
                                                                       Re: Old Mac EmulationVikingBoyBilly 10/1/23 3:24 a.m.
                                                                             Re: Old Mac EmulationIritscen 10/2/23 8:03 a.m.
                                                                             Re: Old Mac EmulationVikingBoyBilly 11/8/23 6:09 a.m.
                                                                                   Re: Old Mac EmulationDurandal_1707 11/8/23 3:13 p.m.
                       Re: Marathon mentioned in Outside Xbox VideoSharkie Lino 2/25/21 12:14 p.m.
                             Re: Marathon mentioned in Outside Xbox VideoGeneral-RADIX 2/26/21 4:40 a.m.
                                   Most "failed" media......Durandal_1707 3/1/21 4:30 p.m.
                                         Re: Most "failed" media......General-RADIX 3/3/21 9:00 a.m.
                                               Re: Most "failed" media......Bob-B-Q 3/4/21 7:53 a.m.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

 

 

Your Name:
Your E-Mail Address:
Subject:
Message:

If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:
Optional Link Title:

If necessary, enter your password below:

Password:

 

 

Problems? Suggestions? Comments? Email maintainer@bungie.org

Marathon's Story Forum is maintained with WebBBS 5.12.