From owner-freebsd-questions@freebsd.org Thu Feb 11 21:27:19 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 3E466AA5473 for ; Thu, 11 Feb 2016 21:27:19 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 C39EF994 for ; Thu, 11 Feb 2016 21:27:18 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id g62so38891860wme.0 for ; Thu, 11 Feb 2016 13:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xD3FyVAiCvXDrBfwhiamIoW8Xkfh+iuizpF8RKBnXOY=; b=BrRWOYtQ2omirY038W56Wnw7xVf1MROiXbE89Z4HLk9dDZyzIJ+sflaqAP5j486hS/ v2glxOcxLy3npGjO2Ugq6Rchwdutqo/zz2seemoQMxKVYot2lsMK418bLuHCjG1AGin7 sqUIac7kOzXG47pG96U/T8UP0/0v2gkvZq2/EBO0KyjcgL8iibqQeCl3+Rekbs6Kh8T9 eEOm6CGIE6gXi0TQfSrYIQK8LKfoQRvOkfdeLHNGkWbvtrX6fc0CWbvKxYDto0wl9jd3 x7LlABJ1m/eB4Re8DMbpEGvKErMOPYV6J/YCixA24cch3PrxeUsV7qThwieaGrpU2IOQ nTjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xD3FyVAiCvXDrBfwhiamIoW8Xkfh+iuizpF8RKBnXOY=; b=XVNncw67RAt8TLizZEy26g4xORHIzQsn+2TT6HHB3tYS9HvhU0OmFC9c/mjF2cur5r 9P6WIy1l4NF0FcgiSxst6wRrLphU6Zm1ISgdhARgAhaLmHDfiSnJTauiJYDQpZxSmidE DSAfXs/XnauLd1khWufKMmVdvQaSPbRYHg3qp70oi4mmXEl2XEbM0tPJ9ONtqZ1dx6LZ bIZvUDQQnuRt4oQqGw31xDHpKod6IvoyqR+AhV18b36zPjDgCMRQQWzk3AfOybiOfT3W GV1sFxgkey3PLEKA5wr8Lj+P9JiW6WmjQ9/EDzLIKnTrPxxGkeyJeAnMwb56FZCVZ+De OCCg== X-Gm-Message-State: AG10YOSV7v9TGAbf7tY18uk7/WkSRMsgJnRZlIHMglb32/HBtogYna1YTq80z5Kx+3q5Ggp/Smziq79HEfTYrg== MIME-Version: 1.0 X-Received: by 10.194.103.164 with SMTP id fx4mr49096179wjb.56.1455226037357; Thu, 11 Feb 2016 13:27:17 -0800 (PST) Received: by 10.28.31.77 with HTTP; Thu, 11 Feb 2016 13:27:17 -0800 (PST) In-Reply-To: <56BCE92B.7030600@fechner.net> References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> <56BCE92B.7030600@fechner.net> Date: Thu, 11 Feb 2016 21:27:17 +0000 Message-ID: Subject: Re: Switch from legacy to UEFI boot?? From: krad To: Matthias Fechner Cc: =?UTF-8?Q?Trond_Endrest=C3=B8l?= , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 11 Feb 2016 21:27:19 -0000 This is my working layout if it helps # find /boot/efi/ /boot/efi/ /boot/efi/efi /boot/efi/efi/boot /boot/efi/efi/boot/bootx64.efi # gpart show =3D> 34 117231341 ada0 GPT (56G) 34 1024 1 freebsd-boot (512K) 1058 6 - free - (3.0K) 1064 262144 2 efi (128M) 263208 3932154 4 freebsd-swap (1.9G) 4195362 113036013 3 freebsd-zfs (54G) # mount -p | grep efi /dev/ada0p2 /boot/efi msdosfs rw 0 0 On 11 February 2016 at 20:03, Matthias Fechner wrote: > Am 11.02.2016 um 09:58 schrieb Trond Endrest=C3=B8l: > > 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=3Dzfs: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=C3=9F > 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 > _______________________________________________ > 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" >