Installing Mac OS X Server on Quad G5 with 10.4 disks

pedz

Registered
I bought a used Quad G5. When I tried to boot from my 10.4 Server disks, the machine crashed. I have been told by the guys at the Apple Store that I need 10.4.4 disks but they do not exist yet. Hence, this article.

Requirements:

1) An old server. In my case, I have a G4. It is able to install 10.4
2) A new server. In my case, I have a Quad G5. It is NOT able to install 10.4 -- thus the gymnastics that follow.
3) A spare drive on the old server.
4) A copy of 10.4 client as well as a copy of 10.4 server.

TERMS:
Old Boot Drive: the drive that the old server boots from right now.
Temp Server Boot Partition: One of the partitions of the spare drive. I called this partition "Server"
Client Boot Partition: The other partition of the spare drive. I called this partition "Client"
New Boot Drive: The hard disk of the new server that it will boot from.

0) A pre-gymnastic item you can do is download the Mac OS X 10.4.4 Combo Update and put it on the old server somewhere that will be easy to find. This will save having to set up the network settings.

1) Partition the spare drive into two partitions. I did two equal sized partitions. This is not absolutely necessary but it provides an easy point to fall back to if things get hosed up along the way.

2) Insert the Mac OS X Server DVD into the old server. Click the install. It will restart the machine. Load the 10.4 code onto the Temp Server Boot. I picked all of the install packages since you will not get a chance to add them later. Hey... its just disk space, right?

3) After the install, the machine will reboot from the Temp Server Boot Partition. Go through the set up process. One key point is to pick "Standalone" for the Directory Usage question. Try and use whatever settings the final set up will have (except for the Directory Usage). And I do not enable any Services at this time. At the end of the setup, the machine will reboot. (Note, in step 5 b iii below, I use the name lroot as the short name of the admin user that you set up in this step. Substitute the name that you used for lroot below.

4) Log in. If you downloaded the update in step 0, then find the update on the hard drive, mount the dmg, and double click the mpkg to install the update. If you did not download the update, then use the Software Update to update your software. I update just Mac OS X at this point. When this is done, the machine will reboot again.

5) We now need to boot back to the Old Boot Drive.
5 a)The simple approach is to log in, pick Startup Disk from System Preferences, pick the Old Boot Drive, and hit restart.

or

5 b) According to the web, it is possible to boot into single user mode, delete some items, leaving the Temp Server Boot Partition as if it was a fresh install. However I tried this and here is what I found: some settings are not gone. e.g. if you set up your network with manual settings, they will still be there. The hostname will be set to kNotSet.local. And, ultimately, what turned me off is when I tried to start Software Update Service, I got an error that I could not fix. But, if you want to do it, here is what you do:

5 b i) Reboot -- at the chime, hold down command-s. This will boot into single user mode.
5 b ii) /sbin/mount -uw /
5 b iii) rm -rf /Users/lroot (see step 3 above)
5 b iv) rm -rf /var/db/netinfo/local.nidb /var/db/.AppleSetupDone
5 b v) Now you will type "reboot" but when you do, you want to hold down the Option key after the chime. This will bring up a list of possible boot devices. Pick the Old Boot Drive.
5 b vi) Log in... before you forget, go to System Preferences -> Startup Disk, and pick the Old Boot Drive so that it will be the default boot drive. No need to hit restart; just pick it and quick System Preferences.

More details on the 5b approach can be found here: http://www.macintouch.com/tiger32.html

6) So... you are booted back to the Old Boot Drive. If you have not already set up netboot, you need to initialize it here. Start Server Admin (after logging in as an Admin user). Pick NetBoot on the left, Settings on the buttom, and General on the top. Check one or more boxes for which network port to use. Check one or more volumes to put Images and Client Data. I just use the Old Boot Disk as the place to put the images and client data. Hit Save. The service will not start because there are no images.

7) Start System Image Utility. It may be in the dock, otherwise it is in Applications->Server. Click New Install. Enter the infor:
In General: Put the Image Name and Image Index. Available via I set to NFS. Path to Image I set to Local.
In Contents, select Image Source to the Temp Boot Partition.
In Install Options, I pick Enable automated installation. That highlights "Options". Under those Options, I pick Target Volume: User Selects. I check "Erase the target volume before installing" and "Restart the client computer after installing". I also check the "Verify destination after installing". I left "Change ByHost preferences to match client after install" unchecked cause I have no idea what that does.
In Model Filter, Sharing Prefs, and Directory Services, I just leave the defaults.

8) Hit Create. A couple of confirms go by and you are put into a save dialog box. I set the Save As name to something I understand but I do not put any spaces or weird characters in there. (I've had bad experiences with netboot on other hosts in the past.) So, in this case, I put MacOSXServer10.4.4. Notice the drop down menu towards the bottom of the dialog box. Pick one of the volumes that you set up in Netboot. The rest of the path defaults to something that works when you do this. Hit Save. This will grind away for about 30 minutes or more. Perhaps its time for lunch.

9) When System Image Utility completes, go back to Server Admin, click NetBoot on the left, settings on the bottom, and Images along the top. You will see the image that you just created. Check the Enable flag. Hit Save. You may need to hit Start Service as well. Me being the freaky person I am, I reboot the old server at this point. I had all sorts of weird problems when I was doing this and go to the point that I didn't quite trust anything. If you do reboot, start Server Admin back up and make sure that Netboot is still running.

10) Boot the new server and get into Startup Disk. If you boot from CD, the Startup Disk utility is under the Utilities menu. If you boot from a hard drive, then System Preferences -> Startup Disk will get you there. Once there, you should see the new image that the old server is serving up. Click that image and hit restart.

11) At this point, you need to shut down the old server (assuming that you have only one server license). What I did is I first just unhooked the ethernet wire. I had a hell of a time getting the new server to boot, install, and reboot to a valid image. I am not sure what was going on. One thing I finally did was rename my hard disk on the new server back to Macintosh HD -- I also reformatted it at that point. In any case, after you are sure that you got a clean install, you can insert the client Mac OS X install DVD into the old server. Click the install icon, and install the client version on the Client Boot Partition. This gives you a few advantages. A) if you need to go back to the old server for some reason, it is still there. B) if you need to remake the network install image again, you still have the source on the Server Boot Partition. You can even go back and muck with it a bit and remake the install image.

Problems: For whatever reason, this process does *not* produce a clean install. When the G5 started up and I stated to walk through the set up process I hit problems. The following steps describe the problems I hit and the steps I took to resolve them.

12) The sequence of getting OD as a master appears to be like tip toeing through the tulips. You need to get DNS working. I started DNS. I *believe* that this makes it a caching DNS which is what I want/need. You need to get DHCP working -- why I don't know but that is what I read on some board somewhere. So, I did. I started AFP And because I had problems with it before, I started Software Update.

It appears as if the very first time you just click on Software Update in the left panel, processes start up to synchronize with Apple. This can take hours. I just went to bed at this point and got up the next day. I muddled around and started Software Update. It appears also that if it gets confused, it will just stop until the next reboot (or you just happen to notice that it is stopped and start it back up by hand).

13) When I finally went to the OD selection, it said "Connected to a Directory System". So, somehow it decided to change itself from Standalone. In any case, I put it back to Standalone. I think I probably rebooted at this point. Then I switched it to Master. (Again, this is just from reading suggestions on the net.) The OD set up went smooth for me.

14) I started Mail -- basically just walking through the set up. But at some point, whenever I clicked the check boxes to start IMAP and POP and then hit Save, the IMAP and POP check boxes would uncheck themselves. It turns out imap was messed up horribly. /var/spool/imap was empty as well as /var/imap. I first noticed this from log messages in Mail=>Logs=>Mail Access (from Server Admin). I can't find the error message now but something about parameter in line 4 of the config file was empty. The config file is /etc/imap.conf. It had partition-default and configdirectory not set. So I filled those in (using vi) and it was at that point that I noticed /var/imap and /var/spool/imap were empty.

I also discovered that /etc/cyrus.conf was gone. I copied /etc/cyruns.conf.default to /etc/cyrus.conf, filled in /etc/imap.conf, then ran /usr/bin/cyrus/mkimap which is suppose to populate /var/imap. It appears to have worked. I may have rebooted after that just to make sure things started properly. (I tend to reboot during these processes frequently.)

15) At this point, everything but one thing seems to be working. That one thing is that from a client using Mail, I can not save a draft copy of the message and my Sent messages are not being saved. When I try to save the draft copy (or when the Client tries to do it automatically), it gets back an error but the error doesn't really help much. I plan to explore what to do about that today.

I hope this helps someone...
 
Wow, if you just wanted to install Server, install the Mac OS X client media that came with your Quad and then insert the Server media and install the Server specific updates. The basic OS is pretty much the same, you then just need to get those extra packages in there that provide the Server functionality.

Open Directory is heavily dependent on DNS, but does not need DHCP. Many authentication features of OS X require forward and reverse DNS lookups and the Kerberos KDC is exceptionally reliant on this.

You can use DHCP to publish the LDAP info out to network clients, allowing sort of a discovered service for the clients. That may be what you are referring to...

Remember, changing the role of the Open Directory causes loss of the directory information.

:)
 
pedz said:
It appears as if the very first time you just click on Software Update in the left panel, processes start up to synchronize with Apple. This can take hours. I just went to bed at this point and got up the next day. I muddled around and started Software Update. It appears also that if it gets confused, it will just stop until the next reboot (or you just happen to notice that it is stopped and start it back up by hand).

Sounds like familiar advice... :)
 
pedz said:
13) When I finally went to the OD selection, it said "Connected to a Directory System". So, somehow it decided to change itself from Standalone. In any case, I put it back to Standalone. I think I probably rebooted at this point. Then I switched it to Master. (Again, this is just from reading suggestions on the net.) The OD set up went smooth for me.


Check out the slapconfig and LDAP logs to find out how your designated role changed. Remember, just because the GUI lets you do something and says its working, doesn't really mean it is! :)
 
I've done a number of Mac OS X Server installations (since the 10.2 version) on hardware not supported by the actual Server media... and it was never that hard!

As has been pointed out, do a clean install of the version of Mac OS X that came with your system (10.4.4 in this case). Then insert the Server media and double click on the Server mpkg file and run through the install. When the system restarts (as a Mac OS X Server system) run software update to make sure that it is now a complete Mac OS X Server 10.4.4 system.

As long as both the client and server software versions are the same (in this case both are 10.4.x) then you shouldn't have any problems. This has been the standard Apple solution for this issue for years, and the fact that it is this easy is why Apple has never felt the need to keep their versions of Mac OS X Server up-to-date with their hardware.
 
... unless they released new server hardware like the Xserve, I guess... Maybe we should have a howto on this (the simple version, that is). If one of you creates one in here, a mod can make it sticky and link it to the howto-forum.
 
Guys... the packages would not install on anything but 10.4.0. I tried lots of various things. But it would run some type of system check and say "Hey!!! you can only install this on a 10.4 system."
 
Step by step...
installing Mac OS X Server
on hardware not supported by
Mac OS X Server media

These are the steps suggested by Apple for installing Mac OS X Server on hardware that is not supported by the Mac OS X Server media. The conditions for this procedure is that the version of Mac OS X Server be the same as the version of Mac OS X that shipped with the hardware. That is to say if you are installing Server 10.4.x, the original OS for the system must be some version of 10.4 (this is known to also work for 10.1, 10.2 and 10.3 systems).

Steps...
(1) Perform a clean install (OS only) from the original media that came with your system.

(2) Once the installation is complete, insert the Mac OS X Server media. Navigate to the MacOSXServerInstall.mpkg (which should be located at /MacOSXServerInstall/MacOSXServerInstall.mpkg on the media) and double click on the package. Run the installation.

(3) After restarting the system, complete the Mac OS X Server Setup Assistant.

(4) Then run software update to bring the system up to the latest version of Mac OS X Server.​
At this point both the version of Mac OS X installed at the beginning and the version of Mac OS X Server should be the same.


pedz said:
Guys... the packages would not install on anything but 10.4.0. I tried lots of various things. But it would run some type of system check and say "Hey!!! you can only install this on a 10.4 system."
Are you running the installer on the disk or are you double clicking the MacOSXServerInstall.mpkg and running via the system's Installer.app? If you are trying to run the installation software on the disk (the icon that says Install Mac OS X Server), that is what I would imaging is going to happen. That is why you need to specifically run just the MacOSXServerInstall.mpkg package in the system's Installer.app.



__________________
References:
 
I'd say this should be - like this - in the HOWTO forum as well. Even _if_ Apple provides this information. Could be someone doesn't even _expect_ the info on Apple's site and directly looks around here. Want to create it yourself there, RacerX?
 
Sure, not a problem.

Even with there being documentation on Apple's site, it is not the easiest of instructions to find there (I didn't find a page on their site for Server 10.3 even though I'm pretty sure one exist).

Is the layout of that post okay? I mean without the reply part, of course.
 
RacerX, exactly! :)

I deploy hundreds of Xserves and Mac OS X Server a year. This is the methodology that is supposed to be used to get a clean installation. I give the OP credit for going through all that, but if that was the case, new hardware would be few and far between in the enterprise. ;)
 
The icon on the CD just changes the Startup Disk to the CD and then reboots. I tried double clicking the mpkg. There is actually two of them on the CD. I tried both. Both did not work. I was running 10.4.4 at the time. The hardware actually came with 10.4.2.

I have a spare disk. I will try this over the next few hours. The actual hardware will be a G4 but that should not matter should it?

I guess, for that matter, I could flip one of my spare SATA drives into the G5 and try it there as well. Yea... I'll do that. I need to get a drive in that slot anyway.
 
Is this the package you tried to install? This is on the DVD. If your looking at CDs, it usually is disk 2.

ServerInstallPKG.tif
 
The haze is lifting. I'm trying the process now. But, what I did at one point is try to install the packages on a fresh drive while running on another drive. I was running 10.4.4 Server -- not 10.4.4 Client. It was at that point that the packages said that I had to be on 10.4. So, this may work. I did not do this exact process.

Stay tuned... should know in about 15 minutes.
 
Sorry for the delay.

It worked like a champ. I don't know if I should be sad cause all the time I wasted (like a week or more) or if I should be happy cause its finally really really really working (did I say 'really'?)...

The hardware came with 10.4.2. I installed it. Did the Update. Then installed the server as the directions say (from a DVD). Then did another update and I'm running 10.4.4 server.

I've got things configured back with the new disk to the same point I was at before but I am not having any weird problems. My imap stuff is there. Everything is like it is documented.
 
Back
Top