re-preinstall(1M)
NAME
re-preinstall − installs the JumpStart software on a system
SYNOPSIS
cdrom-mnt-pt/export/exec/arch.release/sbin/install.d/re-preinstall
[ −m cdrom-mnt-pt ] [ −k platform_name ] target-slice
AVAILABILITY
SUNWcdrom (Solaris CD).
DESCRIPTION
re-preinstall installs the JumpStart software (Preinstall Boot Image) on a system, so you can power-on the system and have it automatically install the Solaris software (perform a JumpStart installation on the system). Some new systems have the JumpStart software already preinstalled.
There are two ways to use the re-preinstall command. The most common way is to run re-preinstall on a system to install the JumpStart software on its own default boot disk. This is useful if you want to restore a system to its original factory conditions.
You can also run re-preinstall on a system to install JumpStart software on any attached disk. Once you install the JumpStart software on a disk, you can move the disk to a different system and perform a JumpStart installation on the different system. NOTE: While the command is valid for x86 systems, it is not useful because you cannot reboot with arguments.
re-preinstall creates a standard file system on the specified target-slice (usually slice 0), and re-preinstall makes sure there is enough space on the target-slice for the JumpStart software, which usually requires 26 Mbytes. If sufficient space is not available, re-preinstall fails with the following message:
re-preinstall: target-slice is less than 26 Megabytes, please reformat it.
You can use the format(1M) command to create sufficient space on the target-slice for the JumpStart software.
OPTIONS
The following options are supported:
−m cdrom-mnt-pt Absolute path, or mount point, to the Solaris CD. The default is /cdrom.
−k platform_name Platform name of the system that will use the disk with the JumpStart software. The default is the platform name of the system running re-preinstall. (Use the uname −i command to determine a system’s platform name.)
OPERANDS
The following operand is supported:
target-slice Device name of the disk slice where the JumpStart software will be installed (usually slice 0). For example, c0t3d0s0.
EXAMPLES
re-preinstall on a system and install the JumpStart software on its own default boot disk:
1. Mount the Solaris CD if /usr/sbin/vold is not running or CD is not mounted.
2. Use the format(1M) command to determine the target-slice where JumpStart will be installed.
3. Determine the kernel architecture of the system that will use the re-preinstalled disk.
4. Determine the OS release of the CDROM that will be used on the re-preinstalled disk. Run the following command and look for the sparc.Solaris_2.x directory:
# ls /cdrom/cdrom0/s0/export/exec
kvm sparc.Solaris_2.5 usr var
#
5. Run re-preinstall with the −m cdrom-mnt-pt option if the Solaris CD is not mounted on the /cdrom.
For example, the following command installs the JumpStart software on the system’s attached disk for a system with a sun4c kernel architecture, and it uses the Solaris CD mounted with vold:
example# /cdrom/cdrom0/s0/export/exec/sparc.Solaris_2.5/sbin\
/install.d/re-preinstall −m /cdrom/cdrom0/s0 −k sun4c c0t2d0s0
For example, the following command installs the JumpStart software on the system’s attached disk for a system with a sun4c kernel architecture, and it uses the Solaris CD mounted on the /mnt directory:
example# /mnt/export/exec/sparc.Solaris_2.5/sbin/install.d\
/re-preinstall −m /mnt −k sun4c c0t2d0s0
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error has occurred.
SEE ALSO
uname(1), eeprom(1M), format(1M), mount(1M)
SPARC: Installing Solaris Software
SunOS 5.5.1 — Last change: 17 Jan 1996