Install Solaris 10 over a Network
Install Solaris 10 over a network
This tutorial assumes that you wish to install Solaris 10 via a network. Please note that this tutorial is for the Solaris SPARC edition only. Sun have a document (see references at end) that covers the installation of both X86 and SPARC architectures. This tutorial is a simplified and annotated version of that document that hopefully you may find easier to understand.
Preparing the install server
My install server is another Sun machine with Solaris 10 already installed.
With the Solaris DVD loaded you first need to setup a directory to save the install image:
mkdir -p /export/home/dvdsparc
Now we change to the following directory on the DVD:
And now we setup the install server and tell it to copy the files to the directory we created above:
Now we use the share command to export the directory over NFS
share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdsparc
Make sure that the NFS server is enabled:
svcadm enable svc:/network/nfs/server
Finally share the NFS shares:
Adding the client to the install server
Edit /etc/ethers and add the ethernet MAC address of the server to be installed. If the file does not exist then create it.
Edit /etc/hosts and add the IP address and hostname of the server to be installed:
127.0.0.1 localhost 172.20.1.9 merlin loghost 172.20.1.161 netra01
It is critical that the IP address be reserved on the DHCP server using it's MAC address as when the install client boots it uses DHCP to get its address.
Change directory to your exported DVD image e.g:
To add the client in the example above we would use the following:
./add_install_client netra01 sun4u
Preparing the client
Power on the client. Wait approx 15 seconds and enter the following key combination to enter the LOM console:
You will now be at the LOM prompt. To enter OpenBoot enter the following command:
Now you are at the OpenBoot prompt and to begin the network install issue the following command at the ok prompt:
The server will reboot and begin the Solaris setup.
Important - This guide assumes that you are installing Solaris onto a server that has no display adapter. During setup you will be asked to choose your console type. For my installations I was using PuTTy setup to use the console and I chose the first entry in the list.
Solaris 10 Installation Guide: Network-Based Installations -