• Unable to activate a new BE

    From YTC#1@21:1/5 to All on Tue Feb 4 12:15:11 2020
    It's just a desktop/test system, so ultimately I can blow it away and
    start again if needed.
    But .... curious to see i this can be fixed. In that past I would have
    resorted to installgrub.

    (History, system has 2 other disks, 1 with Ubuntu and and 1 with
    OpenIndiana)

    I upgraded from SRU15 to SRU17, but the activation fails. (see below).

    I can manually boot the system to SRU17
    ---8<

    # beadm list
    BE Name Flags Mountpoint Space Policy Created ----------------------- ----- ---------- ------- ------ ---------------- S11.3SRU36-failed-S11.4 - - 1.95G static 2019-12-13 11:54 S11.4-SRU17 N / 2.94G static 2020-02-04 09:54 S11.4SRU15 R - 37.90G static 2019-12-17 08:48 S11.4SRU15-backup-1 - - 892.09M static 2019-12-18 14:04 S11.4prep - - 2.35G static 2019-12-16 14:10
    SRU35 - - 321.92M static 2018-09-08 16:25
    ---8<

    But not activate it (or any others any more)
    ---8<
    ~# beadm activate S11.4-SRU17
    Activating BE S11.4-SRU17 failed.
    property 'bootfs': c1t2d0s1 is part of an EFI(GPT) labeled device.
    A required boot partition (BIOS Boot) was not found. All disk
    labeling/system requirements for booting are not satisfied.
    Please see logfile /var/share/beadm/beadm.7514.20200204_120442.log for additional details
    ---8< see below for log

    ---8< Bootloader
    ~# bootdm install-bootloader -v
    -bash: bootdm: command not found
    root@ytc2:~# bootadm install-bootloader -v
    Output from boot loader installation command "/usr/lib/grub2/bios/sbin/grub-install --no-floppy --grub-directory=/rpool/boot/grub/i386-pc --pkglibdir=/usr/lib/grub2/bios/lib/grub/i386-pc --modules=minicmd
    reboot --no-check-versioning --debug --force-mbr /dev/rdsk/c1t2d0p0" is: bootadm: GRUB2 installation failed
    ---8<

    ---8< /var/share/beadm/beadm.7514.20200204_120442.log
    2020-02-04 12:04:42 - DEBUG - Completed name: be://rpool/S11.4-SRU17
    2020-02-04 12:04:42 - DEBUG - Discovering pool name: rpool
    2020-02-04 12:04:42 - DEBUG - Searching for BEs named S11.4-SRU17 in
    rpool/ROOT
    2020-02-04 12:04:42 - DEBUG - Getting info for S11.4-SRU17
    2020-02-04 12:04:42 - DEBUG - Root dataset is: rpool/ROOT/S11.4-SRU17 2020-02-04 12:04:42 - DEBUG - Getting dataset properties for rpool/ROOT/S11.4-SRU17
    2020-02-04 12:04:42 - DEBUG - BE root dataset properties:
    2020-02-04 12:04:42 - DEBUG - org.opensolaris.libbe:uuid=c5030779-f7fb-4400-9544-27dd4bc2cd5f
    2020-02-04 12:04:42 - DEBUG - Getting default bootfs value from bootmgmt. 2020-02-04 12:04:42 - DEBUG - Default bootfs value: rpool/ROOT/S11.4SRU15 2020-02-04 12:04:42 - DEBUG - Searching for all BEs in rpool/ROOT
    2020-02-04 12:04:42 - DEBUG - Getting info for S11.4prep
    2020-02-04 12:04:42 - DEBUG - Root dataset is: rpool/ROOT/S11.4prep
    2020-02-04 12:04:42 - DEBUG - Getting dataset properties for rpool/ROOT/S11.4prep
    2020-02-04 12:04:42 - DEBUG - BE root dataset properties:
    2020-02-04 12:04:42 - DEBUG - org.opensolaris.libbe:uuid=274bbde0-ded7-45f4-9f57-de0664311739
    2020-02-04 12:04:42 - DEBUG - Getting info for S11.4SRU15-backup-1
    2020-02-04 12:04:42 - DEBUG - Root dataset is:
    rpool/ROOT/S11.4SRU15-backup-1
    2020-02-04 12:04:42 - DEBUG - Getting dataset properties for rpool/ROOT/S11.4SRU15-backup-1
    2020-02-04 12:04:42 - DEBUG - BE root dataset properties:
    2020-02-04 12:04:42 - DEBUG - org.opensolaris.libbe:uuid=8b565e9e-0203-42eb-94cd-8191b0714e16
    2020-02-04 12:04:42 - DEBUG - Getting info for S11.3SRU36-failed-S11.4 2020-02-04 12:04:42 - DEBUG - Root dataset is: rpool/ROOT/S11.3SRU36-failed-S11.4
    2020-02-04 12:04:42 - DEBUG - Getting dataset properties for rpool/ROOT/S11.3SRU36-failed-S11.4
    2020-02-04 12:04:42 - DEBUG - BE root dataset properties:
    2020-02-04 12:04:42 - DEBUG - org.opensolaris.libbe:uuid=855e1d27-1889-4b4b-bcd1-b7fe9b9f5437
    2020-02-04 12:04:43 - DEBUG - Getting info for S11.4SRU15
    2020-02-04 12:04:43 - DEBUG - Root dataset is: rpool/ROOT/S11.4SRU15
    2020-02-04 12:04:43 - DEBUG - Getting dataset properties for rpool/ROOT/S11.4SRU15
    2020-02-04 12:04:43 - DEBUG - BE root dataset properties:
    2020-02-04 12:04:43 - DEBUG - org.opensolaris.libbe:uuid=20878524-be4d-464b-a209-f855b17b97cc
    2020-02-04 12:04:43 - DEBUG - Getting info for SRU35
    2020-02-04 12:04:43 - DEBUG - Root dataset is: rpool/ROOT/SRU35
    2020-02-04 12:04:43 - DEBUG - Getting dataset properties for
    rpool/ROOT/SRU35
    2020-02-04 12:04:43 - DEBUG - BE root dataset properties:
    2020-02-04 12:04:43 - DEBUG - org.opensolaris.libbe:uuid=1f6458b5-13ac-4ee7-a779-8c059aa9f711
    2020-02-04 12:04:43 - DEBUG - Getting default bootfs value from bootmgmt. 2020-02-04 12:04:43 - DEBUG - Default bootfs value: rpool/ROOT/S11.4SRU15 2020-02-04 12:04:43 - DEBUG - solaris_zone is not loaded, loading module. 2020-02-04 12:04:43 - DEBUG - Looking for VT impl in solaris_zone.py
    2020-02-04 12:04:43 - DEBUG - Found vt mgr class <class 'solaris_zone.SolarisZoneMgr'>. It will use BEGroup class <class 'solaris_zone.SolarisZoneBEGroup'>
    2020-02-04 12:04:43 - DEBUG - solaris10_zone is not loaded, loading module. 2020-02-04 12:04:43 - DEBUG - Looking for VT impl in solaris10_zone.py 2020-02-04 12:04:43 - DEBUG - Found vt mgr class <class 'solaris10_zone.Solaris10ZoneMgr'>. It will use BEGroup class <class 'solaris10_zone.Solaris10ZoneBEGroup'>
    2020-02-04 12:04:43 - DEBUG - labeled_zone is not loaded, loading module. 2020-02-04 12:04:43 - DEBUG - Looking for VT impl in labeled_zone.py
    2020-02-04 12:04:43 - DEBUG - Found vt mgr class <class 'labeled_zone.LabeledZoneMgr'>. It will use BEGroup class <class 'labeled_zone.LabeledZoneBEGroup'>
    2020-02-04 12:04:43 - DEBUG - Executing: ['/usr/sbin/zoneadm', '-R',
    '/', 'list', '-cp']
    2020-02-04 12:04:43 - DEBUG - 0:global:running:/::solaris:shared:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-s10:configured:/zones/ytc-s10::solaris10:shared:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-twiki:configured:/zones/ytc1twiki2::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytcadmin:configured:/zones/ytcadmin::solaris:excl:-:fixed-configuration: 2020-02-04 12:04:43 - DEBUG - -:ytc-jet:configured:/zones/ytc-jet::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-apps:configured:/zones/ytc-apps::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-sgd:configured:/zones/ytcsgd5::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc_z1:configured:/zones/ytc_z1::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-cloud:configured:/zones/ytc-cloud::solaris:excl:-:fixed-configuration: 2020-02-04 12:04:43 - DEBUG - -:ytc-cloud-clone:configured:/zones/ytc-cloud-clone::solaris:excl:-:: 2020-02-04 12:04:43 - DEBUG - -:ytc-dns:configured:/zones/ytc-dns::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-vdcf:configured:/zones/ytc-vdcf::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-vb:configured:/system/volatile/zones/ytc-vb/zonepath::solaris-kz:excl:-:solaris-kz:
    2020-02-04 12:04:43 - DEBUG - -:ytc-emoc-2:installed:/system/volatile/zones/ytc-emoc-2/zonepath:13f3226f-ea90-4fa4-bdc7-9dddf85556fd:solaris-kz:excl:-:solaris-kz:
    2020-02-04 12:04:43 - DEBUG -
    -:ytc-z:configured:/zones/ytc-z::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-z3:configured:/zones/ytc-z3::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - list of all zones in /: []
    2020-02-04 12:04:43 - DEBUG - Using the SolarisZoneMgr VT plugin class,
    found the following zones:
    2020-02-04 12:04:43 - DEBUG - Executing: ['/usr/sbin/zoneadm', '-R',
    '/', 'list', '-cp']
    2020-02-04 12:04:43 - DEBUG - 0:global:running:/::solaris:shared:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-s10:configured:/zones/ytc-s10::solaris10:shared:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-twiki:configured:/zones/ytc1twiki2::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytcadmin:configured:/zones/ytcadmin::solaris:excl:-:fixed-configuration: 2020-02-04 12:04:43 - DEBUG - -:ytc-jet:configured:/zones/ytc-jet::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-apps:configured:/zones/ytc-apps::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-sgd:configured:/zones/ytcsgd5::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc_z1:configured:/zones/ytc_z1::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-cloud:configured:/zones/ytc-cloud::solaris:excl:-:fixed-configuration: 2020-02-04 12:04:43 - DEBUG - -:ytc-cloud-clone:configured:/zones/ytc-cloud-clone::solaris:excl:-:: 2020-02-04 12:04:43 - DEBUG - -:ytc-dns:configured:/zones/ytc-dns::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-vdcf:configured:/zones/ytc-vdcf::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-vb:configured:/system/volatile/zones/ytc-vb/zonepath::solaris-kz:excl:-:solaris-kz:
    2020-02-04 12:04:43 - DEBUG - -:ytc-emoc-2:installed:/system/volatile/zones/ytc-emoc-2/zonepath:13f3226f-ea90-4fa4-bdc7-9dddf85556fd:solaris-kz:excl:-:solaris-kz:
    2020-02-04 12:04:43 - DEBUG -
    -:ytc-z:configured:/zones/ytc-z::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - -:ytc-z3:configured:/zones/ytc-z3::solaris:excl:-::
    2020-02-04 12:04:43 - DEBUG - list of all zones in /: []
    2020-02-04 12:04:43 - DEBUG - Using the Solaris10ZoneMgr VT plugin
    class, found the following zones:
    2020-02-04 12:04:43 - DEBUG - list of all zones in /: []
    2020-02-04 12:04:43 - DEBUG - Using the LabeledZoneMgr VT plugin class,
    found the following zones:
    2020-02-04 12:04:43 - ERROR - Traceback (most recent call last):
    File "/usr/lib/python2.7/vendor-packages/bemgmt/cli.py", line 928, in main
    ret = args.func(bemgr, args)
    File "/usr/lib/python2.7/vendor-packages/bemgmt/cli.py", line 330, in do_activate
    bemgr.activate(args.be_fmri)
    File "/usr/lib/python2.7/vendor-packages/bemgmt/__init__.py", line
    1485, in activate
    gbe_obj.be_group.activate(fmri_obj.bename)
    File "/usr/lib/python2.7/vendor-packages/bemgmt/global_zone.py", line
    791, in activate
    self.bootmgmt.install_bootloader(be_binst, be_obj, set_bootfs=True)
    File "/usr/lib/python2.7/vendor-packages/bemgmt/utils.py", line 857,
    in install_bootloader
    force=force)
    File "/usr/lib/python2.7/vendor-packages/bootmgmt/bootconfig.py", line
    827, in commit_boot_config
    orig_bootfs = self._set_default_bootfs()
    File "/usr/lib/python2.7/vendor-packages/bootmgmt/bootconfig.py", line
    793, in _set_default_bootfs
    raise BootmgmtError(error_description)
    BootmgmtError: property 'bootfs': c1t2d0s1 is part of an EFI(GPT)
    labeled device.
    A required boot partition (BIOS Boot) was not found. All disk
    labeling/system requirements for booting are not satisfied.
    ---8<
    --
    Bruce Porter
    "The internet is a huge and diverse community but mainly friendly" http://ytc1.blogspot.co.uk/
    There *is* an alternative! https://www.libreoffice.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)