Copy bootcode to mirror disk?

perikillo perikillo at gmail.com
Mon Jun 27 05:56:57 UTC 2016


One issue here is that right I cannot sit and change this, will be good to
do that but my time is on other projects now.
Them in my case there is no way to fix this?


On Fri, Jun 24, 2016 at 7:06 PM, Warren Block <wblock at wonkity.com> wrote:

> On Fri, 24 Jun 2016, Vladislav Prodan wrote:
>
>
>>
>> https://www.freebsd.org/doc/handbook/geom-mirror.html
>>
>> Make the mirror bootable by installing bootcode in the MBR and bsdlabel
>> and setting the active slice:
>>
>> # gpart bootcode -b /boot/mbr mirror/gm0
>> # gpart set -a active -i 1 mirror/gm0
>> # gpart bootcode -b /boot/boot mirror/gm0s1
>>
>
> That is only valid for a GPT disk.  The problem is that the boot partition
> is mirrored.  The bootcode can probably be written to mirror/boot.
>
> However, as I said on the forums to this very same thread, the real error
> here is having mirrored GPT partitions.
>


More information about the freebsd-questions mailing list