Installation on Ultra 5
The following guide covers the initiation of an installation of FreeBSD on the Sun Microsystems' Ultra 5 platform. This should be suitable for the Ultra 10 platform, a faster and improved variant of the Ultra 5. It does not cover the entire installation, which is similar to an installation of FreeBSD of i386 or AMD. It simply covers the starting of the installer to the point of similarity.
The specific SPARC-based installation media must be downloaded (or purchased through one of the affiliated on-line stores) - the i386 and AMD64-based installation media will not work! If using the ports system only CD1 is required for the base system installation.
Since the Ultra 5 uses the OpenBoot system to initiate system start-up, the equivalent of the ubiquitous PC BIOS, accessing it is different to what you may be used to coming from the PC world. Upon starting up and viewing the white boot screen (featuring the Sun classic logo and various system details) the key combination 'Stop' and the letter 'A' must be pressed together. This results in a prompt that simply states: "ok".
This allows commands to be typed that control the system's start-up. For example, typing "probe-ide" and pressing enter will reveal the devices attached to the IDE ports. Typically one hard drive and a CD-ROM will be revealed though that is dependant on the installed hardware.
Initiating the FreeBSD installer
With the OpenBoot system in command mode (see above how to interrupt system start-up) and the FreeBSD for SPARC installation cd-rom in the drive, type the following command to begin the process:
ok boot cdrom /boot/loader (press Enter)
Note: The ok above is the command prompt, so enter only the part in bold-type.
After a short while with lots of information scrolling across the screen the familiar Country Selection page appears. From this point the installation becomes the same as an i386 or AMD64-based installation.
Please refer to this guide for continued installation instructions.
FreeBSD of UltraSPARC specific issues
- The Country Selection page does not prompt for Code Page selection;
- The FDisk Partition Editor and other boot loader options are skipped and the FreeBSD Disklabel Editor starts directly. This could because dual-booting and existing with other operating systems is not possible under this architecture.
During the installation on a real Ultra 5 system the following choices were used.
The hard drive was split up into the following slices:
The 'SWAP' is set to 2x the on-board RAM size (a FreeBSD system recommendation). The '/usr' splice is 32GB, but shown as 32768MB on the screen. The '/svr' slice used the remainder of the disk, which happened to be 114GB of the 160GB capacity (give-or-take) and exists as a place to hose the 'server' specific data instead of the default '/usr' locations.