From owner-freebsd-stable@freebsd.org Fri Dec 16 17:08:35 2016 Return-Path: Delivered-To: freebsd-stable@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 94B38C814E0 for ; Fri, 16 Dec 2016 17:08:35 +0000 (UTC) (envelope-from elferdo@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 61774D79 for ; Fri, 16 Dec 2016 17:08:35 +0000 (UTC) (envelope-from elferdo@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id y23so25122619itc.0 for ; Fri, 16 Dec 2016 09:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=r7OfHuGpV+6isLb0Z7tZNCi3TqrXDWprTv2dmTYLYLI=; b=BFRQP40/fcgHRDlUs3GD5jU78q6lyIZYMQ+hnbp8MMA1gfO2eRMBsj9rqXP/DgQat6 qs9QmGRuBdQxMlPGWhXB2LLP+bfmr4QW7l+rgSPvSkWlG77JF02dkc0EPX8Ebc4hXp0z hm50PLhYdF/FI/bscpDjx9qq3meZJm1RbIOR8rnjsozXYgFtCt06JgbATQk0MXB1ipop kQJxLiOPsOV8ivVU4cvvi3gzmNxAPj99bYKUhvv8RAu3DdkJSHldXeOPk7u5OYlTdFZi +kbnGzCPhbhFpdSOvwE+0Id55ymHKSrTJ6XIWQTa8FBLQV+6ud6RKtzkX7kKvwNk+T1F Lg3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=r7OfHuGpV+6isLb0Z7tZNCi3TqrXDWprTv2dmTYLYLI=; b=mq6SXkRmJq01/ws2poN4pb7wXns5dJxwoXkbiKKh5tiRZ1zYSPFaBvQxfgFiaHPYyS KxoAQIv2sVXgmx2d2ZdiAqH3QqZfDfiRyh9Vqxzv+xUKVzSAP/95vVkJGNoMBRdEHZvs v/J9K1Xy9Xm6s/fuPmruEiqVKyrAP2D8rLe9CXoWghf+u6TXC33UzQ+QcqxAhcbTGDrB WCpIao8Q96ia0mSY0YW+ihS+KUGkcbxfjO0pohMe/rru1c5s7Y0caTxwMvzvcFQeu5py yGteJkKGF5tuVUKUE7joO+QqPTsuIlCDnrSFR93uW/yXy9QYZF++lcdsjd7Ak9vx3vC3 PoQg== X-Gm-Message-State: AKaTC03DZmzxViw5SELNIODR482Vv6mpC4uAeybMeP2TT0l1PX3VJgnFFGAhN3bOQ5ca3k0v9uAWKhfmvKwTdg== X-Received: by 10.36.5.198 with SMTP id 189mr3728619itl.115.1481908114648; Fri, 16 Dec 2016 09:08:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.43.67 with HTTP; Fri, 16 Dec 2016 09:08:34 -0800 (PST) From: =?UTF-8?Q?Fernando_Herrero_Carr=C3=B3n?= Date: Fri, 16 Dec 2016 18:08:34 +0100 Message-ID: Subject: Upgrading boot from GPT(BIOS) to GPT(UEFI) To: freebsd-stable Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2016 17:08:35 -0000 Hi everyone, A few months ago I got myself a new box and I have been happily running FreeBSD on it ever since. I noticed that the boot was not as fast as I had expected and I've realized that, while my disk is GPT partitioned, the boot process is still BIOS based: % gpart show => 34 976773101 ada0 GPT (466G) 34 6 - free - (3.0K) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 67108864 2 freebsd-swap (32G) 67110912 909662208 3 freebsd-zfs (434G) 976773120 15 - free - (7.5K) I am reading uefi(8) and it looks like FreeBSD 11 should be able to boot using UEFI straight into ZFS, so I am thinking of converting that freebsd-boot partition to an EFI partition, creating a FAT filesystem and copying /boot/boot.efi there. How good of an idea is that? Would it really be that simple or am I missing something? My only reason for wanting to boot with UEFI is faster boot, everything is working fine otherwise. Thanks in advance for your help. Best, Fernando