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.

Can I fix this manually somehow?

/Magnus


_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to