I can confirm that LU is not safe at all. 
After luupgrade failed I should still be able to boot from primary BE.
Reboot stop at grub prompt and I couldn't boot...

I already reinstall grub from NV70:
# installgrub -m /mnt1/boot/grub/stage1 /mnt1/boot/grub/stage2 
/dev/rdsk/c1t0d0s0
but this didn't help.I am still at grub prompt. Any idea how to solve this 
before
reinstalling OS?

Live upgrade steps to grub prompt:

# lofiadm -a /work/borut/solaris/sol-nv-b113-x86-dvd.iso
/dev/lofi/1
# mount -F hsfs -o ro /dev/lofi/1 /mnt

# pkgrm SUNWlur SUNWluu

# /mnt/Solaris_11/Tools/Installers/liveupgrade20 -nodisplay -noconsole

# lucreate -c snv_70b -n snv-b113 -m /:c1t1d0s3:ufs

Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
The device name <c1t1d0s3> expands to device path </dev/dsk/c1t1d0s3>
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Checking GRUB menu...
Analyzing system configuration.
No name for current boot environment.
Current boot environment is named <snv_70b>.
Creating initial configuration for primary boot environment <snv_70b>.
The device </dev/dsk/c1t0d0s0> is not a root device for any boot environment; 
cannot get BE ID.
PBE configuration successful: PBE name <snv_70b> PBE Boot Device 
</dev/dsk/c1t0d0s0>.
Comparing source boot environment <snv_70b> 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.
Searching /dev for possible boot environment filesystem devices
                           
Updating system configuration files.
The device </dev/dsk/c1t1d0s3> is not a root device for any boot environment; 
cannot get BE ID.
Creating configuration for boot environment <snv-b113>.
Source boot environment is <snv_70b>.
Creating boot environment <snv-b113>.
Creating file systems on boot environment <snv-b113>.
Creating <ufs> file system for </> in zone <global> on </dev/dsk/c1t1d0s3>.
Mounting file systems for boot environment <snv-b113>.
Calculating required sizes of file systems              for boot environment 
<snv-b113>.
Populating file systems on boot environment <snv-b113>.
Checking selection integrity.
Integrity check OK.
Populating contents of mount point </>.
Copying.
Creating shared file system mount points.
Creating compare databases for boot environment <snv-b113>.
Creating compare database for file system </>.
Updating compare databases on boot environment <snv-b113>.
Making boot environment <snv-b113> bootable.
Updating bootenv.rc on ABE <snv-b113>.
File </boot/grub/menu.lst> propagation successful
Copied GRUB menu from PBE to ABE
No entry for BE <snv-b113> in GRUB menu
Population of boot environment <snv-b113> successful.
Creation of boot environment <snv-b113> successful.

#  luupgrade -u -n snv-b113 -s /mnt
and
#  /usr/lib/lu/lux86menu_propagate /mnt

Validating the contents of the media </mnt>.
The media is a standard Solaris media.
The media contains a Solaris operating system image.
The media contains <Solaris> version <11>.
Installing latest Live Upgrade packages from media
Updating Live Upgrade packages on all BEs
Successfully updated Live Upgrade packages on all BEs
ERROR: Errors extracting SUNWcsr package from media </mnt>.
ERROR: Cannot extract GRUB from supplied media </mnt>. Exiting ...

# pkgadd -d /mnt/Solaris_11/Product SUNWp7zip

Installation of <SUNWp7zip> was successful.

# /usr/lib/lu/lux86menu_propagate /mnt

Validating the contents of the media </mnt>.
The media is a standard Solaris media.
The media contains a Solaris operating system image.
The media contains <Solaris> version <11>.
Installing latest Live Upgrade packages from media
Updating Live Upgrade packages on all BEs
Successfully updated Live Upgrade packages on all BEs
Successfully extracted GRUB from media
System has no GRUB slice
Installing GRUB bootloader to all GRUB based BEs
stage1 written to partition 0 sector 0 (abs 32130)
stage2 written to partition 0, 271 sectors starting at 50 (abs 32180)
stage1 written to partition 0 sector 0 (abs 32130)
stage2 written to partition 0, 271 sectors starting at 50 (abs 32180)
System does not have an applicable x86 boot partition
install GRUB to all BEs successful
Converting root entries to findroot
Generated boot signature <BE_snv_70b> for BE <snv_70b>
Added findroot entry for BE <snv_70b> to GRUB menu
Generated boot signature <BE_snv-b113> for BE <snv-b113>

Added findroot entry for BE <snv-b113> to GRUB menu
No more bootadm entries. Deletion of bootadm entries is complete.
GRUB menu default setting is unaffected
Done eliding bootadm entries.
File </boot/grub/menu.lst> propagation successful
Menu propagation successful
File </etc/lu/GRUB_slice> deletion successful
Successfully deleted GRUB_slice file
File </etc/lu/GRUB_root> deletion successful
Successfully deleted GRUB_root file
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
Conversion was successful
#

# luupgrade -u -n snv-b113 -s /mnt/

System has findroot enabled GRUB
No entry for BE <snv-b113> in GRUB menu
Uncompressing miniroot
Copying failsafe kernel from media.
52466 blocks
miniroot filesystem is <lofs>
Mounting miniroot at </mnt//Solaris_11/Tools/Boot>
Validating the contents of the media </mnt/>.
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-b113>.
Checking for GRUB menu on ABE <snv-b113>.
Saving GRUB menu on ABE <snv-b113>.
Checking for x86 boot partition on ABE.
Determining packages to install or upgrade for BE <snv-b113>.
Performing the operating system upgrade of the BE <snv-b113>.
CAUTION: Interrupting this process may leave the boot environment unstable
or unbootable.

ERROR: Installation of the packages from this media of the media failed; 
pfinstall returned these diagnostics:

Processing profile

Loading local environment and services

Generating upgrade actions

ERROR: No upgradeable file systems found at specified mount point.
Restoring GRUB menu on ABE <snv-b113>.
ABE boot partition backing deleted.
ABE GRUB has no capability information. Skipping GRUB upgrade.
Configuring failsafe for system.
Failsafe configuration is complete.
INFORMATION: The file </var/sadm/system/logs/upgrade_log> on boot
environment <snv-b113> contains a log of the upgrade operation.
INFORMATION: The file </var/sadm/system/data/upgrade_cleanup> on boot
environment <snv-b113> contains a log of cleanup operations required.
WARNING: <1> packages failed to install properly on boot environment <snv-b113>.
INFORMATION: The file </var/sadm/system/data/upgrade_failed_pkgadds> on
boot environment <snv-b113> 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-b113>. Before you activate boot
environment <snv-b113>, 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-b113> failed.
Installing failsafe
cp: cannot create /tmp/.luupgrade.inf.14651/boot/amd64/x86.miniroot-safe: No 
such file or directory
Failsafe install is complete.
-- 
This message posted from opensolaris.org

Reply via email to