Page 1 of 1

[Guide] How to install Mac OS X Server 1.0 (not 1.2v3) in QEMU

Posted: Sun Sep 13, 2020 11:25 am
by Msdos622
Resources needed:
* QEMU itself (https://www.qemu.org/download/)
* Mac OS X Server 1.0 Install CD (https://www.betaarchive.com/database/vi ... 515b56ec11)
* Mac OS X Server 1.2v3 Install CD (https://www.betaarchive.com/database/vi ... cc903a3eb9)
* Custom BootX (https://github.com/steventroughtonsmith/BootX)

Create a hard disk image

1. Create a hard disk image

Code: Select all

qemu-img create -f vmdk osxsrv10.vmdk 2G
Server 1.2v3 Part
1. Start Mac OS 9 from 1.2v3 CD

Code: Select all

qemu-system-ppc -sdl -M mac99,via=pmu-adb -cpu g3 -m 256 -hda osxsrv10.vmdk -cdrom osxsrv12v3_cd.iso -boot d
2. Format hard disk (Desktop > Mac OS X Server 1.2 > Utilities > Drive Setup). I have partitioned it as Mac OS Server UFS
3. Quit Drive Setup
4. Start Mac OS X Server 1.2v3 Installation (Desktop > Mac OS X Server 1.2 > Install Mac OS X Server)
5. When you see fatal error, press quit, and shutdown QEMU

(See https://virtuallyfun.com/wordpress/2018 ... s-on-qemu/)

Installation
1. Start from Server 1.0 CD

Code: Select all

qemu-system-ppc -sdl -g 640x480x8 -M g3beige -cpu g3 -drive file=osxsrv10.vmdk,index=0,media=disk -drive file=MacOSXServer10.iso,index=1,media=cdrom -drive file=BootX_custom.dmg,index=2,media=disk,format=raw -prom-env "boot-device=ide2:2,\BootX" -prom-env "boot-file=ide1:11,\mach_kernel" -prom-env "boot-args=-v"
It will format the disk, and copy over the base operating system. After that it’s time to shutdown, shut down the QEMU.

2. Boot from hard disk

Code: Select all

qemu-system-ppc -sdl -g 640x480x8 -M g3beige -cpu g3 -drive file=osxsrv10.vmdk,index=0,media=disk -drive file=MacOSXServer10.iso,index=1,media=cdrom -drive file=BootX_custom.dmg,index=2,media=disk,format=raw -prom-env "boot-device=ide2:2,\BootX" -prom-env "boot-file=ide0:10,\mach_kernel" -prom-env "boot-args=-v"
3. Start from disk again. After startup, you'll see OOBE. Complete it.
4. After reboot, you can log on into newly installed system. Warning: after logon, you'll see error about ide disk. Press ignore. And yes, it's ok that window will not close immediately. Will have to wait.


Here we are
Image

Update
1. With Server 1.0, you can start Mac OS 8.5.1 in QEMU
2. You can start QEMU without -prom-env "boot-args=-v". As I can see, without -v it works faster (or not?)
3. I've also tried to install 1.2 (not v3). It also works. Imho, it is possible to install 1.0.1 and 1.0.2, too (but I'm too lazy to do this)

Re: [Guide] How to install Mac OS X Server 1.0 (not 1.2v3) in QEMU

Posted: Mon Sep 14, 2020 3:57 pm
by tarquin44
Which version of QEMU did you use and on which OS?
I tried it in QEMU-w64 20190808 on Windows 10 and it froze at the beginning of the installation phase.

EDIT:

Updated my QEMU, it installs now without any problems.

Re: [Guide] How to install Mac OS X Server 1.0 (not 1.2v3) in QEMU

Posted: Mon Sep 14, 2020 4:04 pm
by BF10
For me, it manages to install properly on the newest QEMU up until booting to the hard disk, where then I am greeted with the "broken system folder" error screen and unable to continue. I have tried both Mac OS X Server UFS and Mac OS Standard formatting.

EDIT: The command to boot to the hard disk is not correct; you must change "-prom-env "boot-file=ide0:10,\mach_kernel"" to "-prom-env "boot-file=ide0:11,\mach_kernel"" or it leads to the "broken system folder" error. It installs fine with that change now.