From owner-freebsd-bugs@freebsd.org Sun Nov 6 19:54:00 2016 Return-Path: Delivered-To: freebsd-bugs@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 D0962C331CE for ; Sun, 6 Nov 2016 19:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 A65B1125F for ; Sun, 6 Nov 2016 19:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA6Js0r7030860 for ; Sun, 6 Nov 2016 19:54:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214282] UEFI boot fails due to boot1.efifat's volume label "EFI " Date: Sun, 06 Nov 2016 19:54:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bugzilla.freebsd@omnilan.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 19:54:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214282 Bug ID: 214282 Summary: UEFI boot fails due to boot1.efifat's volume label "EFI " Product: Base System Version: 11.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: bugzilla.freebsd@omnilan.de At least on Intel single socket servers the UEFI firmware can't handle the msdosfs (FAT12) volume label"EFI ", which is currently used with "/boot/boot1.efifat" image (tested on 11-release, most likely also on 10.3-release). Firmware's boot process somehow confused the label "EFI" with the boot path, also containing EFI (as far as I remember the meaning of the failure messag= e). Affected systems are S1200BT and S1200v3RP e.g. Simply reformatting with a different volume label solved the problem. According to Dimitry Andric, it's easily fixable for build process by chang= ing the label name in "sys/boot/efi/boot1/generate-fat.sh". Sorry, I don't have sources handy right now, so no patch attached. Could suggest one of course, but would take longer to process the one from here instead of direct edit I guess ;-) Besides changing boot1.efifat, bsdinstall could be modified to work arround; but that's not the right thing IHMO. People affected (or unsure if they also suffer from this firmware obstacle) could try the following (assuming index 1 of /dev/da0's GPT is the EFI-sys-part): 'newfs_msdos -L DA0BOOT1 /dev/da0p1 && mount /dev/msdosfs/DA0BOOT1 /mnt' 'mkdir -p /mnt/EFI/BOOT && cp /boot/boot1.efi /mnt/EFI/BOOT/BOOTx64.efi' 'echo "BOOTx64.efi" > mnt/EFI/BOOT/startup.nsh && umount /mnt' Just in case this report is found while people are searching for solution= =E2=80=A6 -harry --=20 You are receiving this mail because: You are the assignee for the bug.=