Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2016 15:39:14 +0100 (CET)
From:      "Jakob Alvermark" <jakob@alvermark.net>
To:        "Anthony Jenkins" <Scoobi_doo@yahoo.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: UEFI boot issues on HP laptop
Message-ID:  <58622.212.247.8.97.1457015954.squirrel@webmail.alvermark.net>
In-Reply-To: <56D84027.5070705@yahoo.com>
References:  <56D84027.5070705@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Thu, March 3, 2016 14:46, Anthony Jenkins wrote:

> The other issue is just me being jealous of EFI Linux showing up in a
> toplevel BIOS boot menu:
>
> Selecting "F9 - Boot Device Options" goes to the "Boot Manager" screen:
>
>
> Boot Option Menu
>
>
> - OS boot Manager
> - ubuntu (MKNSSDRE1TB)
> - Boot From EFI File
> - Notebook Hard Drive
>
>
>
> How did Ubuntu get in there?  Some attribute of its EFI boot file that
> tells the BIOS (or boot manager EFI app) to add an entry for it?  How do I
> get FreeBSD in there?

You can modify the this from Windows, using the command line tool 'bcdedit'.
That's what I did on my Thinkpad.

>From administrator command prompt, 'bcedit /enum all' will show you
something like this at the top:

Firmware Boot Manager
---------------------
identifier              {fwbootmgr}
displayorder            {5d090d98-8e36-11e5-827b-806e6f6e6963}
                        {f43a1eb3-82e3-11e5-8252-94659c6abc55}
                        {bootmgr}
                        {4a919591-82e1-11e5-a7d6-806e6f6e6963}
                        {4a919592-82e1-11e5-a7d6-806e6f6e6963}
                        {4a919593-82e1-11e5-a7d6-806e6f6e6963}
                        {4a919594-82e1-11e5-a7d6-806e6f6e6963}
                        {4a919595-82e1-11e5-a7d6-806e6f6e6963}
                        {4a919596-82e1-11e5-a7d6-806e6f6e6963}
                        {4a919590-82e1-11e5-a7d6-806e6f6e6963}
timeout                 0

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume2
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
integrityservices       Enable
default                 {current}
resumeobject            {f43a1eac-82e3-11e5-8252-94659c6abc55}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

You can add new entries to the displayorder, and they should show up in
your boot options.

I have added theese two:
Firmware Application (101fffff)
-------------------------------
identifier              {5d090d98-8e36-11e5-827b-806e6f6e6963}
device                  partition=\Device\HarddiskVolume2
path                    \EFI\BSD\freebsd.efi
description             FreeBSD

Firmware Application (101fffff)
-------------------------------
identifier              {f43a1eb3-82e3-11e5-8252-94659c6abc55}
device                  partition=\Device\HarddiskVolume2
path                    \EFI\BSD\openbsd.efi
description             OpenBSD

So I have FreeBSD booting by default, and I can boot OpenBSD and Windows
as second and third choices, respectively.

Hope to get you in the right direction with this.

Jakob





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58622.212.247.8.97.1457015954.squirrel>