> On 27. Apr 2023, at 14:05, Carsten Grzemba via illumos-discuss 
> <[email protected]> wrote:
> 
> I have a rpool which is not bootable from the BIOS/UEFI. I  can boot the pool 
> only if I boot from USB key with installimage first and select then in the 
> loader shell the boot device with

mdb /dev/rdsk/c1d0p0

::load disk_label

Then:

::mbr
::vtoc
::gpt
::quit

rgds,
Toomas


> 
> ok set currdev=zfs:rpool/ROOT/omnios-r151044v:
> ok boot
> I checked the loader installation on the rpool
> # installboot -V -i /dev/rdsk/c1d0s1
> PMBR block from /dev/rdsk/c1d0p0:
> Format: loader (illumos)
> Signature: 0xaa55 (valid)
> UniqueMBRDiskSignature: 0
> Loader STAGE1_STAGE2_LBA: 524544
> Loader STAGE1_STAGE2_SIZE: 1
> Loader STAGE1_STAGE2_UUID: dca4df2c-b713-6505-8b19-ea9749516834
> 
> VBR block from /dev/rdsk/c1d0s1:
> Format: loader (illumos)
> Signature: 0xaa55 (valid)
> UniqueMBRDiskSignature: 0
> Loader STAGE1_STAGE2_LBA: 525568
> Loader STAGE1_STAGE2_SIZE: 279
> Loader STAGE1_STAGE2_UUID: 0600cb6a-8959-4e6b-f6b2-9b0bfe4e112e
> 
> Boot block from /dev/rdsk/c1d0s1:
> Boot Block Extended Info Header:
>         magic: EXTINFO
>         version: 1
>         flags: 0
>         extended version string offset: 71
>         extended version string size: 16
>         hashing type: 1 (MD5)
>         hash offset: 54
>         hash size: 16
> Extended version string: 1.1-2022.09.04.1
> MD5 hash: cadb10776e17f7ff8d53653ae3b8e9c2
> 
> There I miss the primary boot block like
> Boot block from /dev/rdsk/c1d0s0:/EFI/Boot/bootx64.efi
> Boot Block Extended Info Header:
>         magic: EXTINFO
>         version: 1
>         flags: 0
>         extended version string offset: 71
>         extended version string size: 16
>         hashing type: 1 (MD5)
>         hash offset: 54
>         hash size: 16
> Extended version string: 1.1-2022.09.04.1
> MD5 hash: 334437f4e4c5eedc374fba54478fa6c7
> On system which boot without problems I see this notice.
> 
> I tried to update the installboot with
> bootadm install-bootloader -fv
> or with
> installboot -m /boot/pmbr /boot/gptzfsboot /dev/rdsk/c0t0d0s1
> but with no success. The bootx64.efi is still missing.
> 
> How can I reinstall the bootx64.efi, so the loader will start?
> illumos <https://illumos.topicbox.com/latest> / illumos-discuss / see 
> discussions <https://illumos.topicbox.com/groups/discuss> + participants 
> <https://illumos.topicbox.com/groups/discuss/members> + delivery options 
> <https://illumos.topicbox.com/groups/discuss/subscription>Permalink 
> <https://illumos.topicbox.com/groups/discuss/Tfb870b9b6558ed1b-M6a74d27a6e31e60901ea04dd>

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/Tfb870b9b6558ed1b-Me2e5d78f57ed8b734497893c
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to