From owner-freebsd-stable@freebsd.org Mon Nov 7 08:17:12 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 D685DC33B19 for ; Mon, 7 Nov 2016 08:17:12 +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 5A6421223 for ; Mon, 7 Nov 2016 08:17:12 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id uA78HAGk052677; Mon, 7 Nov 2016 09:17:10 +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 725AFB1F; Mon, 7 Nov 2016 09:17:10 +0100 (CET) Message-ID: <58203886.90908@omnilan.de> Date: Mon, 07 Nov 2016 09:17:10 +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> <5820359F.7050307@omnilan.de> In-Reply-To: <5820359F.7050307@omnilan.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:17:10 +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:17:12 -0000 Bez=C3=BCglich Harry Schmalzbauer's Nachricht vom 07.11.2016 09:04 (loca= ltime): > Bez=C3=BCglich Patrick M. Hausen's Nachricht vom 07.11.2016 08:10 (loca= ltime): >> 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 t= he >>> 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 And you possibly run into other firmware problems by again using EFI as label. I don't know the standards, but it's obvious that at least one unexpected label/path interference causes problems, so it's better not to provoke another one which possibly affects only very few implementations, but causes needless trouble. Better use something like 'gpart add -t efi -l A-uefiLOADER -a 512k -s 512k ' (resulting in /dev/gpt/A-uefiLOADER to be used insteaad of /dev/gpt/efi for the following commands) I personally prefer the "A-" prefix is to describe that it's the 1st mirror component=E2=80=A6 Change it to whatever you like. >> 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 -Harry