Copy bootcode to mirror disk?
Warren Block
wblock at wonkity.com
Sat Jun 25 02:06:14 UTC 2016
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