Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2018 01:15:17 +0300
From:      Allan Jude <allanjude@FreeBSD.org>
To:        freebsd-current@freebsd.org, Sean Bruno <sbruno@freebsd.org>, "David P. Discher" <dpd@dpdtech.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: UEFI layout includes a freebsd-boot?
Message-ID:  <8AD96C7F-258B-4F8D-B931-DCB86FD48C05@FreeBSD.org>
In-Reply-To: <d3e2e418-8503-b629-8b0d-47bf1508720e@freebsd.org>
References:  <6ebccd3b-5849-4ace-1b20-6afabade91e1@freebsd.org> <966F98F8-B11B-43DF-B283-9EE7FAF4E212@dpdtech.com> <d3e2e418-8503-b629-8b0d-47bf1508720e@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On September 24, 2018 12:58:40 AM GMT+03:00, Sean Bruno <sbruno@freebsd=2Eo=
rg> wrote:
>
>
>On 9/23/18 3:57 PM, David P=2E Discher wrote:
>> This is correct for a EFI+BIOS map=2E If the installer did this for an
>EFI
>> only map, then that is a bug=2E
>>=20
>
>Is it supposed to "Detect" BIOS vs UEFI booting in the installer?
>
>sean
>
>> My 12-Alpha7 install I just did, with BIOS only:
>>=20
>> dpd@amd:~ % gpart show
>> =3D> =C2=A0 =C2=A0 =C2=A0 40 =C2=A0234441568 =C2=A0ada0 =C2=A0GPT =C2=
=A0(112G)
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A040 =C2=A0 =C2=A0 =C2=A0 1024 =C2=A0 =
=C2=A0 1 =C2=A0freebsd-boot =C2=A0(512K)
>> =C2=A0 =C2=A0 =C2=A0 =C2=A01064 =C2=A0 =C2=A0 =C2=A0 =C2=A0984 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0- free - =C2=A0(492K)
>> =C2=A0 =C2=A0 =C2=A0 =C2=A02048 =C2=A0 =C2=A04194304 =C2=A0 =C2=A0 2 =
=C2=A0freebsd-swap =C2=A0(2=2E0G)
>> =C2=A0 =C2=A0 4196352 =C2=A0230244352 =C2=A0 =C2=A0 3 =C2=A0freebsd-zfs=
 =C2=A0(110G)
>> =C2=A0 234440704 =C2=A0 =C2=A0 =C2=A0 =C2=A0904 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0- free - =C2=A0(452K)
>>=20
>>=20
>>=20
>> The =E2=80=9Cfree=E2=80=9D section seems a bit aggressive (large) =E2=
=80=A6 assuming for
>sector
>> alignment=2E =C2=A0( Would be cool for future feature if freebsd-boot c=
an be
>> encapsulated in the EFI partition=2E )=C2=A0
>>=20
>>=20
>> --
>> David P=2E Discher=C2=A0
>> https://davidpdischer=2Ecom/
>> dpd@dpdtech=2Ecom
>>=20
>>> On Sep 23, 2018, at 1:57 PM, Sean Bruno <sbruno@freebsd=2Eorg
>>> <mailto:sbruno@freebsd=2Eorg>> wrote:
>>>
>>> I don't think this layout from the installer is correct, but I could
>be
>>> wrong=2E =C2=A0Is there any reason to have a freebsd-boot in this layo=
ut
>>> created by the installer when using UEFI?
>>>
>>> % gpart show
>>> =3D> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A0537234688 =C2=A0ada0=
 =C2=A0GPT =C2=A0(256G)
>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A0=C2=A0=C2=A0=
=C2=A0409600 =C2=A0=C2=A0=C2=A0=C2=A01 =C2=A0efi =C2=A0(200M)
>>> =C2=A0=C2=A0=C2=A0=C2=A0409640 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0102=
4 =C2=A0=C2=A0=C2=A0=C2=A02 =C2=A0freebsd-boot =C2=A0(512K)
>>> =C2=A0=C2=A0=C2=A0=C2=A0410664 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0984 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0- free - =C2=A0(492K)
>>> =C2=A0=C2=A0=C2=A0=C2=A0411648 =C2=A0=C2=A067108864 =C2=A0=C2=A0=C2=A0=
=C2=A03 =C2=A0freebsd-swap =C2=A0(32G)
>>> =C2=A0=C2=A067520512 =C2=A0469712896 =C2=A0=C2=A0=C2=A0=C2=A04 =C2=A0f=
reebsd-zfs =C2=A0(224G)
>>> =C2=A0537233408 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01320 =C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0- free - =C2=A0(660K)
>>>
>>>
>>=20

I made the default (for both UEFI and legacy iirc) be both, so you can fli=
p back and forth at will=2E Especially since UEFI is going to be 200mb or m=
ore now, better to reserve the same and not need it than the other way arou=
nd=2E
--=20
Allan Jude



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8AD96C7F-258B-4F8D-B931-DCB86FD48C05>