From owner-freebsd-questions@freebsd.org Sun Jul 29 12:23:58 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 831C11055C8C for ; Sun, 29 Jul 2018 12:23:58 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 17C4C7F3A5 for ; Sun, 29 Jul 2018 12:23:57 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id w6TCNtZT092654 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 29 Jul 2018 12:23:56 GMT (envelope-from list1@gjunka.com) To: FreeBSD Questions Mailing List From: Grzegorz Junka Subject: How to debug ZFS boot on UEFI? Message-ID: <4a382c1b-8785-c01b-b8bd-83894883c935@gjunka.com> Date: Sun, 29 Jul 2018 12:23:55 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB-large X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2018 12:23:58 -0000 Hi, I've followed (more or less) this thread: http://daemonforums.org/showthread.php?t=10444 I have two disks nvd0 and nvd1 with three partitions on each: efi, freebsd-swap and freebsd-zfs. I've created the ZFS pool and installed FreeBSD manually (because on nvd1 I have also a few partitions used by Windows). On nvd1p1 I've created the hierarchy of files as outlined in the post: efi/boot/BOOTx64.efi (copied from /boot/boot1.efi boot/loader.rc (with the content as outlined in the post) In UEFI boot menu I can see all partitions (Windows, UEFI shell, UEFI USB stick for 11.2, and the one I created). Booting from any partition works apart from the one I created - when that partition is selected UEFI shows a black screen for a second and then goes back to the boot menu. How can I debug what's wrong? Thanks GrzegorzJ