boot from second disk

Maciej Suszko maciej at suszko.eu
Tue Jan 31 21:11:58 UTC 2017


Sergey Matveychuk <sem33 at yandex-team.ru> wrote:
> Hi.
> 
> I set up FreeBSD 11.0 on first disk and next I added second disk and
> I want to do a mirror remotely. I followed instructions on 
> https://www.freebsd.org/doc/handbook/geom-mirror.html
> With one difference: I use GPT partitions (as default in the FreeBSD 
> intaller):
> # gpart show ada0
> =>       40  351651808  ada0  GPT  (168G)  
>           40       1024     1  freebsd-boot  (512K)
>         1064  343931904     2  freebsd-ufs  (164G)
>    343932968    7718879     3  freebsd-swap  (3.7G)
> 
> And I stuck on "Restart the system, booting from ada1". I don't know
> how to do it remotely (IPMI is not available there).
> 
> I tried echo "1:ad(1,a)/boot/loader" > /boot.config
> 
> But it does not look work. What should be correct content of 
> /boot.config for GPT?

If you want to boot from second disk (bios drive 1), try 
1:ad(1,p2)/boot/loader in boot.config as you use GPT scheme.
-- 
regards, Maciej Suszko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170131/5eb3db09/attachment.sig>


More information about the freebsd-questions mailing list