From owner-freebsd-current@freebsd.org Thu Mar 3 14:58:21 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0003FA9343F for ; Thu, 3 Mar 2016 14:58:20 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from smtprelay-h22.telenor.se (smtprelay-h22.telenor.se [195.54.99.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8912D75B for ; Thu, 3 Mar 2016 14:58:20 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 551B614256 for ; Thu, 3 Mar 2016 15:39:16 +0100 (CET) X-SENDER-IP: [85.229.94.62] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2ChBwDiS9hWPD5e5VVdGQEBAgsBAgEBAQEBgwqBRYZgsTKCIYFohg8CgSo7EgEBAQEBAQEGAQEBAUFAhEIBAQMBIw8BIyMFCwsODAImAgItDAoGAQ0GiCwMAa43jzMBAQEBBgIBHXuJWYc4gToFh1mPQwGBRJsVjSABgSwnBYI0BRmBSTuJUAEBAQ X-IPAS-Result: A2ChBwDiS9hWPD5e5VVdGQEBAgsBAgEBAQEBgwqBRYZgsTKCIYFohg8CgSo7EgEBAQEBAQEGAQEBAUFAhEIBAQMBIw8BIyMFCwsODAImAgItDAoGAQ0GiCwMAa43jzMBAQEBBgIBHXuJWYc4gToFh1mPQwGBRJsVjSABgSwnBYI0BRmBSTuJUAEBAQ X-IronPort-AV: E=Sophos;i="5.22,532,1449529200"; d="scan'208";a="207587224" Received: from c-3e5ee555.06-11-73746f31.cust.bredbandsbolaget.se (HELO sigyn.alvermark.net) ([85.229.94.62]) by ipb4.telenor.se with ESMTP; 03 Mar 2016 15:39:16 +0100 Received: from localhost ([127.0.0.1] helo=webmail.alvermark.net) by sigyn.alvermark.net with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1abUPK-000Kuj-1p; Thu, 03 Mar 2016 15:39:14 +0100 Received: from 212.247.8.97 (SquirrelMail authenticated user alvis) by webmail.alvermark.net with HTTP; Thu, 3 Mar 2016 15:39:14 +0100 (CET) Message-ID: <58622.212.247.8.97.1457015954.squirrel@webmail.alvermark.net> In-Reply-To: <56D84027.5070705@yahoo.com> References: <56D84027.5070705@yahoo.com> Date: Thu, 3 Mar 2016 15:39:14 +0100 (CET) Subject: Re: UEFI boot issues on HP laptop From: "Jakob Alvermark" To: "Anthony Jenkins" Cc: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2016 14:58:21 -0000 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