JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 10 1/13 Installation Guide: Network-Based Installations     Oracle Solaris 10 1/13 Information Library
search filter icon
search icon

Document Information

Preface

Part I Planning to Install Over the Network

1.  Where to Find Oracle Solaris Installation Planning Information

2.  Preconfiguring System Configuration Information (Tasks)

3.  Preconfiguring With a Naming Service or DHCP

Part II Installing Over a Local Area Network

4.  Installing From the Network (Overview)

5.  Installing From the Network With DVD Media (Tasks)

6.  Installing From the Network With CD Media (Tasks)

7.  Patching the Miniroot Image (Tasks)

Patching the Miniroot Image (Tasks)

About the Miniroot Image (Overview)

How to Patch the Miniroot Image

Patching the Miniroot Image (Example)

How to Modify the Miniroot (Example)

8.  Installing Over the Network (Examples)

9.  Installing From the Network (Command Reference)

Part III Installing Over a Wide Area Network

10.  WAN Boot (Overview)

11.  Preparing to Install With WAN Boot (Planning)

12.  Installing With WAN Boot (Tasks)

13.  SPARC: Installing With WAN Boot (Tasks)

14.  SPARC: Installing With WAN Boot (Examples)

15.  WAN Boot (Reference)

Part IV Appendixes

A.  Troubleshooting (Tasks)

B.  Installing or Upgrading Remotely (Tasks)

Glossary

Index

Patching the Miniroot Image (Example)

This example describes the steps to patch a miniroot image to create a modified miniroot.

In this example, you perform the unpacking and packing of the miniroot on a system that is running the current release.

How to Modify the Miniroot (Example)

This procedure shows how to install a Kernel Update (KU) patch on an Oracle Solaris 10 1/13 miniroot image on a system that is running the Oracle Solaris 10 OS. Note these details:

The network installation image is located at /net/jmpstart1/export/images/solaris_10_u1/Solaris_10/Tools.

  1. On a system that is running the current Oracle Solaris release, log in as superuser or assume an equivalent role.

    Note - Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.


  2. Change to the directory where you want to unpack the miniroot and place the network installation image.
    # cd /net/server-1/export
  3. Create the installation and miniroot directories.
    # mkdir /export/u1 /export/mr
  4. Change directories to the Tools directory where the Oracle Solaris 10 1/13 installation images are located.
    # cd /net/jmp-start1/export/images/solaris_10/Solaris_10/Tools
  5. Create a new installation image, and place the image on the system that is running the current Oracle Solaris release.
    # ./setup_install_server /export/u1
    Verifying target directory...
    Calculating the required disk space for the Solaris_10 product
    Calculating space required for the installation boot image
    Copying the CD image to disk...
    Copying Install Boot Image hierarchy...
    Copying /boot  netboot hierarchy...
    Install Server setup complete

    The installation server setup is now complete.

  6. Unpack the miniroot.
     # /boot/solaris/bin/root_archive unpackmedia /export/u1 /export/mr
  7. Change directories.
    # cd  /export/mr/sbin
  8. Make a copy of the rc2 and the sulogin files.
    # cp rc2 rc2.orig
    # cp sulogin sulogin.orig
  9. Apply all required patches to the miniroot.
    patchadd -C /export/mr /export patch-ID

    patch-ID specifies the patch ID that you want to apply.

    In this example, five patches are applied to the miniroot.

    # patchadd -C /export/mr /export/118344-14
    # patchadd -C /export/mr /export/122035-05
    # patchadd -C /export/mr /export/119043-10
    # patchadd -C /export/mr /export/123840-04
    # patchadd -C /export/mr /export/118855-36
  10. Export the SVCCFG_REPOSITORY variable.
    # export SVCCFG_REPOSITORY=/export/mr/etc/svc/repository.db

    Caution

    Caution - The SVCCFG_REPOSITORY variable must point to the location of the unpacked miniroot's repository.db file. In this example, that location is the /export/mr/etc/svc directory. The repository.db file is located in the directory /etc/svc under the unpacked miniroot. Failure to export this variable results in the modification of the live repository, which prevents the live system from booting.


  11. Modify the miniroot's repository.db file.
    # svccfg -s system/manifest-import setprop start/exec = :true
    # svccfg -s system/filesystem/usr setprop start/exec = :true
    # svccfg -s system/identity:node setprop start/exec = :true
    # svccfg -s system/device/local setprop start/exec = :true
    # svccfg -s network/loopback:default setprop start/exec = :true
    # svccfg -s network/physical:default setprop start/exec = :true
    # svccfg -s milestone/multi-user setprop start/exec = :true

    For more information, see the svccfg(1M) man page.

  12. Change directories and restore the original copies of the rc2.orig and sulogin.orig files.
    # cd /export/mr/sbin
    # mv rc2.orig rc2
    # mv sulogin.orig sulogin
  13. Pack the modified miniroot that contains the changes you made. Place the modified miniroot in the /export/u1 directory.
    # /boot/solaris/bin/root_archive packmedia /export/u1 /export/mr

    This step essentially replaces /export/u1/boot/miniroot directory, along with some other necessary files.