Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 15:38:19 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Antony Uspensky <uspensky@x-art.ru>, =?utf-8?Q?Fernando_Herrero_Carr=C3=B3n?= <elferdo@gmail.com>, Eric van Gyzen <vangyzen@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org>, Slawa Olhovchenkov <slw@zxy.spb.ru>
Subject:   Re: Upgrading boot from GPT(BIOS) to GPT(UEFI)
Message-ID:  <2720DE76-B524-4AEA-ACC0-1EBD8813547D@FreeBSD.org>
In-Reply-To: <CANCZdfpBVN%2BtuYkxE_OM9vfKHyxsMgywkPCZTmNz4O_nigp%2BJA@mail.gmail.com>
References:  <CAMwkeZznenmN1RkUaKZ7i12F0FA185ZH%2BcHPXUp56S8j3SrubQ@mail.gmail.com> <20161216173930.GD90401@zxy.spb.ru> <b9ede396-2a86-8319-2f40-fe1c40cc6483@FreeBSD.org> <alpine.BSF.2.00.1612162047120.13320@gw-old.x-art.ru> <85F3F813-D821-439B-B700-DCE51C53E035@FreeBSD.org> <CANCZdfpBVN%2BtuYkxE_OM9vfKHyxsMgywkPCZTmNz4O_nigp%2BJA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_164DED19-87CB-4F04-B762-CB39EE5D9962
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 16 Dec 2016, at 23:56, Warner Losh <imp@bsdimp.com> wrote:
> 
> On Fri, Dec 16, 2016 at 11:00 AM, Dimitry Andric <dim@freebsd.org> wrote:
...
>> Yes, this is almost exactly what I have done on a machine that was
>> originally installed with gptzfsboot on the first partition, which was
>> 512K.  Since all the partitions on this SSD were aligned to 1M, I
>> reduced the size of the first partition to 224K, freeing up a hole of
>> exactly 800K for an EFI partition:
...
> You likely want to carve out more like 50MB instead of 800k for UEFI
> partition. 800k is the minimum, but it also precludes many things you
> may need to do with UEFI applications down the line.

Well, this is the default boot1.efifat size.  If you think 50MB is more
reasonable, the boot1.efifat size should have a corresponding size.

That said, as long as there are almost no such UEFI applications, I'm
not bothering.  Besides, even if there were, I don't have any interest
in the UEFI "ecosphere" as-is.  I see it as an ugly-but-necessary
pre-bootloader environment only.

-Dimitry


--Apple-Mail=_164DED19-87CB-4F04-B762-CB39EE5D9962
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAlhVTdsACgkQsF6jCi4glqNs9QCgqI+NxNslzQNvBHcnI/2G1MQr
FgQAnj/JY0cw4nIjdwT837FhQyusaFG6
=7gHA
-----END PGP SIGNATURE-----

--Apple-Mail=_164DED19-87CB-4F04-B762-CB39EE5D9962--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2720DE76-B524-4AEA-ACC0-1EBD8813547D>