Mac OS X DP3 Install Problem
Moderators: Cat_7, Ronald P. Regensburg
Mac OS X DP3 Install Problem
Hi! I am trying to instal OS X Developer Preview 3 using QEMU. All the settings are coorect nd it boots up using the CD. However, I get this error. Any help?
- adespoton
- Forum All-Star
- Posts: 4274
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Mac OS X DP3 Install Problem
Did you remove the CD from the parameters and change d to c after finishing setup?
Re: Mac OS X DP3 Install Problem
The problem is it doesn't even boot to setup. The problem happens when I try to boot to the setup program using the iso.
- adespoton
- Forum All-Star
- Posts: 4274
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Mac OS X DP3 Install Problem
What do your command line parameters look like? It's likely an image order or c vs d issue.
Re: Mac OS X DP3 Install Problem
The problem is that the CD has two bootable partitions, the first one contains an (incompatible) Mac OS Classic bootstrap system, and the second one contains the main installer. You must disable autoboot and manually specify the second bootable partition. Add to your command line: and in OpenFirmware:
Code: Select all
-prom-env 'auto-boot?=false'
Code: Select all
boot cd:9,\\:tbxi
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn
Re: Mac OS X DP3 Install Problem
What do you mean? I disabled auto boot so I type the second code on the openbios terminal?
Re: Mac OS X DP3 Install Problem
Yes, though you might need to set your keyboard to usb so you can type the command.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn
Re: Mac OS X DP3 Install Problem
The terminal seems to freeze! It just freezes whem i type the co,mand and press enter! What's wrong?
Re: Mac OS X DP3 Install Problem
Nevermind, I was just typing the command wrong. Now I get this, any solutions?
Re: Mac OS X DP3 Install Problem
How long are you waiting for it to boot? IIRC it can take a few minutes to boot. You can enable verbose boot to get a better idea what's going on. If you don't know how to enable verbose boot, just add to your command line.
Code: Select all
-prom-env 'boot-args=-v'
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn
Re: Mac OS X DP3 Install Problem
When it shows the glitched mac, it just stops ther and I left it booting for about half an hour
Re: Mac OS X DP3 Install Problem
Huh, that's odd. Mind comparing your command line with my shell script?
It might be that you need to put your cd image before your disk image.
Code: Select all
#!/bin/bash
qemu-system-ppc \
-g 800x600x32 \
-boot d \
-M mac99 \
-m 512M \
-cpu G3 \
-prom-env 'auto-boot?=true' \
-prom-env 'boot-args=-v' \
-net none \
-usb \
-device usb-mouse \
-device usb-kbd \
-drive file="MacOSX_developer_preview_3.iso",\
format=raw,index=2,media=cdrom \
-drive file="MacOSX_DP3.qcow2",\
format=qcow2,index=0,media=disk \
-name "Mac OS X Developer Preview 3" \
-no-reboot
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn
Re: Mac OS X DP3 Install Problem
I used -cpu G3 and it still freezes. The beach ball gets stuck at some point and when I enable Verbose mode, it says something about Net drivers. Any recommendations?
Re: Mac OS X DP3 Install Problem
I've not have any luck getting any of the developer previews to boot with a network adapter. You'll need to disable it with:
Code: Select all
-net none
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn
Re: Mac OS X DP3 Install Problem
I DID IT!
However, the installer doesn't detect any hard drive. Should i format the image using a newer OS X installer?
However, the installer doesn't detect any hard drive. Should i format the image using a newer OS X installer?
Re: Mac OS X DP3 Install Problem
Yes, if you have a Mac OS vm set up, just attach the disk image to that vm and format. Otherwise, you can use a Mac OS 9 or Mac OS X install disc and format from there.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn
Re: Mac OS X DP3 Install Problem
So I installed it successfully, but now when I try to boot from the hd it gives me an error no valid slate on bootinfo.txt. I created 2 Partitions Mac OS 9 and Mac OS X. How do I set it to boot to the Mac OS X Partition?
Re: Mac OS X DP3 Install Problem
You can boot Mac OS X by specifying it's partition number. The easiest way to find out Mac OS X partition number requires opening the disk image in a partitioning tool and listing partitions.
So first, boot into single-user mode using your install disc. Once you're there, type in the following commands:
You should see a list of partitions, Look for the one labeled "MOSX_OF3_Booter" and make a note of its partition number. To exit without writing to partition table and shutdown type:
Once you have your partition number, enter into OpenFirmware
where "#" is your partition number.
If you want to automate it add to your command line (replacing "#" with your partition number):
So first, boot into single-user mode using your install disc. Once you're there, type in the following commands:
Code: Select all
pdisk
L
Code: Select all
q
halt
Code: Select all
boot hd:#,\\:tbxi
If you want to automate it add to your command line (replacing "#" with your partition number):
Code: Select all
-prom-env 'boot-command=hd:#,\\:tbxi'
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn
Re: Mac OS X DP3 Install Problem
Thank you for youe advice! You really helped me get this up and running! Kudos to you! BTW, is there any way to increase performance?
Re: Mac OS X DP3 Install Problem
Other than more powerful host hardware and increasing your virtual machine's ram to 512M, no. This is due to QEMU having to translate PowerPC instructions into x86. Honestly, it's amazing that it works at all. Glad I could help.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."
Doug Gwyn
Doug Gwyn