gpart bootcode Operation not permitted
Artem Kuchin
artem at artem.ru
Fri Apr 3 19:49:10 UTC 2020
03.04.2020 22:44, Miroslav Lachman пишет:
> Artem Kuchin wrote on 2020/04/03 21:23:
>
> gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
> gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1
>
But why i cannot then just install it into mirror/boot?
It does now even show it
# gpart show mirror/boot
gpart: No such geom: mirror/boot.
# gpart show boot
gpart: No such geom: boot.
but
geom mirror list
Geom name: boot
State: COMPLETE
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 3273908325
Type: AUTOMATIC
Providers:
1. Name: mirror/boot
Mediasize: 65024 (64K)
Sectorsize: 512
Mode: r0w0e0
Consumers:
1. Name: ada0p1
Mediasize: 65536 (64K)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 17408
Mode: r1w1e1
State: ACTIVE
Priority: 0
Flags: NONE
GenID: 0
SyncID: 1
ID: 1407712434
2. Name: ada1p1
Mediasize: 65536 (64K)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 17408
Mode: r1w1e1
State: ACTIVE
Priority: 1
Flags: NONE
GenID: 0
SyncID: 1
ID: 1997874466
More information about the freebsd-fs
mailing list