Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 22:11:43 +0100
From:      Maciej Suszko <maciej@suszko.eu>
To:        Sergey Matveychuk <sem33@yandex-team.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: boot from second disk
Message-ID:  <20170131221143.203b2f6a@leo>
In-Reply-To: <64cd6b60-f5e7-872c-b006-99db639d3e1b@yandex-team.ru>
References:  <64cd6b60-f5e7-872c-b006-99db639d3e1b@yandex-team.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/GsHer6NZ3dla/qIyFXkbgn1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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

If you want to boot from second disk (bios drive 1), try=20
1:ad(1,p2)/boot/loader in boot.config as you use GPT scheme.
--=20
regards, Maciej Suszko.

--Sig_/GsHer6NZ3dla/qIyFXkbgn1
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQRBv6xO7mzN+RcEaiUKKRSTSXuIagUCWJD9jwAKCRAKKRSTSXuI
asFQAJ4nlKHXONCDkaDJhyOb8XpqH+j5kgCffO/HgYOQaBN34luhzb5UKhN29FM=
=cJ8b
-----END PGP SIGNATURE-----

--Sig_/GsHer6NZ3dla/qIyFXkbgn1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170131221143.203b2f6a>