root_archive man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

root_archive(1M)	System Administration Commands	      root_archive(1M)

NAME
       root_archive - manage bootable miniroot archives

SYNOPSIS
       /boot/solaris/bin/root_archive pack archive root

       /boot/solaris/bin/root_archive unpack archive root

       /boot/solaris/bin/root_archive packmedia solaris_image root

       /boot/solaris/bin/root_archive unpackmedia solaris_image root

DESCRIPTION
       The  root_archive  utility  is used to manipulate boot archives and the
       bootable miniroot(s) in a Solaris install image. The utility  can  pack
       and  unpack  boot  archives  and	 image	miniroots.  Both  ufs and hsfs
       (iso9660) format archives can be unpacked, although only ufs format  is
       generated when packing.

       For  normal,  boot-related system administration, bootadm(1M) is recom‐
       mended. root_archive's primary purpose is to  enable  OEMs  to  add  or
       update a driver or other component on the Solaris install media.

       A miniroot and a boot archive is closely associated with the release it
       is intended to boot. To ensure that the tools and system services  used
       to  construct  the  miniroot  match, miniroot manipulation must be per‐
       formed only on a system running the same release for which the miniroot
       is intended to install.

SUBCOMMANDS
       The root_archive command has the following subcommands:

       pack archive root    Pack  the  contents of the root directory into the
			    boot archive archive.

       unpack archive root

	   Unpack the contents of the boot archive named archive to the direc‐
	   tory named root.

       packmedia solaris_image root

	   Create  and pack the miniroot(s) in solaris_image from the contents
	   of the directory named root.

       unpackmedia solaris_image root

	   Unpack the contents of the  miniroot(s)  in	solaris_image  to  the
	   directory named root.

       The  contents of a miniroot are constructed to need the requirements of
       the release. When unpacking a miniroot, all the contents of  the	 mini‐
       root(s)	are  unpacked.	When  packing a miniroot, the source directory
       must contain all the necessary components with  which  to  construct  a
       miniroot.  In  general, this can only be achieved by first unpacking an
       existing miniroot.

EXAMPLES
       Example 1 Unpacking the Miniroots in a Solaris x86 Install Image

       The following command unpacks the miniroots in a Solaris image  to  the
       root directory in /export/release/latest.

	 # root_archive unpackmedia \
	 /export/nv/solarisdvd.nvx_dvd/latest /export/release/latest/root

       In  the	preceding,  /export/nv/solarisdvd.nvx_dvd/latest  represents a
       path to a Solaris x86 install image and /export/release/latest/root  is
       a directory that will be purged or created, as necessary.

       Example 2 Packing the Miniroots in a Solaris x86 Install Image

       The  following  command	creates and packs the miniroot(s) in a Solaris
       image from the contents of the directory /export/release/latest/root.

	 # root_archive packmedia \
	 /export/nv/solarisdvd.nvx_dvd/latest /export/release/latest/root

EXIT STATUS
       The following exit values are returned:

       0    The command completed successfully.

       1    The command exited due to an error.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWcs			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       cpio(1), bootadm(1M), mount(1M), attributes(5), lofi(7D)

SunOS 5.10			  9 Sep 2009		      root_archive(1M)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net