Dual-booting/triple-booting FreeBSD under UEFI
tomek at cedro.info
Mon Sep 21 08:17:18 UTC 2020
Hello world :-)
I have problem booting UEFI at all with FreeBSD setup on a laptop.
After default install of FreeBSD, Windoze or Linux it worked. I have
upgraded the disk (0.25->2TB) and moved data to a drive where I did
all partition setup by hand and the UEFI does not work I need to use
MBR boot mode :-)
Maybe you had a similar issue and may have some hints :-)
The EFI partition is 200MB, it is first on the GPT disk:
1. Name: ada0p1
Mediasize: 209715200 (200M)
Then I have small FreeBSD MBR bootloader partition:
2. Name: ada0p2
Mediasize: 524288 (512K)
The problem with that EFI partition is that newfs_msdos does not want
to create FAT32 filesystem as it is too small (even with -s switch).
So I have tried FAT16 and FAT12. I can see that /boot/boot1.efifat is
FAT12, so thats probably not a non-FAT32 issue.
The GPT partition type seems valid EFI and
c12a7328-f81f-11d2-ba4b-00a0c93ec93b rawtype and it has the bootme
I have tried to dd /boot/boot1.efifat into /dev/ada0p1 and it does not work.
I have tried to format /dev/ada0p1 with FAT12/FAT16 and put necessary
files by hand all permutations of efi loaders (efi/booot, efi/bsd,
Maybe the partition start/end are invalid?
I am clearly missing something.. if anyone knows what may be the
problem that that would be nice to know.. it may also come handy to
you one day :-)
I will also try the rEFInd and see what happens :-)
Have a good day :-)
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
More information about the freebsd-questions