From owner-freebsd-stable@freebsd.org Mon Nov 7 08:04:53 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 63BFFC333DE for ; Mon, 7 Nov 2016 08:04:53 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01B7C8DA for ; Mon, 7 Nov 2016 08:04:52 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id uA784mG9052494; Mon, 7 Nov 2016 09:04:48 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 90F2AB17; Mon, 7 Nov 2016 09:04:48 +0100 (CET) Message-ID: <5820359F.7050307@omnilan.de> Date: Mon, 07 Nov 2016 09:04:47 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: "Patrick M. Hausen" CC: freebsd-stable@freebsd.org Subject: Re: boot1.efifat's FAT12 volume label prevents booting (some systems) References: <581F4748.9030706@omnilan.de> <6230313A-3141-44F9-B056-4CAD8536B6FE@punkt.de> In-Reply-To: <6230313A-3141-44F9-B056-4CAD8536B6FE@punkt.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Mon, 07 Nov 2016 09:04:48 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) 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: Mon, 07 Nov 2016 08:04:53 -0000 Bezüglich Patrick M. Hausen's Nachricht vom 07.11.2016 08:10 (localtime): > Hi, all, > >> Am 06.11.2016 um 18:14 schrieb Dimitry Andric : >> >> Please do, so it is not forgotten. It is relatively easy to change the >> volume label, by editing sys/boot/efi/boot1/generate-fat.sh, and then >> regenerating the FAT templates. > > Why use the pre-generated image at all when you can easily It's what bsdinstall seems to do, which left the system unbootable, not what I do. > create the EFI boot volume like this? > > gpart add -t efi -l efi -a 512k -s 512k > newfs_msdos /dev/gpt/efi > mount_msdosfs /dev/gpt/efi /mnt > mkdir -p /mnt/efi/boot > cp /boot/boot1.efi /mnt/efi/boot/bootx64.efi You are missing startup.nsh... See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214282https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214282 -Harry