bsdinstall no detecting existing EFI partition

krad kraduk at gmail.com
Tue Apr 5 09:06:20 UTC 2016


this is the layout of my working efi system

# df -h .
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada0p2    767K    130K    637K    17%    /boot/efi
# mount | grep /dev/ada0p2
/dev/ada0p2 on /boot/efi (msdosfs, local)
# find .
.
./efi
./efi/boot
./efi/boot/bootx64.efi

# gpart show ada0
=>       34  117231341  ada0  GPT  (56G)
         34       1024     1  freebsd-boot  (512K)
       1058          6        - free -  (3.0K)
       1064     262144     2  efi  (128M)
     263208    3932154     4  freebsd-swap  (1.9G)
    4195362  113036013     3  freebsd-zfs  (54G)

the boot dir is the default efi boot but i can have other options by having
other directories with different bootx64.efi files in IIRC



On 5 April 2016 at 05:39, Warren Block <wblock at wonkity.com> wrote:

> On Mon, 4 Apr 2016, Martin Paredes wrote:
>
> El Mon, 04 Apr 2016 08:26:19 +0100
>> krad <kraduk at gmail.com> escribió:
>>
>>> you dont need 2x efi partitions just put the freebsd bootx64.efi in a
>>> different directory on the efi so you get something like this
>>>
>>> efi/boot/bootx64.efi (windows one)
>>> efi/freebsd/bootx64.efi
>>>
>>> you should be able to choose which os from the UEFI (BIOS to some)
>>> boot menu, usually invoked by F10 during boot
>>>
>>
>> The option appear, even if I left only 1 EFI partition without the
>> bootx64.efi, something that the UEFI from the laptop does by it self
>>
>>
>>> On 4 April 2016 at 07:29, Martin Paredes <mapsware at prodigy.net.mx>
>>>
>>>>
>>>> Where can I see the code that create the partiotions and populate
>>>> the second efi partition
>>>>
>>>>
>> I found some programs in
>>
>> /usr/libexec/bsdinstall/
>>
>> But autopart is a binary file
>>
>> /usr/libexec/bsdinstall/autopart: ELF 32-bit LSB executable
>>
>
> The FreeBSD EFI loader is
>   /boot/boot1.efi
>
> The EFI partition can be mounted as msdosfs.  Details are shown here:
> http://www.wonkity.com/~wblock/docs/html/disksetup.html#_booting_with_uefi
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list