Login  •  Register


The time is now: Tue Sep 17, 2019 2:21 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 18 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Thu Sep 13, 2018 7:40 pm 
Offline
Student Driver
User avatar

Joined: Fri Aug 17, 2018 7:15 pm
Posts: 14
Hello everyone, I got error by Mac OS X 1.0 setup. It says 'Mac OS X Server cannot be installed on this computer.'.
Image


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Sep 13, 2018 8:09 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2682
Location: Emaculation.com
https://virtuallyfun.com/wordpress/2018 ... s-on-qemu/

And more importantly:

https://www.emaculation.com/doku.php/pp ... mu-for-osx

Check the part talking about the settings required for server. Also, ensure you're using a build of QEMU that will run Server.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Sep 13, 2018 9:11 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
Or even this:

https://wiki.qemu.org/Documentation/Pla ... rver_1.2v3

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Sep 14, 2018 4:53 pm 
Offline
Student Driver
User avatar

Joined: Fri Aug 17, 2018 7:15 pm
Posts: 14
Cat_7 and adespoton,

When load Mac OS X Server 1.0:
Quote:
Trying cd:,\\:tbxi...
this image is not for this platformNo valid state has been set by load or init-program


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Sep 14, 2018 6:52 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
Only Server 1.2v3 can be installed, others seem to require hardware Qemu doesn't emulate.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat Sep 15, 2018 9:02 am 
Offline
Student Driver
User avatar

Joined: Fri Aug 17, 2018 7:15 pm
Posts: 14
Cat_7 Mac OS X Server 1.2 cannot load:

Quote:
qemu-system-ppc: Trying to execute code outside RAM or ROM at 0x12181020
This usually means one of the following happened:

(1) You told QEMU to execute a kernel for the wrong machine type, and it crashed on startup (eg trying to run a raspberry pi kernel on a versatilepb QEMU machine)
(2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU executed a ROM full of no-op instructions until it fell off the end
(3) Your guest kernel has a bug and crashed by jumping off into nowhere

This is almost always one of the first two, so check your command line and that you are using the right type of kernel for this machine.
If you think option (3) is likely then you can try debugging your guest with the -d debug options; in particular -d guest_errors will cause the log to include a dump of the guest register state at this point.

Execution cannot continue; stopping here.


My batch file:
Code:
qemu-system-ppc -L pc-bios -m 256 -M mac99 -prom-env “boot-args=-v” -prom-env “auto-boot?=true” -prom-env “vga-ndrv?=true” -hda MacOS.img -cdrom mac_osx_server12.iso -sdl -device usb-mouse -device adb-keyboard -boot d


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat Sep 15, 2018 10:17 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
Just follow the steps here:

Mac OS X Server 1.2v3

Installation requires several steps:
Step 1: boot from installation CD, use disk utility to partition disk as Apple Server, Start the installation and let it fail. Quit Qemu and reboot with command line in step 2.

qemu-system-ppc -L pc-bios -boot d -M mac99,via=pmu-adb -m 256 -net none -prom-env "auto-boot?=true" -prom-env "vga-ndrv?=true" -prom-env "boot-args=-v" -sdl -cdrom OSXServer1.2v3.iso -hda OSXServer1.2v3.qcow2

Step 2: initial installation (note machine and CPU, otherwise no desktop is shown).

qemu-system-ppc -L pc-bios -boot d -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=false" -net none -sdl -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso

At the boot prompt enter "boot cd:9,\\:tbxi" Initial installation starts. Quit Qemu after completion.

Step 3: Installation continued. Boot with the following command line to complete the installation.

qemu-system-ppc -L pc-bios -boot c -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -net none -sdl -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso

Step 4: Boot the installed system:

qemu-system-ppc -L pc-bios -boot c -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -net none -sdl -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 17, 2018 11:49 pm 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 87
Cat_7 wrote:
Just follow the steps here:

Mac OS X Server 1.2v3

Installation requires several steps:
Step 1: boot from installation CD, use disk utility to partition disk as Apple Server, Start the installation and let it fail. Quit Qemu and reboot with command line in step 2.

qemu-system-ppc -L pc-bios -boot d -M mac99,via=pmu-adb -m 256 -net none -prom-env "auto-boot?=true" -prom-env "vga-ndrv?=true" -prom-env "boot-args=-v" -sdl -cdrom OSXServer1.2v3.iso -hda OSXServer1.2v3.qcow2

Step 2: initial installation (note machine and CPU, otherwise no desktop is shown).

qemu-system-ppc -L pc-bios -boot d -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=false" -net none -sdl -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso

At the boot prompt enter "boot cd:9,\\:tbxi" Initial installation starts. Quit Qemu after completion.

Step 3: Installation continued. Boot with the following command line to complete the installation.

qemu-system-ppc -L pc-bios -boot c -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -net none -sdl -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso

Step 4: Boot the installed system:

qemu-system-ppc -L pc-bios -boot c -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -net none -sdl -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso


So, I'm stuck on this screen for Step 3:
Image

How long does it normally take to get to the other installation part?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Sep 18, 2018 8:20 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
Hi,

Did the installation in step 2 install stuff? I noticed the disk could not be found to install to if I didn't at least start the installation from CD image in step 1 and let it fail.
After that, the installation in step 2 succeeded. You have to wait for the installation to show that it has synced disks and is about to restart. Then I could boot to the second phase installer in step 3.

What is your command line for step 3? Do you use -g to set the graphics size?

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 1:17 am 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 87
Cat_7 wrote:
Hi,

Did the installation in step 2 install stuff? I noticed the disk could not be found to install to if I didn't at least start the installation from CD image in step 1 and let it fail.
After that, the installation in step 2 succeeded. You have to wait for the installation to show that it has synced disks and is about to restart. Then I could boot to the second phase installer in step 3.

What is your command line for step 3? Do you use -g to set the graphics size?

Best,
Cat_7

Yep, I saw the same thing. Started the installation from the CD after formatting the drive, letting it fail, quitting qemu and then using the Step 2 command line stuff. I waited until this screen to quit qemu and start Step 3:
Image

Am I quitting qemu too soon? It just sits at that screen for a long time. I don't think I've seen it ever get beyond that. Does qemu just quit by itself if it tries to reboot? (I honestly forget if it does that or not). Here are the command lines that I’m using

Step 1 (formatting the drive):
./qemu-system-ppc -L pc-bios -boot d -M mac99,via=pmu-adb -m 256 -net none -prom-env "auto-boot?=true" -prom-env "vga-ndrv?=true" -prom-env "boot-args=-v" -cdrom OSXServer1.2v3.iso -hda OSXServer1.2v3.qcow2 -g 1024x768x32

Step 2 (installation part 1):
./qemu-system-ppc -L pc-bios -boot d -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=false" -net none -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso -g 1024x768x32

Step 3 (installation part 2):
./qemu-system-ppc -L pc-bios -boot c -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -net none -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso -g 1024x768x32

Step 4 (booting from the HD):
./qemu-system-ppc -L pc-bios -boot c -M g3beige -cpu G3 -m 256 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -net none -hda OSXServer1.2v3.qcow2 -cdrom OSXServer1.2v3.iso -g 1024x768x32

I’m using Qemu-3.0.0-OSX-14-08-2018.zip. I used the “qemu_vga_NO256.ndrv” from the “vga-driver” folder. I feel like I'm missing something but I'm not sure what.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 6:44 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
There is no need to copy the qemu video driver, as the one in the pc-bios folder is the same as the NO256 one.

At step 2, you should wait until "continuing" as you did. At this phase, qemu doesn't restart by itself.
I would suggest you try step 3 without the -g 1024x768x32

I now redid the installation in Linux and Windows, and both succeeded. I'll retry in OSX later to see whether there are issues on that platform.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 7:06 am 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 87
Cat_7 wrote:
There is no need to copy the qemu video driver, as the one in the pc-bios folder is the same as the NO256 one.

At step 2, you should wait until "continuing" as you did. At this phase, qemu doesn't restart by itself.
I would suggest you try step 3 without the -g 1024x768x32

I now redid the installation in Linux and Windows, and both succeeded. I'll retry in OSX later to see whether there are issues on that platform.

Best,
Cat_7

Ah, gotcha. Ok. I'll try that. Thanks!


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 4:50 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
Hi,

I just redid the installation in OSX. With the inclusion of the additional start of the installation at Step 1 it went correctly.

At step2 I saw:
continuing
done
md_shutdown_devices() called.

and I then shut down Qemu. However, I did not see those additional lines in other installations.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 6:10 pm 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 87
Cat_7 wrote:
Hi,

I just redid the installation in OSX. With the inclusion of the additional start of the installation at Step 1 it went correctly.

At step2 I saw:
continuing
done
md_shutdown_devices() called.

and I then shut down Qemu. However, I did not see those additional lines in other installations.

Best,
Cat_7

Hmm, ok. So, Step 3 went as it should? It didn't hang forever on that screen I posted? What Mac version of qemu did you use? Also, what were your command line setups for each step? Anything different compared to what I posted?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 9:30 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
I followed your command lines exactly and also failed on step 3.

I think I found the issue. The installation in OSX doesn't like the qcow2 image to install to. Please try with a raw image. You can make one like this:
./qemu-img create -f raw -o size=2G OSXServer1.2v3.img

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 9:59 pm 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 87
Cat_7 wrote:
I followed your command lines exactly and also failed on step 3.

I think I found the issue. The installation in OSX doesn't like the qcow2 image to install to. Please try with a raw image. You can make one like this:
./qemu-img create -f raw -o size=2G OSXServer1.2v3.img

Best,
Cat_7

Image
That did the trick! Thanks for the help! Can't believe after years of wanting to, I can finally run Mac OS X Server 1.2v3 (Rhapsody 5.6)


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 19, 2018 10:32 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4673
Location: Sittard, The Netherlands
Yes,

But without networking, and it is dead-slow ;-)

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Sep 20, 2018 1:12 am 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 87
Cat_7 wrote:
Yes,

But without networking, and it is dead-slow ;-)

Best,
Cat_7

Yeah, exactly. Thanks again for the help!


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 18 posts ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group