Date: Tue, 30 Oct 2018 21:37:00 +0300 From: Lev Serebryakov <lev@FreeBSD.org> To: freebsd-stable@freebsd.org Subject: How to boot from GPT partition without "bootme" attribute? Message-ID: <0c51f6ec-4190-18eb-6e67-e364509bf6c8@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XhoGJ28K9tYvrSGLwBscC0iGNr40nWmFL Content-Type: multipart/mixed; boundary="QqVMaYedQ37ZEwTzoSUaoLQrb3UsCN3pS"; protected-headers="v1" From: Lev Serebryakov <lev@FreeBSD.org> Reply-To: lev@FreeBSD.org To: freebsd-stable@freebsd.org Message-ID: <0c51f6ec-4190-18eb-6e67-e364509bf6c8@FreeBSD.org> Subject: How to boot from GPT partition without "bootme" attribute? --QqVMaYedQ37ZEwTzoSUaoLQrb3UsCN3pS Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable I have disk with GPT scheme and three partitions: p1 - freebsd-boot p2 - freebsd-ufs p3 - freebsd-ufs pmbr is installed on this disk, and gptboot is installed on p1. Both p2 and p3 contains valid FreeBSD installation, with /boot/loader, kernel, and everything. I have attribute "bootme" set on p3, but not on p2. What should I do to boot from p2? I've tried to interrupt gptboot and override its choice: 0:ad(0p3)/boot/loader with 0:ad(0p2)/boot/loader After that loader, loaded from p2, loads kernel from p3 and boots system from p3! If I have MBR, I could override "active" slice in boot0 MBR loader interactively. Is it analogous feature for GPT? --=20 // Lev Serebryakov --QqVMaYedQ37ZEwTzoSUaoLQrb3UsCN3pS-- --XhoGJ28K9tYvrSGLwBscC0iGNr40nWmFL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlvYpM1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R490iBAApdAYxJultYh4m41HLD0ZwO2wAWIIOzetDogOixVBB/zs1LARX6dXqo7D iyFWtWK4xPBhf7nzZe4wegyMgKzA5AjkcYZ1GuDOaEzI8u9YUMXpJfsliuoSWSlq 7FL6wzKUKZK6it4X11wgJFRfNF0yPm7Pwy3lB2BWcgQ1u8C/K3diF4mseO0rE6Nl aFebyUU9dOrF5xyFGUjd49DGylC7fgevjZdwPQsxBdLIJRktrTfKpNlLvk+UY+Ad cQE+xShjkgc9GS/SgrHfI+SGQZGJLXwxoJ+rg/fHwtYaOiwoUh9rO58015I6nAGS 6FV8KqmBQC79xrEuaJCav70KwTSQbygKWI6xpMp5v2EVU5CYpKRiZ8mGX0rykcGK MdIgAH+Y9bHZUW9/KNmthHsr83O8hjJHqxcU2Aw1qXt5tX0OfTUHxKqvCHT6UAeS 9KIxHU7peTvRxYo16Ctxr0sb5g7UR5LBV0mbsrRz5B3VZSfta9GSW/9eH7DJ2v/u nQvHMWbmRZ7QaUxkroRPpPkJ4UCm5NhzKRowkTTWJLR/wZxDpTP4kvZhuKHQmop0 YQU5hnU/Yn1rLlJnm5zTCKvwuzsdBbadn34au7+2Ki55BFXJ6lPyhLhH40a+jhu/ OwncBkLbT/gaIPHMDiR3lm1A6zK88gS+sdAaMlCwU/xHimDjpes= =pbMR -----END PGP SIGNATURE----- --XhoGJ28K9tYvrSGLwBscC0iGNr40nWmFL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0c51f6ec-4190-18eb-6e67-e364509bf6c8>