From owner-freebsd-current@FreeBSD.ORG Tue Sep 16 21:32:33 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AABF95CB; Tue, 16 Sep 2014 21:32:33 +0000 (UTC) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62A34F06; Tue, 16 Sep 2014 21:32:33 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id rp18so521294iec.0 for ; Tue, 16 Sep 2014 14:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=T93BYzNCQLPPKbtySfSXpFfXSBmat0/pWCrie7j18Ns=; b=r41fHI/fecHT9wm6BhSW206IWdVJO9k8m4w3UcWTk3nTTb6yyUpoBM5LY2LoIgcnQA FDvafY3+LUUY+sKRZrULrS4fbnO1rQpWO9yy6CAtdVjHFEZlHtZR6io7L7W7LGNKBkVo PClzSxFu6DGDKPB466tOhpnFHzTakxHAoBA0nXPNr7B1ttPnlZ0c3tAttBWncgqCF3IQ 4AvRuWaeqzOi2roQNbWZ57U0g2bXON8+ng0HuNfJHl7bN9wSNZKaoZZy+m+bGXWaZF7m 7yzCBWx8sDV9yqbIMEmPz6+26KVuCsHBvPwJZpehnlGO6W/r5UsxBSuYXW33W62vjO3z IBaA== X-Received: by 10.50.41.8 with SMTP id b8mr1495913igl.11.1410903152695; Tue, 16 Sep 2014 14:32:32 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.44.196 with HTTP; Tue, 16 Sep 2014 14:32:12 -0700 (PDT) In-Reply-To: <20140916230348.189e80cd.ohartman@zedat.fu-berlin.de> References: <20140916020541.03c18d04.ohartman@zedat.fu-berlin.de> <54178607.1060305@freebsd.org> <541786BE.6010105@freebsd.org> <20140916075121.29989a53.ohartman@zedat.fu-berlin.de> <5417E20D.8070607@freebsd.org> <20140916230348.189e80cd.ohartman@zedat.fu-berlin.de> From: Ed Maste Date: Tue, 16 Sep 2014 17:32:12 -0400 X-Google-Sender-Auth: 0VttDLLXo8dyv-QOgz-FQL2JWGA Message-ID: Subject: Re: CURRENT: EFI boot failure To: "O. Hartmann" Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Current , Nathan Whitehorn , Allan Jude X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 21:32:33 -0000 On 16 September 2014 17:03, O. Hartmann wrote: > > In that case, is it still /boot/boot1.efifat or is it /boot/boot1.efi? What is the > difference? Is the efi partition FAT? An EFI system partition (ESP) is a FAT-formatted partition with a specific GPT or MBR identifier and file system hierarchy; EFI firmware will try to load /EFI/BOOT/BOOTX64.EFI from the ESP. boot1.efi is an EFI application - that is, a PECOFF format binary. It searches for a UFS filesystem and loads loader.efi from that. It is intended to simplify the UEFI boot process, so that loader.efi, the .4th files, loader.conf etc. do not all need to be installed in the ESP. boot1.efifat is a FAT filesystem image that contains a copy of boot1.efi as /EFI/BOOT/BOOTX64.EFI. It exists so that the installer can treat it as opaque bootcode, like other boot schemes. It's certainly possible to create a partition, use newfs_msdos to format it, and copy in boot1.efi instead. > It is one disk, dedicated to FreeBSD (a laptop disk). Is there any documentation readable > for non-developer for that matter? I'm curious about how EFI works on FreeBSD. Better user-facing documentation is in progress; for now the best source is probably the wik.