|Skip Navigation Links|
|Exit Print View|
|Managing Boot Environments With Oracle Solaris 11 Express Oracle Solaris 11 Express 11/10|
If you want to update packages on an existing, inactive boot environment, you can mount that environment and, optionally, update packages on it.
$ beadm mount beName mountpoint
Note - If the directory for the mount point does not exist, the beadm utility creates the directory, then mounts the boot environment on that directory.
If the boot environment is already mounted, the beadm mount command fails and does not remount the boot environment at the newly specified location.
The boot environment is mounted but remains inactive.
For example, you can use the pkg install command with the -R option to update specific packages on the boot environment.
$ pkg -R /mnt install packagename
Where /mnt is the mount point for the boot environment.
Note - Unmount the boot environment before rebooting.
For further information, see the pkg(1) man page.
You can use the beadm command to unmount an existing boot environment.
Note - You cannot unmount the boot environment that is currently booted.
$ beadm unmount beName