Installing Mac OS X DP1: Initialization failed
Moderators: Cat_7, Ronald P. Regensburg
- CorporalPig22
- Inquisitive Elf
- Posts: 39
- Joined: Sun Jun 10, 2018 1:37 am
Installing Mac OS X DP1: Initialization failed
I'm trying to install Mac OS X DP1 in QEMU, but when I try to initialize the disk with a Mac OS X partition (Mac OS UFS), it works normally for a couple seconds, but then says that the initialization failed. Am I doing anything wrong?
(I'm using the Windows version of QEMU.)
(I'm using the Windows version of QEMU.)
Re: Installing Mac OS X DP1: Initialization failed
As far as I know nobody has managed to install DP1 in QEMU on Windows. I've managed to install DP2, DP3 and DP4, but not DP1. Apparently someone managed to install it on Linux, the details are here somewhere in the forums.
EDIT: Here's the link.
viewtopic.php?f=34&t=10118
EDIT: Here's the link.
viewtopic.php?f=34&t=10118
Re: Installing Mac OS X DP1: Initialization failed
Some users have reported corruption with qcow2 images, but only on Windows - every other platform seems fine. If you are using a qcow2 image for your hard disk, can you try again but this time using a raw image instead?CorporalPig22 wrote: ↑Tue Mar 22, 2022 8:15 am I'm trying to install Mac OS X DP1 in QEMU, but when I try to initialize the disk with a Mac OS X partition (Mac OS UFS), it works normally for a couple seconds, but then says that the initialization failed. Am I doing anything wrong?
(I'm using the Windows version of QEMU.)
- CorporalPig22
- Inquisitive Elf
- Posts: 39
- Joined: Sun Jun 10, 2018 1:37 am
Re: Installing Mac OS X DP1: Initialization failed
Tried that. Didn't work. Guess I'll just wait until someone actually gets it up and running.mcayland wrote: ↑Tue Mar 22, 2022 8:12 pmSome users have reported corruption with qcow2 images, but only on Windows - every other platform seems fine. If you are using a qcow2 image for your hard disk, can you try again but this time using a raw image instead?CorporalPig22 wrote: ↑Tue Mar 22, 2022 8:15 am I'm trying to install Mac OS X DP1 in QEMU, but when I try to initialize the disk with a Mac OS X partition (Mac OS UFS), it works normally for a couple seconds, but then says that the initialization failed. Am I doing anything wrong?
(I'm using the Windows version of QEMU.)
Re: Installing Mac OS X DP1: Initialization failed
Hmmm interesting. Can you share the exact command line, and the version of QEMU that you are using?CorporalPig22 wrote: ↑Tue Mar 22, 2022 8:21 pmTried that. Didn't work. Guess I'll just wait until someone actually gets it up and running.mcayland wrote: ↑Tue Mar 22, 2022 8:12 pmSome users have reported corruption with qcow2 images, but only on Windows - every other platform seems fine. If you are using a qcow2 image for your hard disk, can you try again but this time using a raw image instead?CorporalPig22 wrote: ↑Tue Mar 22, 2022 8:15 am I'm trying to install Mac OS X DP1 in QEMU, but when I try to initialize the disk with a Mac OS X partition (Mac OS UFS), it works normally for a couple seconds, but then says that the initialization failed. Am I doing anything wrong?
(I'm using the Windows version of QEMU.)
- CorporalPig22
- Inquisitive Elf
- Posts: 39
- Joined: Sun Jun 10, 2018 1:37 am
Re: Installing Mac OS X DP1: Initialization failed
mcayland wrote: ↑Tue Mar 22, 2022 8:37 pmHmmm interesting. Can you share the exact command line, and the version of QEMU that you are using?CorporalPig22 wrote: ↑Tue Mar 22, 2022 8:21 pmTried that. Didn't work. Guess I'll just wait until someone actually gets it up and running.
Code: Select all
qemu-system-ppc.exe ^
-L pc-bios ^
-cpu G3 ^
-M mac99 ^
-m 512 ^
-drive file=macosx_dp1.img,format=raw,index=0,media=disk ^
-drive file=macos92.iso,format=raw,index=2,media=cdrom ^
-drive file=macosx_dp1.iso,format=raw,index=3,media=cdrom ^
-boot d ^
-g 1360x768x32 ^
-device usb-kbd ^
-device usb-mouse ^
-rtc base=localtime ^
-display sdl
Last edited by CorporalPig22 on Tue Mar 22, 2022 9:33 pm, edited 1 time in total.
- adespoton
- Forum All-Star
- Posts: 4286
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Installing Mac OS X DP1: Initialization failed
Ah... can you try again with an official build instead of a screamer build? I don't think DP1 supports screamer audio anyway, so you won't be losing anything by not having it.
Re: Installing Mac OS X DP1: Initialization failed
Okay I can see a few things there that could be an issue - firstly that combination of usb options is wrong, and like to cause problems with the mouse. And overriding the default CPU to a different one is going to cause a difference in behaviour compared with basic testing. As a starting point:
For the first boot into MacOS 9.2 to partition the disk:
For the first boot into MacOS 9.2 to partition the disk:
Then to boot into DP1 with the initialised HD:qemu-system-ppc.exe ^
-L pc-bios ^
-M mac99,via=pmu-adb ^
-m 512 ^
-drive file=macos92.iso,format=raw,media=cdrom ^
-drive file=macosx_dp1.img,format=raw,media=disk ^
-boot d ^
-rtc base=localtime
If you still see the hang when initialising the disk during the first boot, please try again with a vanilla non-screamer build. The reason the screamer patches aren't yet upstream is because they have been reported to cause problems for some users.qemu-system-ppc.exe ^
-L pc-bios ^
-M mac99,via=pmu-adb ^
-m 512 ^
-drive file=macosx_dp1.iso,format=raw,media=cdrom ^
-drive file=macosx_dp1.img,format=raw,media=disk ^
-boot d ^
-rtc base=localtime
- CorporalPig22
- Inquisitive Elf
- Posts: 39
- Joined: Sun Jun 10, 2018 1:37 am
Re: Installing Mac OS X DP1: Initialization failed
Status update: it turns out I was formatting it the wrong way. I had it set to "1 Partition" instead of "Mac OS UFS", and that's what caused the initialization to fail.
Re: Installing Mac OS X DP1: Initialization failed
Hi,
This will get us to "this image is not for the platform"
The installation instructions say DP1 can run on a G3
But when using g3beige we still get "this image is not for the platform"
When setting auto-boot to false and setting
" PowerMac1,1" encode-string " model" property
" PowerMac1,1" encode-string " compatible" property
We get to Boot failure "/rtas" not found.
Best,
Cat_7
This will get us to "this image is not for the platform"
The installation instructions say DP1 can run on a G3
But when using g3beige we still get "this image is not for the platform"
When setting auto-boot to false and setting
" PowerMac1,1" encode-string " model" property
" PowerMac1,1" encode-string " compatible" property
We get to Boot failure "/rtas" not found.
Best,
Cat_7
Re: Installing Mac OS X DP1: Initialization failed
I still haven't been able to figure out how to run the installer from the dp1 iso the first time after formatting the disk when booted from a 9.04 iso. According to the installation instructions the target disk should be formatted as mac os extended.
However, the second step to get the installer going after that is this:
qemu-system-ppc.exe ^
-L pc-bios ^
-M g3beige -cpu G3 ^
-m 128 ^
-boot d ^
-usb ^
-device usb-kbd ^
-device usb-mouse ^
-prom-env "auto-boot?=false" ^
-prom-env "boot-device=cd:9,\\:tbxi" ^
-drive file=C:\Mac-disks-qemu\10DP1.img,format=raw,media=disk ^
-drive file=C:\Mac-images\10_DP1.iso,format=raw,media=cdrom,index=2 ^
-rtc base=localtime ^
-display sdl
When you get to the openbios prompt, enter:
dev /
" PowerMac1,1" encode-string " model" property
" PowerMac1,1" encode-string " compatible" property
boot
(In Windows I haven´t found a way to add those lines directly to command line due to Windows not interpreting a ' correctly.)
However, the second step to get the installer going after that is this:
qemu-system-ppc.exe ^
-L pc-bios ^
-M g3beige -cpu G3 ^
-m 128 ^
-boot d ^
-usb ^
-device usb-kbd ^
-device usb-mouse ^
-prom-env "auto-boot?=false" ^
-prom-env "boot-device=cd:9,\\:tbxi" ^
-drive file=C:\Mac-disks-qemu\10DP1.img,format=raw,media=disk ^
-drive file=C:\Mac-images\10_DP1.iso,format=raw,media=cdrom,index=2 ^
-rtc base=localtime ^
-display sdl
When you get to the openbios prompt, enter:
dev /
" PowerMac1,1" encode-string " model" property
" PowerMac1,1" encode-string " compatible" property
boot
(In Windows I haven´t found a way to add those lines directly to command line due to Windows not interpreting a ' correctly.)
- adespoton
- Forum All-Star
- Posts: 4286
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Installing Mac OS X DP1: Initialization failed
I haven't tried it yet, but do single quotes or escaped quotes work?
Re: Installing Mac OS X DP1: Initialization failed
Oh so it should run on a G3? The QEMU g3beige machine is fairly good in this respect, so I presume it must be checking for specific pieces of hardware in the device tree.Cat_7 wrote: ↑Tue Mar 22, 2022 9:52 pm Hi,
This will get us to "this image is not for the platform"
The installation instructions say DP1 can run on a G3
But when using g3beige we still get "this image is not for the platform"
When setting auto-boot to false and setting
" PowerMac1,1" encode-string " model" property
" PowerMac1,1" encode-string " compatible" property
We get to Boot failure "/rtas" not found.
Best,
Cat_7
From a bit of searching I can see the above changes seem to be borrowing from the g3 b&w device tree to try and fool the installer, which could likely be another reason why it still fails even if it does manage to get further. The real solution here is to figure out what DP1 is looking for and fix QEMU/OpenBIOS accordingly.
What exactly happens if you boot the DP1 in a freshly initialised disk on the g3beige machine? Are there any error messages or just hangs?