*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having some problems installing FreeBSD under UEFI. The image itself is able to boot ok under UEFI and I'm able to install it, but after rebooting there's no entry to boot from. Linux has a tool called efibootmgr, but that doesn't seem to exist under FreeBSD.
I've stuck with the default partition layout, which is a small efi partition followed by a / and swap partition. The installer doesn't set a mount for it by default. I've tried adding a mount point (such as /boot or /boot/efi), but it doesn't work either.
My suspicion is that the efi parition isn't being formatted correctly (the FreeBSD wiki does say that some EFI boards won't recognize a FAT32 partition formatted by FreeBSD) or that the EFI partition isn't being registered correctly. Unfortunately, there isn't a lot of information out there, so I can only guess at this point. If anyone else has installed FreeBSD via UEFI, what did you have to do to get it to work?
You may want to look into the Grub-pcbsd port to use UEFI. You'll need to draft your grub.cfg using the package notes. If you need to boot, try using the DVD to load the system.
You may also need to try boot0cfg to automatically detect and install the FreeBSD boot loader as well.
boot0config is usually used for installing the interactive boot manager or restoring the MBR. It is not exactly the bootloader, just one stage of the boot process. boot0 is actually the MBR code.
In a nutshell boot process is boot0 -> boot1 -> BTX server -> [boot2 -> loader] -> kernel -> init
Just as a followup to this, I was able to boot a EFI-enabled install in VirtualBox, but not on real hardware or in VMWare Player. If anyone else wants to try it in VBox (with a VM named FreeBSD), this is what I did to prepare it.
I suspect the problem is that the EFI implementation in various motherboards is different. There is a bug filed that says it doesn't work on ASRock boards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.