Good. Apparently this time installboot did properly detect there is no 
filesystem on ESP and did create it. If the disk previously had some other 
setup, those leftover bits can confuse those tools… if you are about to perform 
install on previously used disk, my suggestion would be to clean up the disk 
first.

rgds,
toomas

> On 27. Apr 2023, at 16:44, Carsten Grzemba via illumos-discuss 
> <[email protected]> wrote:
> 
> Despite I see an error 
> Failed to detect file system type
> on install-boot, it finally worked:
> # bootadm install-bootloader -fv
> be_do_installboot_walk: child 0 of 1 device c3t002538BB21BA1B8Ed0s1
>   Command: "/usr/sbin/installboot -F -m -f -b //boot 
> /dev/rdsk/c3t002538BB21BA1B8Ed0s1"
>   Output:
> 
> 
> bootblock written for /dev/rdsk/c3t002538BB21BA1B8Ed0s1, 280 sectors starting 
> at 1024 (abs 525568)
> 
> //boot/pmbr is newer than one in /dev/rdsk/c3t002538BB21BA1B8Ed0s1
> stage1 written to slice 1 sector 0 (abs 524544)
> 
> Creating pcfs on ESP /dev/rdsk/c3t002538BB21BA1B8Ed0s0
> bootblock written to /tmp/ibootSjaynb/EFI/Boot/bootx64.efi
> 
> bootblock written to /tmp/ibootTjaynb/EFI/Boot/bootia32.efi
> 
> //boot/pmbr is newer than one in /dev/rdsk/c3t002538BB21BA1B8Ed0p0
> stage1 written to slice 0 sector 0 (abs 0)
> 
>   Errors:
> Failed to detect file system type
> Failed to detect file system type
> 
> # fstyp /dev/rdsk/c3t002538BB21BA1B8Ed0s0
> pcfs
> 
> # mount -F pcfs /dev/dsk/c3t002538BB21BA1B8Ed0s0 /mnt
> # find /mnt
> /mnt
> /mnt/EFI
> /mnt/EFI/Boot
> /mnt/EFI/Boot/bootx64.efi
> /mnt/EFI/Boot/bootia32.efi
> 
> # installboot -i -V /dev/rdsk/c3t002538BB21BA1B8Ed0s1
> PMBR block from /dev/rdsk/c3t002538BB21BA1B8Ed0p0:
> Format: loader (illumos)
> Signature: 0xaa55 (valid)
> UniqueMBRDiskSignature: 0
> Loader STAGE1_STAGE2_LBA: 524544
> Loader STAGE1_STAGE2_SIZE: 1
> Loader STAGE1_STAGE2_UUID: 21408443-f279-64e6-fda7-c454f0160ad1
> 
> Boot block from /dev/rdsk/c3t002538BB21BA1B8Ed0s0:/EFI/Boot/bootia32.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: 3addf06fba575c25d07f41fd9f8bdc83
> 
> Boot block from /dev/rdsk/c3t002538BB21BA1B8Ed0s0:/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
> 
> VBR block from /dev/rdsk/c3t002538BB21BA1B8Ed0s1:
> Format: loader (illumos)
> Signature: 0xaa55 (valid)
> UniqueMBRDiskSignature: 0
> Loader STAGE1_STAGE2_LBA: 525568
> Loader STAGE1_STAGE2_SIZE: 279
> Loader STAGE1_STAGE2_UUID: 21408443-f279-64e6-fda7-c454f0160ad1
> 
> Boot block from /dev/rdsk/c3t002538BB21BA1B8Ed0s1:
> 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
> Many Thanks!
> 
> 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-M9055f7c00a001aed840a16a6>

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

Reply via email to