You are not specific on what your steps, you need to run a tools utility called
liveupgrade20, in my case I have a zpool as root that set to 64g to allow
multiple alternate root images, the only gotcha I have found so far I was able
to run a luupgrade from 10u6 to snv_b101 and then onto snv_b103 but then the
luactivate 10u6 failed to boot kernel in going back for regression testing:
# ./mountdvd.sh
PATH=/usr/sbin:/usr/bin:/sbin:/usr/sbin:/usr/bin:/bin:/usr/sfw/bin
+ export PATH
+ lofiadm -a /zfs1/image/sol-nv-b103-x86-dvd.iso
+ mount -F hsfs -o ro /dev/lofi/1 /zfs1/install/dvd
# luactivate snv_b101
System has findroot enabled GRUB
Generating boot-sign, partition and slice information for PBE <snv_b101>
Activating the current boot environment <snv_b101> for next reboot.
The current boot environment <snv_b101> has been activated for the next reboot.
# vi lu_zfs.sh
# sh -x ./lu_zfs.sh
MEDIA=/zfs1/install/dvd
+ lucreate -n snv_b103
Checking GRUB menu...
System has findroot enabled GRUB
Analyzing system configuration.
Comparing source boot environment <snv_b101> file systems with the file
system(s) you specified for the new boot environment. Determining which
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
^CUpdating system configuration files.
Creating configuration for boot environment <snv_b103>.
Source boot environment is <snv_b101>.
Creating boot environment <snv_b103>.
Cloning file systems from boot environment <snv_b101> to create boot
environment <snv_b103>.
Creating snapshot for <newpool/ROOT/snv_b101> on <newpool/ROOT/snv_b101 at
snv_b103>.
Creating clone for <newpool/ROOT/snv_b101 at snv_b103> on
<newpool/ROOT/snv_b103>.
Setting canmount=noauto for </> in zone <global> on <newpool/ROOT/snv_b103>.
Saving existing file </boot/grub/menu.lst> in top level dataset for BE <10u6>
as <mount-point>//boot/grub/menu.lst.prev.
Saving existing file </boot/grub/menu.lst> in top level dataset for BE
<snv_b103> as <mount-point>//boot/grub/menu.lst.prev.
File </boot/grub/menu.lst> propagation successful
Copied GRUB menu from PBE to ABE
No entry for BE <snv_b103> in GRUB menu
Population of boot environment <snv_b103> successful.
Creation of boot environment <snv_b103> successful.
# MEDIA=/zfs1/install/dvd
# $MEDIA/Solaris_11/Tools/Installers/liveupgrade20 -noconsole -nodisplay
Sun Microsystems, Inc.
Binary Code License Agreement
Live Upgrade
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED
SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT")
CAREFULLY BEFORE OPENING THE SOFTWARE MEDIA PACKAGE. BY
OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS
OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY
SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS
AGREEMENT. IF YOU DO NOT AGREE TO ALL THESE TERMS,
PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS ACCESSED
ELECTRONICALLY, SELECT THE "DECLINE" BUTTON AT THE END OF
THIS AGREEMENT.
1. LICENSE TO USE. Sun grants you a non-exclusive and
non-transferable license for the internal use only of the
accompanying software and documentation and any error
corrections provided by Sun (collectively "Software"), by the
number of users and the class of computer hardware for which
the corresponding fee has been paid.
2. RESTRICTIONS Software is confidential and copyrighted.
Title to Software and all associated intellectual property
rights is retained by Sun and/or its licensors. Except as
specifically authorized in any Supplemental License Terms, you
may not make copies of Software, other than a single copy of
Software for archival purposes. Unless enforcement is
prohibited by applicable law, you may not modify, decompile,
or reverse engineer Software. Software is not designed or
licensed for use in on-line control of aircraft, air traffic,
aircraft navigation or aircraft communications; or in the
design, construction, operation or maintenance of any nuclear
facility. You warrant that you will not use Software for these
purposes. You may not publish or provide the results of any
benchmark or comparison tests run on Software to any third
party without the prior written consent of Sun. No right,
title or interest in or to any trademark, service mark, logo or
trade name of Sun or its licensors is granted under this
Agreement.
3. LIMITED WARRANTY. Sun warrants to you that for a period of
ninety (90) days from the date of purchase, as evidenced by a
copy of the receipt, the media on which Software is furnished
(if any) will be free of defects in materials and workmanship
under normal use. Except for the foregoing, Software is
provided "AS IS". Your exclusive remedy and Sun's entire
liability under this limited warranty will be at Sun's option
to replace Software media or refund the fee paid for Software.
4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS
AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE
EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY
LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY
LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF
SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no
event will Sun's liability to you, whether in contract, tort
(including negligence), or otherwise, exceed the amount paid by
you for Software under this Agreement. The foregoing
limitations will apply even if the above stated warranty fails
of its essential purpose.
6. Termination. This Agreement is effective until terminated.
You may terminate this Agreement at any time by destroying all
copies of Software. This Agreement will terminate immediately
without notice from Sun if you fail to comply with any
provision of this Agreement. Upon Termination, you must
destroy all copies of Software.
7. Export Regulations. All Software and technical data
delivered under this Agreement are subject to US export control
laws and may be subject to export or import regulations in
other countries. You agree to comply strictly with all such
laws and regulations and acknowledge that you have the
responsibility to obtain such licenses to export, re-export,
or import as may be required after delivery to you.
8. U.S. Government Restricted Rights. Use, duplication, or
disclosure by the U.S. Government is subject to restrictions
set forth in this Agreement and as provided in
DFARS 227.7202-1 (a) and 227.7202-3(a) (1995), DFARS
252.227-7013 (c)(1)(ii)(Oct 1988), FAR 12.212 (a) (1995), FAR
52.227-19 (June 1987), or FAR 52.227-14(ALT III) (June 1987),
as applicable.
9. Governing Law. Any action related to this Agreement will
be governed by California law and controlling U.S. federal law.
No choice of law rules of any jurisdiction will apply.
10. Severability. If any provision of this Agreement is held
to be unenforceable, This Agreement will remain in effect with
the provision omitted, unless omission would frustrate the
intent of the parties, in which case this Agreement will
immediately terminate.
11. Integration. This Agreement is the entire agreement
between you and Sun relating to its subject matter. It
supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties and
prevails over any conflicting or additional terms of any quote,
order, acknowledgment, or other communication between the
parties relating to its subject matter during the term of this
Agreement. No modification of this Agreement will be binding,
unless in writing and signed by an authorized representative
of each party.
For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A.
Sun Microsystems, Inc.
Supplemental Terms for
Live Upgrade
These terms and conditions for Live Upgrade supplement the
terms of the Binary Code License Agreement ("BCL").
Capitalized terms not defined herein will have the meanings
ascribed to them in the BCL. These terms and conditions will
supersede any inconsistent or conflicting terms and conditions
in the BCL.
A.Source Code. Software may contain source code that, unless
expressly licensed for other purposes, is provided solely for
reference purposes pursuant to the terms of this Agreement.
Source code may not be redistributed unless expressly provided
for in this Agreement.
B.Third Party Code. Additional copyright notices and license
terms applicable to portions of the Software are set forth in
the THIRDPARTYLICENSEREADME.txt file. In addition to any terms
and conditions of any third party opensource/freeware license
identified in the THIRDPARTYLICENSEREADME.txt file, the
disclaimer of warranty and limitation of liability provisions
in paragraphs 5 and 6 of the Binary Code License Agreement
shall apply to all Software in this distribution.
C.Termination for Infringement. Either party may terminate
this Agreement immediately should any Software become, or
in either party's opinion be likely to become, the subject
of a claim of infringement of any intellectual property right.
For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A.
# luupgrade -u -n snv_b103 -s $MEDIA
System has findroot enabled GRUB
No entry for BE <snv_b103> in GRUB menu
Uncompressing miniroot
Copying failsafe kernel from media.
52161 blocks
miniroot filesystem is <lofs>
Mounting miniroot at </zfs1/install/dvd/Solaris_11/Tools/Boot>
Validating the contents of the media </zfs1/install/dvd>.
The media is a standard Solaris media.
The media contains an operating system upgrade image.
The media contains <Solaris> version <11>.
Constructing upgrade profile to use.
Locating the operating system upgrade program.
Checking for existence of previously scheduled Live Upgrade requests.
Creating upgrade profile for BE <snv_b103>.
Checking for GRUB menu on ABE <snv_b103>.
Saving GRUB menu on ABE <snv_b103>.
Checking for x86 boot partition on ABE.
Determining packages to install or upgrade for BE <snv_b103>.
Performing the operating system upgrade of the BE <snv_b103>.
CAUTION: Interrupting this process may leave the boot environment unstable
or unbootable.
Upgrading Solaris: 100% completed
Installation of the packages from this media is complete.
Restoring GRUB menu on ABE <snv_b103>.
Adding operating system patches to the BE <snv_b103>.
The operating system patch installation is complete.
ABE boot partition backing deleted.
PBE GRUB has no capability information.
PBE GRUB has no versioning information.
ABE GRUB is newer than PBE GRUB. Updating GRUB.
GRUB update was successful.
Configuring failsafe for system.
Failsafe configuration is complete.
INFORMATION: The file </var/sadm/system/logs/upgrade_log> on boot
environment <snv_b103> contains a log of the upgrade operation.
INFORMATION: The file </var/sadm/system/data/upgrade_cleanup> on boot
environment <snv_b103> contains a log of cleanup operations required.
INFORMATION: Review the files listed above. Remember that all of the files
are located on boot environment <snv_b103>. Before you activate boot
environment <snv_b103>, determine if any additional system maintenance is
required or if additional media of the software distribution must be
installed.
The Solaris upgrade of the boot environment <snv_b103> is complete.
Installing failsafe
Failsafe install is complete.
# luactivate snv_b103
System has findroot enabled GRUB
Generating boot-sign, partition and slice information for PBE <snv_b101>
Generating boot-sign for ABE <snv_b103>
Saving existing file </etc/bootsign> in top level dataset for BE <snv_b103> as
<mount-point>//etc/bootsign.prev.
Generating partition and slice information for ABE <snv_b103>
Copied boot menu from top level dataset.
Generating direct boot menu entries for PBE.
Generating xVM menu entries for PBE.
Generating direct boot menu entries for ABE.
Generating xVM menu entries for ABE.
Disabling splashimage
Re-enabling splashimage
No more bootadm entries. Deletion of bootadm entries is complete.
GRUB menu default setting is unaffected
Done eliding bootadm entries.
**********************************************************************
The target boot environment has been activated. It will be used when you
reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You
MUST USE either the init or the shutdown command when you reboot. If you
do not use either init or shutdown, the system will not boot using the
target BE.
**********************************************************************
In case of a failure while booting to the target BE, the following process
needs to be followed to fallback to the currently working boot environment:
1. Boot from Solaris failsafe or boot in single user mode from the Solaris
Install CD or Network.
2. Mount the Parent boot environment root slice to some directory (like
/mnt). You can use the following command to mount:
mount -Fzfs /dev/dsk/c0d0s0 /mnt
3. Run <luactivate> utility with out any arguments from the Parent boot
environment root slice, as shown below:
/mnt/sbin/luactivate
4. luactivate, activates the previous working boot environment and
indicates the result.
5. Exit Single User mode and reboot the machine.
**********************************************************************
Modifying boot archive service
Propagating findroot GRUB for menu conversion.
File </etc/lu/installgrub.findroot> propagation successful
File </etc/lu/stage1.findroot> propagation successful
File </etc/lu/stage2.findroot> propagation successful
Deleting stale GRUB loader from all BEs.
File </etc/lu/installgrub.latest> deletion successful
File </etc/lu/stage1.latest> deletion successful
File </etc/lu/stage2.latest> deletion successful
Activation of boot environment <snv_b103> successful.
#
--
This message posted from opensolaris.org