Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2020 22:48:47 +0300
From:      Artem Kuchin <artem@artem.ru>
To:        Miroslav Lachman <000.fbsd@quip.cz>, freebsd-fs@freebsd.org
Subject:   Re: gpart bootcode Operation not permitted
Message-ID:  <e117cb59-88ff-6537-6e65-fed9462f313b@artem.ru>
In-Reply-To: <159cf2f5-1898-019e-9f02-29750ff7fa7e@quip.cz>
References:  <27955efa-01f2-88f6-6a28-d9d8a62dfa2a@artem.ru> <a4a5e7dc-3234-add9-4c2e-8c55a38d6e83@quip.cz> <c1856b2c-8f0e-ab1c-9ec7-d62a10b696b2@artem.ru> <48ba23fa-13dc-4a74-579c-2028479f302a@quip.cz> <1605a04a-ad2c-5b2c-445f-fb8ccd7211d6@artem.ru> <159cf2f5-1898-019e-9f02-29750ff7fa7e@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e117cb59-88ff-6537-6e65-fed9462f313b>