These two bugid's seem to be fixed now for mounting a iso image on a zfs then 
using luupgrade.i

Synopsis        mount of iso image req to track 
*Change Request ID*: 6597733 

*Synopsis*: luupgrade The media is not recognized installation media mounted 
iso on zfs 
6564239 - SUNWcsr checkinstall fails if you mount iso devices in zfs file 
system on 10u3 as the BE for LU 
1. set up the s3 partition to be the same size as s0 when the 10u4 dvd was 
inital_install'ed.
Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm    3074 -  4093        7.81GB    (1020/0/0)   16386300
  1       swap    wu       3 -  1022        7.81GB    (1020/0/0)   16386300
  2     backup    wm       0 - 11118       85.18GB    (11119/0/0) 178626735
  3       root    wm    2054 -  3073        7.81GB    (1020/0/0)   16386300
Note on priv lucreate I ran a newfs s3 (my AF image) on the one time a similar 
issue that you had had, to make sure the s3 slice had nothing on it, hence 
message might appear  "does not contain the GRUB menu"  you might see that 
message when the luupgrade is ran.
2. I had loaded 10u4 used the GUI update manager to apply all the latest 
patches except for these two patches failed to install for the Common Agent 
Container (cacao) 
3. My iso image created from a iso images downloaded from the opensolaris 
website cat'd together to make the image.
4. I ran the /export/install/dvd/Solaris_11/Tools/Installers/liveupgrade20 
5.  # ./lu.sh
diskorg=c0d0s0
disktarget=c0d0s3
BFT=10-u4-ga
AFT=nv-b77
CD=sol-nv-b77-x86-dvd.iso
+ /bin/sh -x
+ echo ludelete altroot_nv-b77_c0d0s3
+ ludelete altroot_nv-b77_c0d0s3
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.
Updating GRUB menu default setting
Boot environment <altroot_nv-b77_c0d0s3> deleted.
+ ./mountdvd.sh sol-nv-b77-x86-dvd.iso
+ lofiadm -a /zones/sol-nv-b77-x86-dvd.iso
+ mount -F hsfs -o ro /dev/lofi/1 /export/install/dvd
+ + echo ./lucreate.sh 10-u4-ga c0d0s0 nv-b77 c0d0s3
/bin/sh -x
+ ./lucreate.sh 10-u4-ga c0d0s0 nv-b77 c0d0s3
+ [ ! -d /export/install/dvd ]
+ lucreate -C /dev/dsk/c0d0s0 -m /:/dev/dsk/c0d0s3:ufs -n altroot_nv-b77_c0d0s3
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
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
Comparing source boot environment <c0d0s0> 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/c0d0s3> is not a root device for any boot environment; 
cannot get BE ID.
Creating configuration for boot environment <altroot_nv-b77_c0d0s3>.
Source boot environment is <c0d0s0>.
Creating boot environment <altroot_nv-b77_c0d0s3>.
Checking for GRUB menu on boot environment <altroot_nv-b77_c0d0s3>.
The boot environment <altroot_nv-b77_c0d0s3> does not contain the GRUB menu.
Creating file systems on boot environment <altroot_nv-b77_c0d0s3>.
Creating <ufs> file system for </> in zone <global> on </dev/dsk/c0d0s3>.
Mounting file systems for boot environment <altroot_nv-b77_c0d0s3>.
Calculating required sizes of file systems for boot environment 
<altroot_nv-b77_c0d0s3>.
Populating file systems on boot environment <altroot_nv-b77_c0d0s3>.
Checking selection integrity.
Integrity check OK.
Populating contents of mount point </>.
Copying.
Creating shared file system mount points.
Creating compare databases for boot environment <altroot_nv-b77_c0d0s3>.
Creating compare database for file system </>.
Updating compare databases on boot environment <altroot_nv-b77_c0d0s3>.
Making boot environment <altroot_nv-b77_c0d0s3> bootable.
Updating bootenv.rc on ABE <altroot_nv-b77_c0d0s3>.
Population of boot environment <altroot_nv-b77_c0d0s3> successful.
Creation of boot environment <altroot_nv-b77_c0d0s3> successful.
+ + echo ./luupgrade.sh nv-b77 c0d0s3
/bin/sh -x
+ ./luupgrade.sh nv-b77 c0d0s3
+ echo install_type upgrade
+ echo cluster SUNWCXall delete
+ echo cluster SUNWCXall add
+ + echo /bin/shluupgrade -u -n altroot_nv-b77_c0d0s3 -s /export/install/dvd -x

+ luupgrade -u -n altroot_nv-b77_c0d0s3 -s /export/install/dvd

Install media is CD/DVD. </export/install/dvd>.
Copying failsafe kernel from media.
Uncompressing miniroot
Uncompressing miniroot archive (Part2)
13356 blocks
Creating miniroot device
miniroot filesystem is <ufs>
Mounting miniroot at </export/install/dvd/Solaris_11/Tools/Boot>
Mounting miniroot Part 2 at </export/install/dvd/Solaris_11/Tools/Boot>
Validating the contents of the media </export/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 <altroot_nv-b77_c0d0s3>.
Checking for GRUB menu on ABE <altroot_nv-b77_c0d0s3>.
Checking for x86 boot partition on ABE.
Determining packages to install or upgrade for BE <altroot_nv-b77_c0d0s3>.
Performing the operating system upgrade of the BE <altroot_nv-b77_c0d0s3>.
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.
Deleted empty GRUB menu on ABE <altroot_nv-b77_c0d0s3>.
Updating package information on boot environment <altroot_nv-b77_c0d0s3>.
Package information successfully updated on boot environment 
<altroot_nv-b77_c0d0s3>.
Adding operating system patches to the BE <altroot_nv-b77_c0d0s3>.
The operating system patch installation is complete.
ABE boot partition backing deleted.
Configuring failsafe for system.
Failsafe configuration is complete.
INFORMATION: The file </var/sadm/system/logs/upgrade_log> on boot
environment <altroot_nv-b77_c0d0s3> contains a log of the upgrade
operation.
INFORMATION: The file </var/sadm/system/data/upgrade_cleanup> on boot
environment <altroot_nv-b77_c0d0s3> contains a log of cleanup operations
required.
WARNING: <2> packages failed to install properly on boot environment 
<altroot_nv-b77_c0d0s3>.
INFORMATION: The file </var/sadm/system/data/upgrade_failed_pkgadds> on
boot environment <altroot_nv-b77_c0d0s3> 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 <altroot_nv-b77_c0d0s3>. Before you
activate boot environment <altroot_nv-b77_c0d0s3>, 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 <altroot_nv-b77_c0d0s3> is 
partially complete.
Installing failsafe
Failsafe install is complete.
+ /bin/sh -x
+ echo luactivate altroot_nv-b77_c0d0s3
+ luactivate altroot_nv-b77_c0d0s3
WARNING: <2> packages failed to install properly on boot environment 
<altroot_nv-b77_c0d0s3>.
INFORMATION: </var/sadm/system/data/upgrade_failed_pkgadds> on boot
environment <altroot_nv-b77_c0d0s3> 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.

Saving latest GRUB loader.
Generating partition and slice information for ABE <altroot_nv-b77_c0d0s3>
Boot menu exists.
Generating direct boot menu entries for ABE.
Generating multiboot menu entries for PBE.

**********************************************************************

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. Do *not* change *hard* disk order in the BIOS.

2. Boot from the Solaris Install CD or Network and bring the system to
Single User mode.

3. Mount the Parent boot environment root slice to some directory (like
/mnt). You can use the following command to mount:

     mount -Fufs /dev/dsk/c0d0s0 /mnt

4. Run <luactivate> utility with out any arguments from the Parent boot
environment root slice, as shown below:

     /mnt/sbin/luactivate

5. luactivate, activates the previous working boot environment and
indicates the result.

6. Exit Single User mode and reboot the machine.

**********************************************************************

Modifying boot archive service
GRUB menu is on device: </dev/dsk/c0d0s0>.
Filesystem type for menu device: <ufs>.
Activation of boot environment <altroot_nv-b77_c0d0s3> successful.
+ ./umountdvd.sh sol-nv-b77-x86-dvd.iso
+ umount /export/install/dvd
+ lofiadm -d /dev/lofi/1
+ lofiadm -d /dev/lofi/2
lofiadm: could not unmap device /dev/lofi/2: No such device or address
#

Let me know of these two packages fail to install (AF image)
# cat /var/sadm/system/data/upgrade_failed_pkgadds
SUNWscmu
SUNWfilebench
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to