Date: Mon, 21 Jan 2019 16:13:46 +0300 From: Lev Serebryakov <lev@FreeBSD.org> To: Toomas Soome <tsoome@me.com> Cc: Warner Losh <imp@bsdimp.com>, Rebecca Cran <bcran@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: GPT boot has less features than legacy MBR-based one (Was: UEFI, loader.efi and /boot.config) Message-ID: <0bbb962f-cc59-f29d-b26d-fa675cbb1082@FreeBSD.org> In-Reply-To: <C7DBCEA9-42AE-4ACC-84D8-10035DF0529E@me.com> References: <912985968.20190119125228@serebryakov.spb.ru> <etPan.5c433dd9.327b23c6.1973@bluestop.org> <1951151017.20190119235425@serebryakov.spb.ru> <4636753.YNO7O01DYZ@photon.int.bluestop.org> <17710465740.20190120134042@serebryakov.spb.ru> <CANCZdfq%2BmuSr=CX4V9_ebWwNv1S49=mJZms0ZVoCB2onp%2BqHNA@mail.gmail.com> <3f4214e2-36af-cc87-0a3c-2c7ce26cffd8@FreeBSD.org> <DE6A295D-80CF-4E9A-88EE-F9F63ED66286@me.com> <b4100160-d30d-a696-a2cb-be4f7f0d5305@FreeBSD.org> <C7DBCEA9-42AE-4ACC-84D8-10035DF0529E@me.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3gS2Qf0T1btIGRe9XMgBsDKnsqz1P9p7l Content-Type: multipart/mixed; boundary="PRGGxaTyyO9xLiR3EcegDwnmCl1V1TDKk"; protected-headers="v1" From: Lev Serebryakov <lev@FreeBSD.org> Reply-To: lev@FreeBSD.org To: Toomas Soome <tsoome@me.com> Cc: Warner Losh <imp@bsdimp.com>, Rebecca Cran <bcran@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Message-ID: <0bbb962f-cc59-f29d-b26d-fa675cbb1082@FreeBSD.org> Subject: Re: GPT boot has less features than legacy MBR-based one (Was: UEFI, loader.efi and /boot.config) References: <912985968.20190119125228@serebryakov.spb.ru> <etPan.5c433dd9.327b23c6.1973@bluestop.org> <1951151017.20190119235425@serebryakov.spb.ru> <4636753.YNO7O01DYZ@photon.int.bluestop.org> <17710465740.20190120134042@serebryakov.spb.ru> <CANCZdfq+muSr=CX4V9_ebWwNv1S49=mJZms0ZVoCB2onp+qHNA@mail.gmail.com> <3f4214e2-36af-cc87-0a3c-2c7ce26cffd8@FreeBSD.org> <DE6A295D-80CF-4E9A-88EE-F9F63ED66286@me.com> <b4100160-d30d-a696-a2cb-be4f7f0d5305@FreeBSD.org> <C7DBCEA9-42AE-4ACC-84D8-10035DF0529E@me.com> In-Reply-To: <C7DBCEA9-42AE-4ACC-84D8-10035DF0529E@me.com> --PRGGxaTyyO9xLiR3EcegDwnmCl1V1TDKk Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 21.01.2019 15:59, Toomas Soome wrote: >>>>> Is too complicated? Boot1.efi doesn't allow that, but loader.efi do= es. >>>> loader.efi lives on ESP partition, do I understand it right? So, it >>>> could not be damaged with "bad" upgrade? >>> >>> It could, unless the backup is created.=20 >> Does it live on code (root) FS or ESP? I understand, that when you >> upgrade ESP partition, you could ruin it, but typically root FS is >> upgraded much more often than ESP/boot0/boot1 parts. >=20 > If you are using boot1.efi, the loader.efi is in OS /boot/loader.efi an= nd boot1.efi is stored to ESP and will execute loader.efi as bios boot2 p= rograms do. So, Warner's advice to use set currdev=3DdiskXpY: boot with loader.efi is not direct replacement to choosing boot partition via boot0 now (as "boot1.eif doesn't allow that" and /boot/loader.efi could be broken with unsuccessful upgrade), am I right? > we will drop boot1.efi (it is already dropped in illumos btw), and will= only use loader.efi - and in this case, the loader.efi is installed to E= SP and will only start the kernel. Ok, I need to wait for it. > But then again, if you are using stock (generic) OS on embedded system,= you are already doing it wrong and will get into the trouble sooner or l= ater:) I can not say, is NanoBSD "stock" or not :-) --=20 // Lev Serebryakov --PRGGxaTyyO9xLiR3EcegDwnmCl1V1TDKk-- --3gS2Qf0T1btIGRe9XMgBsDKnsqz1P9p7l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlxFxYpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R4/OCw//TE5u3Ewp0kZobQozWxL2cgePJ+JjKXdPRS5woHKhM6tSQ+YchYy1akb2 CLfnTXV4iTQzJDPVKH1BAGVq0k2cbrPR+wOSYG3s3mXHt/lo0l9Pv1hUNbtaAtki e0EkiruEKMIBMriKuwYNDWcXk3ox/AZ/dLATFJoYzV7E4XJ1UKJd/IY854UyHZG+ JNaHmmo3gLuTx9fs1HXqs9OyTKxf0mp665gC8770L9dJ3j7c3fi5rH1mxILGt5FN egrag+s4kHOevQ/+hOIFfcTqidVcRullo5CCCUUvamMb9vtv3aCiVIO9tGkMzxTa APXBKkBjX6osDlQVKF5FcFY0j0L3BrZL7AioOWAwYx7wBYVcj0SXnPFeyqq65Bo6 zwT3HfSlL4NGLNn5emvt0dDzMOUnbzydDzaAkLMpokadKgnPV9rFyuinEgZwzBTx VcstCTFEUok0of1Wj/g0lBKRe7R5qEpuz2u7zHiscjn1QBBUyzXpkvpFkVSHfT3f fwwBwkGK5sxsiXbtAAP8rILpWsvdwVC0b1cdhT99m21NQA3kYZsPOfY67Wb049rQ REdMNITTurkxmFNY/uE3TSyulFhCd7MaB0b80N8cd3UDmuCO8t5HuP8foCkkp5zw VKGSe3bjF4hQRq999p32vVr8MDlFRB2VR68sxNKbgwZHFn2ip5k= =BQ8l -----END PGP SIGNATURE----- --3gS2Qf0T1btIGRe9XMgBsDKnsqz1P9p7l--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0bbb962f-cc59-f29d-b26d-fa675cbb1082>