Sarah and Podlipnik: Doing LU from snv_70b to b113/b114 is a long shot. Many things had changed.
1. In snv_90 and onward, the compression of the install images is now unzipped with the 7zip utility. If you are liveupgrade from nevada builds before snv_79, you must install the SUNWp7zip package from the latest Nevada build before you can do live upgrade. If you do not install SUNWp7zip, the live upgrade will not work at all. Sarah Jelinek wrote: > Hi Podlipnik, > > There are a few issues here I see: > > -You were trying to live upgrade from b70b to b113. I believe that LU > isn't supported more than n-2 releases apart. This applies to, for > example, s8-s10. However, it is a good rule of thumb to not go more than > 2 builds apart in Nevada. > > -installgrub doesn't create a grub menu. I don't think the issue is that > you lost your stage 1 and stage 2 files on the boot area of your primary > BE. Running this doesn't get you what you need. > > -It sounds as if your grub menu is gone, thus you are getting the grub> > prompt. You can boot the system from a cd, run bootadm list-menu -R > <altroot> and see if it finds any menu. You will have to mount your > primary BE to do this. > > >> 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? >> > See my comments about installgrub above. >> 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 >> > > Were you trying to propagate grub menus to every BE on your system? Not > sure why you ran this script. >> 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. >> > You can use the grub> > command set to get booted to the right root. Then manually modify your > menu.lst file to be correct. > > You have to provide the kernel and boot module info, then boot. So, you > provide something like this: > > kernel$ /platform/i86pc/kernel/$ISADIR/unix > module$ /platform/i86pc/$ISADIR/boot_archive > > then type in 'boot'. > > Assuming everything is in tact except the grub menu on your b70b system, > it should boot for you. You then have to manually fix the menu.lst file > which is what grub uses to determine the boot data. > > Hope this helps, > sarah > > > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/install-discuss