Hello, I'm having problems with live upgrade on x86. I'm currently running snv_116 and I can't even get past the lucreate bit, never mind luupgrade.
The lucreate appears to succeed, and creates the new zfs filesystem and lustatus looks good, but the grub menu never gets updated. I tried manually poking the grub menu but that didn't seem to work - the new environment was not bootable. As grub not being updated is the first error I figure this is a good place to start the diagnosis. Anyway, here's some output; # lustatus ERROR: No boot environments are configured on this system ERROR: cannot determine list of all boot environment names # lucreate -n fred Checking GRUB menu... Analyzing system configuration. No name for current boot environment. INFORMATION: The current boot environment is not named - assigning name <zfs_nv_116>. Current boot environment is named <zfs_nv_116>. Creating initial configuration for primary boot environment <zfs_nv_116>. The device </dev/dsk/c2t0d0s0> is not a root device for any boot environment; cannot get BE ID. PBE configuration successful: PBE name <zfs_nv_116> PBE Boot Device </dev/dsk/c2t0d0s0>. Comparing source boot environment <zfs_nv_116> 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 <fred>. Source boot environment is <zfs_nv_116>. Creating boot environment <fred>. Cloning file systems from boot environment <zfs_nv_116> to create boot environment <fred>. Creating snapshot for <rpool/ROOT/zfs_nv_116> on <rpool/ROOT/zfs_nv_116 at fred>. Creating clone for <rpool/ROOT/zfs_nv_116 at fred> on <rpool/ROOT/fred>. Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/fred>. Saving existing file </boot/grub/menu.lst> in top level dataset for BE <fred> 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 <fred> in GRUB menu Population of boot environment <fred> successful. Creation of boot environment <fred> successful. # lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- -------- ------ --------- ------ ---------- zfs_nv_116 yes yes yes no - fred yes no no yes - # luactivate -n fred Generating boot-sign, partition and slice information for PBE <zfs_nv_116> Generating boot-sign for ABE <fred> Generating partition and slice information for ABE <fred> 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 expr: non-numeric argument Current GRUB menu default setting is not valid No more bootadm entries. Deletion of bootadm entries is complete. GRUB menu default setting is unchanged 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/c2t0d0s0 /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 <fred> successful. For brevity I'll omit the menu.lst, but it has not been updated as a result of the luactivate; # ls -l /rpool/boot/grub/menu.lst -rw-r--r-- 1 root root 2781 Aug 27 13:51 /rpool/boot/grub/menu.lst # date Saturday, 29 August 2009 08:59:09 BST At this point I can reboot but I don't have any new grub entries. Can someone suggest a way forward on this please - it is driving me nuts! Thanks.. -- This message posted from opensolaris.org