From owner-freebsd-current@freebsd.org Thu Mar 3 16:19:45 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 32ADCA93D73 for ; Thu, 3 Mar 2016 16:19:45 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm38-vm5.bullet.mail.bf1.yahoo.com (nm38-vm5.bullet.mail.bf1.yahoo.com [72.30.239.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0E358 for ; Thu, 3 Mar 2016 16:19:44 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1457021859; bh=qWe/RIEsfJ3LOWM+KfLF5x0diQ6S+2fiwVLG0CULp+U=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=HjTh+XLK/GDn8m50nSBHY8RG6PG/2AOSxWt9osQEBURVGgAfgUh7EvJ12veOsG71NEV4Mc5/XGPzmB2TFH7c7ElcIxrl9ffBGycofwP0JxYuL7x9ieuVPSipNZwFYdiw9sdRJOInOx/lBTaJRkJPCwYlxolVI6B9sGZjfg82wwoDdsqakIBV9e3WGmNQwxrcFWhAMFCHErAbEXzbYTh7ATrNiGjQLJ9reDbXROa79JuQYZzAQvLzUcvSXRsFDUhFJulBRoDCWFbiih8/DGTlz8ltN8tQkXw3ZmgFc76W83C8+HU/x6Nh5EZtovTSG5TPUUpfizBjSUdA+9fPzfFpDw== Received: from [98.139.215.143] by nm38.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2016 16:17:39 -0000 Received: from [98.139.211.195] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2016 16:17:39 -0000 Received: from [127.0.0.1] by smtp204.mail.bf1.yahoo.com with NNFMP; 03 Mar 2016 16:17:39 -0000 X-Yahoo-Newman-Id: 75788.64891.bm@smtp204.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: jLcGfsgVM1kRxQZbuC.9N.pggOGOIDdtaTwW9DUF7tkX2ZK Uk46jFAYmms0je4vObZLNlwA4uM6s6xmDK8S5r0CBrt4kxnkFiDlVFr_B6UC 4mn9ekTGXv521d2pYtHv7w9SP55H9e0NrEjtFf.yZA5Mysrb0QUTa3i632u. ecvW0mW9a_xZtB3MPLbETt8TuLmYnlHWruZyY9SxE8R9wPnKXW9AvcG5r3QL .7nfjtAdW_V2NU0jUGMNm1dKhAXMhc5DGzAlsjzCeNIaYz7uXCaty2G.KSW6 kCEZl1Hs0QcQ7TAel5aDgC_zNhFKxx5lFSLFJDsrVOPGLKV_jLqFJmQ3kaFe O2cR7CwfTUBqGeaRKlIOt1WpnZS.s9W2PfRnO3AGGA8qiY9uZYg309b05aA4 sdGC_Zax5tYZer0_eW7RtS1GdDvSb.miRy_G4AveL9HihBzkqYyTAITQ6zuB L0uRPrlEOi.5Mtg7taHnCeJ0zOuDYCyWvK4Xqrf2PGiIQv4HTBOZ5HWjtYmP 97ytBE1b7.ZNpPdcH4Y4cAX6Pq3XRDY4- X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Subject: Re: UEFI boot issues on HP laptop To: Jakob Alvermark References: <56D84027.5070705@yahoo.com> <58622.212.247.8.97.1457015954.squirrel@webmail.alvermark.net> Cc: freebsd-current@freebsd.org From: Anthony Jenkins Message-ID: <56D863A1.4040403@yahoo.com> Date: Thu, 3 Mar 2016 11:17:37 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <58622.212.247.8.97.1457015954.squirrel@webmail.alvermark.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 16:19:45 -0000 On 03/03/2016 09:39 AM, Jakob Alvermark wrote: > 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 Wow, awesome! Will try this today, thanks! -- Anthony Jenkins