On Thu, Apr 25, 2024 at 03:27:29AM +0000, Martin wrote:
> I eventually found out what was going on.
> 
> The FreeBSD boot problem was not related at all.
> 
> Long story short and for future reference, installboot needs
> to be run on the softraid volume, NOT on the physical disk. And this
> has to be repeated after a softraid volume rebuild in order for the new
> disk to be bootable too.
> 
> This cannot be done from the boot media, but one can boot from media
> and then mount the softraid with the working disk and then chroot into
> that and run 'installboot sd2' (or whatever device name the softraid
> volume has).
> 
> This was not obvious to me. Perhaps because with GRUB one has to install
> the bootloader and boot code on each single disk in a mdadm volume and
> not on the volume itself.

Ah, indeed. Thanks for reporting back with the solution. This should
be obvious but it's understandable that new users might miss it.

I checked, the softraid manual page already has an example installboot
invocation in EXAMPLES, which should be clear enough.

Reply via email to