From owner-freebsd-current@freebsd.org Fri Jul 6 06:34:26 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E72191044252; Fri, 6 Jul 2018 06:34:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 61A188E18F; Fri, 6 Jul 2018 06:34:24 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 77bbdee2; Fri, 6 Jul 2018 08:34:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h= mime-version:content-type:content-transfer-encoding:date:from:to :cc:subject:in-reply-to:references:message-id; s=mail; bh=YnLBqh RxU1q1OcMDid8ZGxWT9d4=; b=ZWd4fw6/Efbw5KEWX7VuR1nZifGi/KWLq93rzs ltfiE7LJC3VGe5aptxog91uXuW8Gl8fDumlClSmG7c4VvuXMK3oyX5pQJREqBRqf ct3unbDAlgu+HJEdLYBqBhm4JSQZdO1m7njPxDzkg4xyR6yGynGplNYQVEQzKSnX UspZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h= mime-version:content-type:content-transfer-encoding:date:from:to :cc:subject:in-reply-to:references:message-id; q=dns; s=mail; b= f8VMTPrUaEz7HXGeIlxNqmR5GLR/9Pb2ehSX+ZhW297v4++ne/zWBmoymWr15uea Lbj04gU4d0U6ZMPD6U5ZoFith0C1pvp/t03/s0qO4zAf+eEiEvJiNkm+qUet3msv 5nv/I1WNllATU/gyHLZ79tHYu9xcT83VjIVN0xHtLpo= Received: from webmail.megadrive.org (www1.blih.net [212.83.177.180]) by mail.blih.net (OpenSMTPD) with ESMTP id d8ba9951; Fri, 6 Jul 2018 08:34:22 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 06 Jul 2018 08:34:22 +0200 From: Emmanuel Vadot To: Warner Losh Cc: "Rodney W. Grimes" , "Bjoern A. Zeeb" , FreeBSD Current , owner-freebsd-current@freebsd.org Subject: Re: EFI booting from external USB pen drive Organization: Bidouilliste In-Reply-To: References: <6889B6B2-A102-4832-9319-124CEE081784@lists.zabbadoz.net> <201807060111.w661BEbj050010@pdx.rh.CN85.dnsmgr.net> Message-ID: X-Sender: manu@bidouilliste.com User-Agent: Roundcube Webmail/1.1.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Fri, 06 Jul 2018 06:34:26 -0000 On 2018-07-06 04:17, Warner Losh wrote: > On Thu, Jul 5, 2018 at 7:11 PM, Rodney W. Grimes < > freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: > >> > On 5 Jul 2018, at 18:18, Rodney W. Grimes wrote: >> > >> > > [ Charset UTF-8 unsupported, converting... ] >> > >> On 5 Jul 2018, at 17:19, Warner Losh wrote: >> > >> >> > >>> FAT12 isn't good for UEFI. Use FAT16 or FAT32. >> > >> >> > >> We use it for the default image we built and the wiki suggests it as >> > >> well at https://wiki.freebsd.org/UEFI#CD.2FDVD_Boot_under_UEFI >> > > >> > > IIRC FreeBSD recently cnahged to FAT16 or 32 on these >> > > as the size got pushed up to be larger than what FAT12 >> > > can access. >> > >> > https://svnweb.freebsd.org/base/head/stand/efi/boot1/ >> generate-fat.sh?annotate=332561#l45 >> > >> > nope. >> >> That is not the code we build release images with, >> that is Warners tests for the boot loader. >> > > No, that's the actual code that generates boot1.efiffat. > > Warner Yup, and EFI have no problem at all with this. FAT12 can work with all EFI implementation, the problem is the size of the FAT12 part that sometimes causes problems. Rod, you are refering to the arm images which do not uses makefs or generate-fat.sh but using md device and newfs_msdos. -- Emmanuel Vadot