mary ding wrote: > Magnus: > > Please make sure you use the latest LU packages from the new nevada > build you want to upgrade to. > > i.e: > > # cd <cdrom>/Solaris_11/Tools/Installers > # ./liveupgrade20 -nodisplay -noconsole > > > Then ludelete, lucreate and luupgrade again and see whether it is still > a problem.
I did as you suggested but got the same errors. This time I noticed that two packages failed to install (didn't notice that last time). Here is the output from the ludelete, lucreate, luupgrade, luactivate: > alopex# ludelete bootenv2 > System has findroot enabled GRUB > Checking if last BE on any disk... > BE <bootenv2> is not the last BE on any disk. > No entry for BE <bootenv2> in GRUB menu > Determining the devices to be marked free. > Updating boot environment configuration database. > Updating boot environment description database on all BEs. > Updating all boot environment configuration databases. > Boot environment <bootenv2> deleted. > alopex# lucreate -n snv_94 > Checking GRUB menu... > System has findroot enabled GRUB > Analyzing system configuration. > Comparing source boot environment <bootenv1> 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. > Updating system configuration files. > Creating configuration for boot environment <snv_94>. > Source boot environment is <bootenv1>. > Creating boot environment <snv_94>. > Cloning file systems from boot environment <bootenv1> to create boot > environment <snv_94>. > Creating snapshot for <rpool/ROOT/snv_90> on <rpool/ROOT/snv_90 at snv_94>. > Creating clone for <rpool/ROOT/snv_90 at snv_94> on <rpool/ROOT/snv_94>. > Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/snv_94>. > Saving existing file </boot/grub/menu.lst> in top level dataset for BE > <snv_94> 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_94> in GRUB menu > Population of boot environment <snv_94> successful. > Creation of boot environment <snv_94> successful. > alopex# luupgrade -u -n snv_94 -s /cdrom/sol_11_x86/ > > System has findroot enabled GRUB > No entry for BE <snv_94> in GRUB menu > Copying failsafe kernel from media. > Uncompressing miniroot > Uncompressing miniroot archive (Part2) > 13367 blocks > Creating miniroot device > miniroot filesystem is <ufs> > Mounting miniroot at </cdrom/sol_11_x86//Solaris_11/Tools/Boot> > Mounting miniroot Part 2 at </cdrom/sol_11_x86//Solaris_11/Tools/Boot> > Validating the contents of the media </cdrom/sol_11_x86/>. > 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_94>. > Checking for GRUB menu on ABE <snv_94>. > Saving GRUB menu on ABE <snv_94>. > Checking for x86 boot partition on ABE. > Determining packages to install or upgrade for BE <snv_94>. > Performing the operating system upgrade of the BE <snv_94>. > 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_94>. > Adding operating system patches to the BE <snv_94>. > 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_94> contains a log of the upgrade operation. > INFORMATION: The file </var/sadm/system/data/upgrade_cleanup> on boot > environment <snv_94> contains a log of cleanup operations required. > WARNING: <2> packages failed to install properly on boot environment <snv_94>. > INFORMATION: The file </var/sadm/system/data/upgrade_failed_pkgadds> on > boot environment <snv_94> contains a list of packages that failed to > upgrade or install properly. > INFORMATION: Review the files listed above. Remember that all of the files > are located on boot environment <snv_94>. Before you activate boot > environment <snv_94>, 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_94> is partially complete. > Installing failsafe > Failsafe install is complete. > alopex# sync > alopex# lumount snv_94 > /.alt.snv_94 > alopex# cat /.alt.snv_94/var/sadm/system/data/upgrade_failed_pkgadds > SUNWxvmdomr > SUNWxvmr > alopex# luumount > ERROR: You must specify the boot environment to unmount either with the <-n> > option, the <-m> option, or by providing a boot environment name, mount > point, or block device. > Usage: luumount [ -f ] [ -l error_log-file ] [ -o out_file ] [ -X ] > ( [ -n ] BE_name | -m mount_point ) > alopex# luumount snv_94 > alopex# lustatus > Boot Environment Is Active Active Can Copy > Name Complete Now On Reboot Delete Status > -------------------------- -------- ------ --------- ------ ---------- > bootenv1 yes yes yes no - > snv_94 yes no no yes - > alopex# sync > alopex# luactivate snv_94 > System has findroot enabled GRUB > Generating boot-sign, partition and slice information for PBE <bootenv1> > WARNING: <2> packages failed to install properly on boot environment <snv_94>. > INFORMATION: </var/sadm/system/data/upgrade_failed_pkgadds> on boot > environment <snv_94> contains a list of packages that failed to upgrade or > install properly. Review the file before you reboot the system to > determine if any additional system maintenance is required. > > Generating boot-sign for ABE <snv_94> > Saving existing file </etc/bootsign> in top level dataset for BE <snv_94> as > <mount-point>//etc/bootsign.prev. > Generating partition and slice information for ABE <snv_94> > 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/c1t0d0s0 /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 > File </etc/lu/GRUB_capability> 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_94> successful. > alopex# lustatus > Boot Environment Is Active Active Can Copy > Name Complete Now On Reboot Delete Status > -------------------------- -------- ------ --------- ------ ---------- > bootenv1 yes yes no no - > snv_94 yes no yes no - > alopex# bootadm list-menu > The location for the active GRUB menu is: /rpool/boot/grub/menu.lst > default 0 > timeout 10 > 0 Solaris Express Community Edition snv_90 X86 > 1 Solaris xVM > 2 Solaris failsafe > alopex# sync And here is the relevant part of /var/svc/log/rc6.log: > Executing legacy init script "/etc/rc0.d/K62lu". > Live Upgrade: Deaktiverar aktuell startmilj? <bootenv1>. > Live Upgrade: K?r stopp-procedurer f?r startmilj?n <bootenv1>. > Live Upgrade: Aktuell startmilj? ?r <bootenv1>. > Live Upgrade: Den nya startmilj?n kommer att bli <snv_94>. > Live Upgrade: Activating boot environment <snv_94>. > Installing GRUB bootloader to all BEs > stage1 written to partition 0 sector 0 (abs 16065) > stage2 written to partition 0, 265 sectors starting at 50 (abs 16115) > cannot open/stat device fel: > FEL: installgrub failed for <fel:> > stage1 written to partition 0 sector 0 (abs 16065) > stage2 written to partition 0, 265 sectors starting at 50 (abs 16115) > cannot open/stat device fel: > FEL: installgrub failed for <fel:> > System does not have an applicable x86 boot partition > FEL: Install GRUB to all BEs is incomplete > FEL: Could not install GRUB that supports the findroot command. > FEL: Live Upgrade: Activation of boot environment <snv_94> FAILED. > Legacy init script "/etc/rc0.d/K62lu" exited with return code 0. /Magnus