Re: UEFI layout includes a freebsd-boot?

2018-09-23 Thread Allan Jude
On September 24, 2018 12:58:40 AM GMT+03:00, Sean Bruno  
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@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/
>> d...@dpdtech.com
>> 
>>> On Sep 23, 2018, at 1:57 PM, Sean Bruno >> > 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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: UEFI layout includes a freebsd-boot?

2018-09-23 Thread David P. Discher
I can do some more testing later … but my observation is that a system booted 
via EFI, the installer will auto select EFI+BIOS.  If the systems boots BIOS, 
it selects BIOS only. 

It is possible that the boot sequence to the UEFI USB key, and BIOS Hard Disk.  
I’m not sure you can say or detect  that a BIOS is EFI only.  Where BIOS+EFI 
support would work on both. 

This could be a valid setup … I’m playing/testing now (as I type) with the 
Radeon and Intel graphics with drm-*-kmod mode setting drivers … and currently 
in FreeBSD, thees drivers fail when a systems boots via EFI.   So the EFI+BIOS 
is likely the “safe” option … until we can get some more intelligence around 
installations.


This is mostly observed with X7,X8,X9,X10,X11 - series Supermicro boards with … 
uh … AMI BIOS(?). 

Not clear if their is a smbios key set to indicate that the BIOS is configured 
to EFI only.

-dpd



> On Sep 23, 2018, at 2:58 PM, Sean Bruno  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?

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: UEFI layout includes a freebsd-boot?

2018-09-23 Thread Sean Bruno


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@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/
> d...@dpdtech.com
> 
>> On Sep 23, 2018, at 1:57 PM, Sean Bruno > > 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)
>>
>>
> 



signature.asc
Description: OpenPGP digital signature


Re: UEFI layout includes a freebsd-boot?

2018-09-23 Thread David P. Discher
This is correct for a EFI+BIOS map. If the installer did this for an EFI only 
map, then that is a bug.

My 12-Alpha7 install I just did, with BIOS only:

dpd@amd:~ % gpart show
=>   40  234441568  ada0  GPT  (112G)
 40   1024 1  freebsd-boot  (512K)
   1064984- free -  (492K)
   20484194304 2  freebsd-swap  (2.0G)
4196352  230244352 3  freebsd-zfs  (110G)
  234440704904- 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/
d...@dpdtech.com

> On Sep 23, 2018, at 1:57 PM, Sean Bruno  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)
> 410664984- free -  (492K)
> 411648   67108864 3  freebsd-swap  (32G)
>   67520512  469712896 4  freebsd-zfs  (224G)
>  537233408   1320- free -  (660K)
> 
> 

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"