From owner-freebsd-questions@freebsd.org Thu Feb 11 20:04:04 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 0E994AA4C15 for ; Thu, 11 Feb 2016 20:04:04 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C67871C89 for ; Thu, 11 Feb 2016 20:04:03 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-88-217-181-144.dynamic.mnet-online.de [88.217.181.144]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 2F2C9198EDD; Thu, 11 Feb 2016 21:04:01 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 2F2C9198EDD Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1455221041; bh=YNlfDo7kryE9+AC/Iy54v91glKZ5fgfNXtSu1YCUdvg=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=JggLjAPBUUZPS/jXRjzJA/3m29n6Anu14pjDQrl9NZkh9r+ToPc1lbKGmIQBSQTIN h0P1bN6gMYNy7AhCUekCJmMn9miX4apertL7cNoEeaG3w3Gkp0YKClqL78c2R+LMzG uPlGTgS8Vd6+Uh59s0L8oasBySh7NaCarNSN/NME= Received: from [192.168.0.151] (aftr-88-217-181-144.dynamic.mnet-online.de [88.217.181.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 8517EC571C; Thu, 11 Feb 2016 21:04:00 +0100 (CET) Subject: Re: Switch from legacy to UEFI boot?? To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> Cc: freebsd-questions@freebsd.org From: Matthias Fechner Message-ID: <56BCE92B.7030600@fechner.net> Date: Thu, 11 Feb 2016 21:03:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 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, 11 Feb 2016 20:04:04 -0000 Am 11.02.2016 um 09:58 schrieb Trond Endrestøl: > I don't use any loader.rc on the ESP. Just boot1.efi renamed to > /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the > bootpool/rootpool, and navigates to the correct /boot directory to > find everything else. I tried it is using the loader.efi and the boot1.efi (stored in as efi/boot/BOOTx64.efi). If I remove the loader.rc it will stop booting. I get: can't load 'kernel' if I type: set currdev=zfs:zroot/ROOT/default: load boot/kernel/kernel load boot/kernel/zfs.ko boot it works. The bootfs property is set on the pool: root@test1:~ # zpool get bootfs NAME PROPERTY VALUE SOURCE zroot bootfs zroot/ROOT/default local Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook