I think the disc is probably still good mechanically, and is just annoyed with me for repeatedly swapping it in and out as I tried to recover from not having adequately marked all the hard drives before I moved house.
Having read Warren's documentation on
GPT-partitioned disc (scheme=gpt), p1 is efi, p2 is freebsd-ufs. Therefore
should be enough to fix things if the disc is still physically functional. Yes?
Having read Warren's documentation on
gpart
and gptboot
I think I know what to do, but never having had to do it before and not wanting to end up with a worse mess, I'd appreciate it if someone knowledgeable would check this: GPT-partitioned disc (scheme=gpt), p1 is efi, p2 is freebsd-ufs. Therefore
gpart bootcode -p /boot/gptboot -i 2 ada0
should be enough to fix things if the disc is still physically functional. Yes?