Log in as superuser.
Type:
# luupgrade -f -n BE_name -s os_image_path -J "profile" |
You must specify one of these options: -a, -j, or -J.
-f |
Indicates to upgrade an operating system from a flash archive. |
-n BE_name |
Specifies the name of the boot environment that is to be upgraded. |
-s os_image_path |
Specifies the path name of a directory that contains an operating system image. This can be a directory on an installation medium, such as a CD-ROM, or can be an NFS or UFS directory. |
-J “profile” |
Entry from a JumpStart profile that is configured for a flash installation. See pfinstall(1M) and “Custom JumpStart Installation Topics” in Solaris 8 Advanced Installation Guide for information on the JumpStart software. You must specify one of -a, -j, or -J. |
-j profile_path |
Path to a JumpStart profile that is configured for a flash installation. See pfinstall(1M) and “Custom JumpStart Installation Topics” in Solaris 8 Advanced Installation Guide for information on the JumpStart software. You must specify one of -a, -j, or -J. |
-a archive |
Path to the flash archive when the archive is available on the local file system. You must specify one of -a, -j, or -J. |
In this example, a flash archive is installed on the second_disk boot environment. The -J option is used to retrieve the archives. All files are overwritten on second_disk except shareable files.
# luupgrade -f -n second_disk \ -s /net/installmachine/export/solarisX/OS_image \ -J "archive_location http://example.com/myflash.flar" |