Re: UEFI layout includes a freebsd-boot?

From: Allan Jude <allanjude_at_FreeBSD.org>
Date: Mon, 24 Sep 2018 01:15:17 +0300
On September 24, 2018 12:58:40 AM GMT+03:00, Sean Bruno <sbruno_at_freebsd.org> wrote:
>
>
>On 9/23/18 3:57 PM, David P. Discher wrote:
>> This is correct for a EFI+BIOS map. If the installer did this for an
>EFI
>> only map, then that is a bug.
>> 
>
>Is it supposed to "Detect" BIOS vs UEFI booting in the installer?
>
>sean
>
>> My 12-Alpha7 install I just did, with BIOS only:
>> 
>> dpd_at_amd:~ % gpart show
>> =>       40  234441568  ada0  GPT  (112G)
>>          40       1024     1  freebsd-boot  (512K)
>>        1064        984        - free -  (492K)
>>        2048    4194304     2  freebsd-swap  (2.0G)
>>     4196352  230244352     3  freebsd-zfs  (110G)
>>   234440704        904        - free -  (452K)
>> 
>> 
>> 
>> The “free” section seems a bit aggressive (large) … assuming for
>sector
>> alignment.  ( Would be cool for future feature if freebsd-boot can be
>> encapsulated in the EFI partition. ) 
>> 
>> 
>> --
>> David P. Discher 
>> https://davidpdischer.com/
>> dpd_at_dpdtech.com
>> 
>>> On Sep 23, 2018, at 1:57 PM, Sean Bruno <sbruno_at_freebsd.org
>>> <mailto:sbruno_at_freebsd.org>> wrote:
>>>
>>> I don't think this layout from the installer is correct, but I could
>be
>>> wrong.  Is there any reason to have a freebsd-boot in this layout
>>> created by the installer when using UEFI?
>>>
>>> % gpart show
>>> =>       40  537234688  ada0  GPT  (256G)
>>>         40     409600     1  efi  (200M)
>>>     409640       1024     2  freebsd-boot  (512K)
>>>     410664        984        - free -  (492K)
>>>     411648   67108864     3  freebsd-swap  (32G)
>>>   67520512  469712896     4  freebsd-zfs  (224G)
>>>  537233408       1320        - free -  (660K)
>>>
>>>
>> 

I made the default (for both UEFI and legacy iirc) be both, so you can flip back and forth at will. Especially since UEFI is going to be 200mb or more now, better to reserve the same and not need it than the other way around.
-- 
Allan Jude
Received on Sun Sep 23 2018 - 20:15:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC