On 20/05/2020 10:24, infoomatic wrote:
FreeBSD/bhyve virtualization technology basically uses 2 components: the
bootloader and the hypervisor.

It needs some manual steps (using bhyve-grub as bootloader):

*) sysupgrade -n, then shutdown

*) vm.conf usually has a line like 'grub_run0="kopenbsd -h com0 -r sd0a
/bsd"' - use /bsd.upgrade instead of /bsd - this can also be configured
in grub boot menu

*) Upgrade finishes and reboots again automatically, so in grub use /bsd
again. Using the vm.conf method you need to force the shutdown because
the system is trying to boot /bsd.upgrade again which of course
vanished. (so use /bsd in vm.conf again and start the vm)


So for manual upgrade editing the boot config in grub menu is simple, if
you do automated upgrades going via the vm.conf stuff might be preferable.

Or you might want to upgrade your bhyve config to using uefi as the bootloader, so none of these extra steps are needed. Made for flawless upgrade with sysupgrade for me.

Cheers,

Noth

Reply via email to