[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] Help with trying to install Mac OS 9.2.2 on QEMU on Linux
From: |
Programmingkid |
Subject: |
Re: [Qemu-ppc] Help with trying to install Mac OS 9.2.2 on QEMU on Linux Ubuntu 16.04.4 boot error "No valid state has been set by load or init-program" |
Date: |
Sat, 24 Mar 2018 15:22:11 -0400 |
> On Mar 24, 2018, at 3:17 PM, address@hidden wrote:
>
>
>
>> On Mar 24, 2018, at 12:14 PM, Programmingkid <address@hidden> wrote:
>>
>>
>>> On Mar 24, 2018, at 3:12 PM, address@hidden wrote:
>>>
>>>
>>>
>>>> On Mar 24, 2018, at 11:27 AM, Programmingkid <address@hidden> wrote:
>>>>
>>>>
>>>>> On Mar 24, 2018, at 2:21 PM, address@hidden wrote:
>>>>>
>>>>>
>>>>>
>>>>>> On Mar 24, 2018, at 11:19 AM, Programmingkid <address@hidden> wrote:
>>>>>>
>>>>>>
>>>>>>> On Mar 24, 2018, at 2:12 PM, address@hidden wrote:
>>>>>>>
>>>>>>>
>>>>>>>> On Mar 24, 2018, at 9:43 AM, Programmingkid <address@hidden> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>> Message: 1
>>>>>>>>> Date: Fri, 23 Mar 2018 20:48:32 -0700
>>>>>>>>> From: "address@hidden" <address@hidden>
>>>>>>>>> To: address@hidden
>>>>>>>>> Subject: [Qemu-ppc] Help with trying to install Mac OS 9.2.2 on QEMU
>>>>>>>>> on Linux Ubuntu 16.04.4 boot error "No valid state has been set
>>>>>>>>> by
>>>>>>>>> load or init-program"
>>>>>>>>> Message-ID: <address@hidden>
>>>>>>>>> Content-Type: text/plain; charset="utf-8"
>>>>>>>>>
>>>>>>>>> Hello all,
>>>>>>>>> I found your list after doing somewhat exhaustive searches for hours
>>>>>>>>> online trying to find a solution to my problem. Apologies if my
>>>>>>>>> online manners are not correct here.
>>>>>>>>>
>>>>>>>>> I have Linux Ubuntu 16.04.4 and I did an install of Qemu from the
>>>>>>>>> Ubuntu repository doing a ?sudo apt-get install qemu?
>>>>>>>>> I also installed open bios using ?apt-get install openbios-ppc?
>>>>>>>>>
>>>>>>>>> I am trying to install Mac OS 9.2.2 emulation for ppc. I downloaded
>>>>>>>>> the OS 9.2.2 image file and I am trying to run the .iso using the
>>>>>>>>> commands:
>>>>>>>>>
>>>>>>>>> qemu-system-ppc -boot d -M mac99 -m 512 -prom-env 'auto-boot?=true'
>>>>>>>>> -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive
>>>>>>>>> file=MacOS9.2.2.iso,format=raw,media=cdrom -drive
>>>>>>>>> file=MacOS9.2.2.img,format=raw,media=disk -device usb-mouse -device
>>>>>>>>> usb-kbd
>>>>>>>>>
>>>>>>>>> However I am getting error ?No valid state has been set by load or
>>>>>>>>> init-program?
>>>>>>>>>
>>>>>>>>> Image file of error screenshot: https://i.imgur.com/SKxprVd.png
>>>>>>>>> <https://i.imgur.com/SKxprVd.png>
>>>>>>>>>
>>>>>>>>> I am trying to get this running for my class project.
>>>>>>>>>
>>>>>>>>> Any help greatly appreciated!
>>>>>>>>> Thank you
>>>>>>>>
>>>>>>>> Which version of QEMU are you using? This could be a problem with your
>>>>>>>> iso file. Could you try again using this simple command-line:
>>>>>>>> qemu-system-ppc -M mac99 -m 512 -cdrom "MacOS9.2.2.iso" -boot d
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> I am using qemu 2.12.0-rc0
>>>>>>> I was able to find and install a working openbios-ppc file
>>>>>>
>>>>>> This might be the problem. Try using the openbios-ppc file that comes
>>>>>> with your version of QEMU.
>>>>>>
>>>>>>
>>>>>>> I can now boot up from the Mac OS 9.2.2 iso but with the following
>>>>>>> problems:
>>>>>>>
>>>>>>> the initial qemu screen gives the error: MacOS: unable to find a usable
>>>>>>> NVRAM partition- using offset 0x1400
>>>>>>>
>>>>>>> Screenshot: https://i.imgur.com/ZtDgycf.png
>>>>>>
>>>>>> That problem has been with us for a long time. It can be ignored for now.
>>>>>>
>>>>>>>
>>>>>>> I then get to the Mac OS 9 startup screen but it freezes and I can’t
>>>>>>> control the mouse. I get system error “address error”
>>>>>>>
>>>>>>> Screenshot: https://i.imgur.com/V32KPGs.png
>>>>>>
>>>>>> What is this I see? "The Well-Termpered Mac OS (2013)"? This is some
>>>>>> custom version of Mac OS 9. Do you have more information on this custom
>>>>>> iso file?
>>>>>>
>>>>>>> and the terminal output displays following errors:
>>>>>>>
>>>>>>> Trying to write invalid spr 0 (0x000) at 00f113c0
>>>>>>> Trying to read invalid spr 0 (0x000) at 00f113c8
>>>>>>> Trying to write privileged spr 955 (0x3bb) at 00f164b8
>>>>>>> Trying to write invalid spr 959 (0x3bf) at 00f16520
>>>>>>> Trying to read invalid spr 959 (0x3bf) at 00f16528
>>>>>>> Trying to write privileged spr 955 (0x3bb) at 00f164b8
>>>>>>> Trying to write invalid spr 959 (0x3bf) at 00f16520
>>>>>>> Trying to read invalid spr 959 (0x3bf) at 00f16528
>>>>>>>
>>>>>>> Screenshot: https://i.imgur.com/brKlJKD.png
>>>>>>
>>>>>> These errors can be ignored.
>>>>>
>>>>> I obtained the Mac OS 9.2.2 image file from here:
>>>>> http://macos9lives.com/smforum/index.php?topic=2109.0
>>>>>
>>>>> I am not sure of how else to obtain a working image file
>>>>
>>>> I don't believe it. A website called winworldpc.com actually has Mac OS 9
>>>> iso files.
>>>> https://winworldpc.com/product/mac-os-9/90
>>>>
>>>
>>> thanks programmingkid,
>>>
>>> I tried downloading some of the ISO files the link you provided but now I
>>> am getting the same errors I was originally getting “no valid state has
>>> been set by load or init-program”
>>>
>>> Do you know where I can get openbios-ppc for my version of qemu?
>>
>> qemu-system-ppc would use the default openbios-ppc file if you don't specify
>> a bios file. The default file is located in a folder called pc-bios.
>>
>
> This is probably a silly question but.. where exactly is the qemu directory
> located in Linux?
This command would help: which qemu-system-ppc
If that doesn't help try this: find / -name qemu-system-ppc