bootadm install-bootloader fails on pool imported with altroot
I created a new pool and specified an altroot, copied all datasets over, manually set bootfs to the correct BE, and then I tried to install the bootloader:
# bootadm install-bootloader -v -P newrpool get_mountpoint_from_vfstab: failed to open vfstab (/tmp/.be.ioaqGi/etc/vfstab) be_do_installboot_walk: child 0 of 1 device c14t0d0s1 be_do_installboot_helper: install failed for device c14t0d0. Command: "/usr/sbin/installboot -m -f -b /tmp/.be.joaqGi/boot /dev/rdsk/c14t0d0s1" Errors: installboot: /tmp/.be.joaqGi/boot: No such file or directory be_run_cmd: command terminated with error status: 1
It's obviously not taking the altroot into account.
No data to display