From owner-freebsd-questions@freebsd.org Thu Feb 4 14:03:49 2016 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 6515DA9CB8E for ; Thu, 4 Feb 2016 14:03:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E6FC3D33 for ; Thu, 4 Feb 2016 14:03:48 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u14E3YSB087533 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 4 Feb 2016 15:03:34 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u14E3Xn5087530; Thu, 4 Feb 2016 15:03:33 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 4 Feb 2016 15:03:33 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Matthias Fechner cc: freebsd-questions@freebsd.org Subject: Re: Switch from legacy to UEFI boot?? In-Reply-To: <56B353E5.9080605@fechner.net> Message-ID: References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 14:03:49 -0000 On Thu, 4 Feb 2016 14:36+0100, Matthias Fechner wrote: > Am 04.02.2016 um 08:49 schrieb Trond Endrestøl: > > If you already use the GPT partitioning scheme and can make some extra > > room on your harddrive, then you'll be able to create a small ESP of > > 800K, and populate that partition with /boot/boot1.efifat. > > > > E.g.: > > > > gpart create -t efi -s 800K -l esp0 ada0 > > gpart bootcode -p /boot/boot1.efifat -i ada0 > > is it true that currently the EFI loaded cannot boot a ZFS root? As of r294999, stable/10's boot1.efi and loader.efi is able to boot ZFS. Both boot1.efi and loader.efi takes the bootfs property into consideration. Finally we can use the familiar loader menu, and not something I last saw when I used FreeBSD 4. If you use BE's, then the loader.efi boot menu lets you select which BE to boot from. It's a dream come true. I was able to scrap the 4 GiB UFS partition I previously used for storing /boot. The laptop behind me is proof enough, although you can't see it and thus not verify my claims. It multiboots Windows 10 and FreeBSD 10, using rEFInd as the boot manager rEFInd is told to load Windows' \EFI\BOOT\BOOTX64.EFI for Windows 10, and \FreeBSD\boot1.efi for FreeBSD 10. The EFI firmware loads the rEFInd boot loader by default, but I have also added EFI boot menu entries for Windows 10 and FreeBSD 10, should rEFInd decide to act up. http://www.rodsbooks.com/refind/ Maybe you should wait until the next stable/10 snapshot is available, as the snapshot from 20150127 is one day or so behind r294999. http://svnweb.freebsd.org/base?view=revision&revision=294999 You can use boot1.efi and loader.efi from the latest head snapshot if you can't wait, I did for one of my newest stable/10 VMs back home. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Thu Feb 4 14:50:47 2016 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 E355FA9A60D for ; Thu, 4 Feb 2016 14:50:47 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182]) (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 BA52F1D74 for ; Thu, 4 Feb 2016 14:50:47 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-ig0-f182.google.com with SMTP id ik10so16575219igb.1 for ; Thu, 04 Feb 2016 06:50:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type :content-transfer-encoding; bh=+ttTgFx7jj+7zv9bLawZ63ze2PWCZSjOj9dk/sdPdlE=; b=hnlJi45PjVoEMK45lxqpuC2G+7HNhnDpfKc6+mckZWHIeUgwhyFmRsAd9mTFZtnIno 7EO1YxkmKgmiHXib0njCEhm5onRYIk2LYFjLRQOv4iP6QF1uVZyPXaLyqVu6arHSRKaP a822dWP99zRY2CdHDusjoYPEdcZw66rT9C02+7JNdETV8InBSiiabaYHfISmrfKXJVkK S4hYv8zgHXf6aQgnf1Q/aUoBngmF6vVCtxS5vdBnlQ3knQcsRYb0N1WwYUDd9jy/7wC6 Qq1s9GVrDwUOaME7RvRXMglVAAYivU1XH0hN9fG/sArNDg2MDlQRChPa6j4QrwkxChiN o3dA== X-Gm-Message-State: AG10YOQRoMTZINIetNC9FM5YHE8G74Xqdhe3OmzTbyhCoU5YAFAlW+2mVKXBF1ehdbA8LA== X-Received: by 10.50.142.9 with SMTP id rs9mr9902810igb.76.1454597446688; Thu, 04 Feb 2016 06:50:46 -0800 (PST) Received: from WorkBox.Home.gmail.com (75-161-209-252.mpls.qwest.net. [75.161.209.252]) by smtp.gmail.com with ESMTPSA id 63sm4943654ion.4.2016.02.04.06.50.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2016 06:50:45 -0800 (PST) References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee To: Trond =?utf-8?Q?Endrest=C3=B8l?= Cc: Matthias Fechner , freebsd-questions@freebsd.org Subject: Re: Switch from legacy to UEFI boot?? In-reply-to: Date: Thu, 04 Feb 2016 08:50:44 -0600 Message-ID: <86k2mk7cmz.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 14:50:48 -0000 Trond Endrestøl writes: > On Thu, 4 Feb 2016 14:36+0100, Matthias Fechner wrote: >> >> is it true that currently the EFI loaded cannot boot a ZFS root? > > As of r294999, stable/10's boot1.efi and loader.efi is able to boot > ZFS. Both boot1.efi and loader.efi takes the bootfs property into > consideration... Maybe you should wait until the next stable/10 > snapshot is available... The ZFS-compatible EFI loader is expected to be ready for 10.3-RELEASE, which is scheduled for about six weeks from now.[1] It may be a bit more or less time than that, depending on how things go, but the first beta snapshot of 10.3 (which is cut from 10-STABLE) is set to be built tomorrow. If you don't want to run a development branch, you won't have much longer to wait. Though once that change happens, you'd have to back up your data and reconfigure your boot scheme to make use of ZFS-compatible UEFI booting. [1]: https://www.freebsd.org/releases/10.3R/schedule.html -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ==================================================================