Problems with installing Mac OS X PB

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Problems with installing Mac OS X PB

Post by vlad557776 »

Hello. Recently I was installing Mac OS X Public Beta, but it won't install. If I install Mac OS 9.2.2, set the date to December 1, 2000, boot from the Public Beta CD, it will start to install, but, when it ends, it gives me "no such file or directory" and prompts to restart the install. When it restarts the installation, it gets stuck at "Preparing BSD Subsystem - Checking disk". When I do a clean install (without Mac OS 9.2.2), it installs, gives me Setup Assistant, but after it,it yells at me "this beta copy had expired" and giving the option to shutdown PC.

Here's my QEMU.BAT:

Code: Select all

qemu-system-ppc.exe -L pc-bios -boot d -m 512 -M mac99 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=macosxpb.iso,format=raw,media=cdrom -drive file=OSXPublicBeta.img,format=raw,media=disk -sdl -netdev user,id=network01 -device sungem,netdev=network01
Can someone help me?
User avatar
adespoton
Forum All-Star
Posts: 4286
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Problems with installing Mac OS X PB

Post by adespoton »

You need to remove:
-netdev user,id=network01 -device sungem,netdev=network01
Because by default it sets the clock using Apple's NTP server during boot.

Once you've got it installed, you can go into the Preferences and disable setting the time over the Internet, and then enable networking again.
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

That didn't work: it's still giving me "no such file or directory" and hangs at "Preparing BSD Subsystem - Checking disk". Maybe that'll work on clean install, but I don't think so.
User avatar
adespoton
Forum All-Star
Posts: 4286
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Problems with installing Mac OS X PB

Post by adespoton »

That was the fix for the clean install, no OS 9. You have to install OS 9 after you've already set up the disk.
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

Thanks, I'll try it now.
User avatar
adespoton
Forum All-Star
Posts: 4286
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Problems with installing Mac OS X PB

Post by adespoton »

I just noticed... it still won't work. I had thought you were setting the date in QEMU, but it appears you were setting it on your existing OS 9 install. You'll need to set the date in your command line config.

I don't have my config handy, but I'm sure I documented this multiple times; I've just got to figure out what the command line is :)

[edit] try:

Code: Select all

-rtc base="2000-09-14T16:01:21"

or

-prom-env "decimal dev rtc 00 00 00 14 09 2000 set-time"
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

It's now saying "no bootable device" after installation. Here's my QEMU.BAT:

Code: Select all

qemu-system-ppc.exe -L pc-bios -boot c -m 512 -M mac99 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=MacOSXPublicBeta.img,format=raw,media=disk -sdl
User avatar
adespoton
Forum All-Star
Posts: 4286
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Problems with installing Mac OS X PB

Post by adespoton »

Using a cleanly formatted image like you did when you got to "this beta copy has expired" use the following command line:
qemu-system-ppc.exe -L pc-bios -boot d -m 512 -M mac99 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=macosxpb.iso,format=raw,media=cdrom -drive file=OSXPublicBeta.img,format=raw,media=disk -sdl -rtc base="2000-09-14T16:01:21"
Once you've got it to install, you change -boot d to -boot c and remove the -drive flag for the iso and boot PB. Go into System Preferences and disable network time syncing. Then shut it down, and add -netdev user,id=network01 -device sungem,netdev=network01 back. Then you'll likely have to go into System Preferences again and add the network device.
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

Thanks, I'll test it tomorrow.
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

Now it's saying: "invalid datetime format"
User avatar
Cat_7
Expert User
Posts: 6177
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Problems with installing Mac OS X PB

Post by Cat_7 »

Use
-rtc base=2000-09-14
User avatar
jonirob
Tinkerer
Posts: 76
Joined: Tue Jan 29, 2019 6:03 pm

Re: Problems with installing Mac OS X PB

Post by jonirob »

This command line to install works for me:

qemu-system-ppc.exe -L pc-bios -boot d -m 512 -M mac99 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=macosxpb.iso,format=raw,media=cdrom -drive file=OSXPublicBeta.img,format=raw,media=disk -sdl -netdev user,id=network01 -device sungem,netdev=network01 -rtc base=2000-08-29
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

It's still saying "no bootable device". Here's my QEMU.BAT:

Code: Select all

qemu-system-ppc.exe -L pc-bios -boot c -m 512 -M mac99 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=MacOSXPublicBeta.img,format=raw,media=disk -sdl -rtc base=2000-09-14
User avatar
adespoton
Forum All-Star
Posts: 4286
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Problems with installing Mac OS X PB

Post by adespoton »

Did you install PB already at that point? Because unless you've installed it, there will be nothing to boot. Otherwise, you'll need to -boot d and load your CD installer image first, to get things set up.
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

Yes, I installed. I powered QEMU off when it said "the software installed successfully" and updated the config to boot from the hard disk.
User avatar
adespoton
Forum All-Star
Posts: 4286
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Problems with installing Mac OS X PB

Post by adespoton »

Strange; the only thing different from my successful image is I have -m 128 instead of -m 512, because no machine back then had more than 128MB RAM. But that wouldn't cause your error. That error is caused by not being able to find the UEFI image on MacOSXPublicBeta.img.

Maybe it's a problem with how the drive was formatted?
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

I firstly formatted it with Mac OS 9.1, then reformatted it in Mac OS 9.2, then formatted it using Mac OS PB's installer.
User avatar
adespoton
Forum All-Star
Posts: 4286
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Problems with installing Mac OS X PB

Post by adespoton »

Here's my command line, if that helps:
qemu-system-ppc.exe -L pc-bios -boot c -drive file="MacOSXPublicBeta.img",format=raw,media=disk -M mac99 -m 256 -cpu G4 -device VGA,edid=on -g 1280x720x32 -rtc base="2000-10-01",clock=vm
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

I'll test it when I go home.
vlad557776
Tinkerer
Posts: 97
Joined: Thu May 30, 2019 7:06 am

Re: Problems with installing Mac OS X PB

Post by vlad557776 »

Still nothing.
Post Reply