From owner-freebsd-questions@freebsd.org Thu Jul 20 16:49:14 2017 Return-Path: Delivered-To: freebsd-questions@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 BA654C7BE57 for ; Thu, 20 Jul 2017 16:49:14 +0000 (UTC) (envelope-from erisianash@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 77462702A2 for ; Thu, 20 Jul 2017 16:49:14 +0000 (UTC) (envelope-from erisianash@gmail.com) Received: by mail-qk0-x231.google.com with SMTP id t2so13095796qkc.1 for ; Thu, 20 Jul 2017 09:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=gJbi4/xifjaDkep2NYnLFrOtuas38VMhueXP8GeePL0=; b=Ak9AUQ4vt7YSneneL70IESGazy3toe5pqPAcgEej4tLkZrFSoc8//jHhEGUoW6i9zm 4bAO5TDihpISBe0t2EqPPrXpPlol00qplxbeDuZJTsFhKjpZ0ByzTop3W08BkpOZgfD9 bfAFKzZylm5GolMf7zwbW1Q0rftaAQ8KziOhGtQuBH4FIev8Dmu/e0ptzrxoiQOdo3E7 XuZxK8EmburAyrh1csuuoh+Yj5ltEhMzzH4JsCd0eHjxXd8MQ/nZWrbi8z3AaVIU10Ml FWt1opysqTf1UKaH2v4l/adQWN4yiM879vFVefHjNDR5saaH3WxkmMWVwS48VoNSVpKQ rKOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gJbi4/xifjaDkep2NYnLFrOtuas38VMhueXP8GeePL0=; b=uJ+lPIjj3JTw6XQuudUc4BxGlyQBRnmJYyldWAFCH90gPS8b8sBCyMFUEQxj4ekAbD ySRtSsjo39rA6MYtRhSWrq4vnOUt8SlI80AOmPhiWlmf0E0RFZZgjt0drqFcrWLPc5Gc YvxREfwdijCHhCAIYH9OQ8YKV37gbN3URiqbMAsfQ5OemAyHAIx6HGvBF7jGq3p6kSmf 8ouz2x91th3Fmx9TPZYQjpPFmUk4z3MV4mCQH8PSZUSZJoteFVQitohSk9i9C/v+u+ld xnacd85P4iRGg+zWyMMfCvkC6WyOnXJkIImL/RQZoX9tmyI5kK2hAiijsUvghfKxD9a/ 6FzQ== X-Gm-Message-State: AIVw112otr2/UM6a4DNVmWjes+Og4D3afw68lTrdZg05YF6LeQVKFNzo pHchnm0VxEhwUlyoJu7fF6BSIAJ3LsuV/7I= X-Received: by 10.55.65.22 with SMTP id o22mr5303088qka.213.1500569353378; Thu, 20 Jul 2017 09:49:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.86.197 with HTTP; Thu, 20 Jul 2017 09:49:12 -0700 (PDT) In-Reply-To: References: From: Ashley Chase Date: Thu, 20 Jul 2017 09:49:12 -0700 Message-ID: Subject: Re: UEFI booting question To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 16:49:14 -0000 iOn Thu, Jul 20, 2017 at 8:35 AM, DTD wrote: > I have installed FreeBSD 10.3 into a partition but am unable to figure out > how to get rEFInd boot the partition. The gpart list shows the following (I > have filled in info from Windows dispart also): > > ada0 GPT (932G) > -free- 1.0M > ada0p1 EFI 1.0M K > ada0p2 ms-reserved 16M > ada0p3 ms-basic-data 446G C Windows > ada0p8 EFI 1.0G > ada0p9 freebsd-swap 4.0G > ada0p10 freebsd-ufs 438G > -free- 241M > ada0p4 ms-basic-data 25G D LENOVO > ada0p5 !de94bba... 1.0G WINRE_DRV > ada0p6 !de94bba... 15G LENOVO_PART > ada0p7 !bfbfafe7... 1.0G > -free- 712K > It seems odd to me that you have 2 EFI partitions. Where did the second ada0p8 come from? > I do not know what to do from here. gpart set -a actvie ada0 breaks all > except from booting from the CD. geom=ada0 is the only accepted target for > set. > Check out uefi(8) man page. Assuming you have refind installed, you should be able to copy /boot/loader1.efi to your ESP after mounting it. (The EFI System Partition is just an FAT32 filesystem. Refind should find the efi executable automatically. If you don't have refind installed. look at the instructions for manually installing on linux. You'll have to rename refind_x64.efi to bootx64.efi because FreeBSD doesn't have efibootmgr. You may need to grow the ESP to fit refind or trim down the refind files. Also, if you go resizing Windows partitions MAKE SURE to fully shutdown Windows or disable "rapid startup" or whatever it's called if you're running Windows 8 or newer. > Killing windows is not a deal breaker for me (I tried to get the laptop w/o > an O/S). I can not tell if doing a full disk install will revert all to a > legacy BIOS setup. > If you boot with UEFI when installing, you should have the choice to install using GPT or MBR partitioning and BIOS or UEFI bootloader. On Thu, Jul 20, 2017 at 8:35 AM, DTD wrote: > I have installed FreeBSD 10.3 into a partition but am unable to figure out > how to get rEFInd boot the partition. The gpart list shows the following (I > have filled in info from Windows dispart also): > > ada0 GPT (932G) > -free- 1.0M > ada0p1 EFI 1.0M K > ada0p2 ms-reserved 16M > ada0p3 ms-basic-data 446G C Windows > ada0p8 EFI 1.0G > ada0p9 freebsd-swap 4.0G > ada0p10 freebsd-ufs 438G > -free- 241M > ada0p4 ms-basic-data 25G D LENOVO > ada0p5 !de94bba... 1.0G WINRE_DRV > ada0p6 !de94bba... 15G LENOVO_PART > ada0p7 !bfbfafe7... 1.0G > -free- 712K > > I do not know what to do from here. gpart set -a actvie ada0 breaks all > except from booting from the CD. geom=ada0 is the only accepted target for > set. > > Killing windows is not a deal breaker for me (I tried to get the laptop w/o > an O/S). I can not tell if doing a full disk install will revert all to a > legacy BIOS setup. > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Ashley Chase