(This was posted to opensolaris-help earlier, but it was suggested
  that this is a better list.)


Hi!

This is my first attempt to use Live Upgrade with ZFS boot/root.

The old boot environment (bootenv1) is a ZFS boot environment
with root FS in rpool/ROOT/snv_90.
This was a fresh install of SXCE build 90.

I created a new boot environment using
lucreate -c bootenv1 -n bootenv2 -p rpool

Then I upgraded using luupgrade.
There were no errors during the upgrade.

After that I ran luactivate bootenv2.
No errors were reported.

However, when I reboot (using init 6) only the old boot environment
(snv_90) can be selected in the GRUB menu.

I found the following error messages in /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 <bootenv2>.
> Live Upgrade: Aktiverar startmilj?n <bootenv2>.
> 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: Aktiveringen av startmilj?n <bootenv2> MISSLYCKADES.
> Legacy init script "/etc/rc0.d/K62lu" exited with return code 0.

(Sorry about the mix of Swedish and English...)

Apparently the activation fails because GRUB cannot be installed.
It seems a boot partition is required...?
But the installation of SXCE build 90 only created a slice for the 
rpool, no separate boot partition.

Can I fix this manually somehow?

/Magnus



Reply via email to