From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1egEaG-00086E-VO for mharc-grub-devel@gnu.org; Mon, 29 Jan 2018 13:55:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egEaE-00084i-JM for grub-devel@gnu.org; Mon, 29 Jan 2018 13:55:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egEaA-00009f-GW for grub-devel@gnu.org; Mon, 29 Jan 2018 13:55:10 -0500 Received: from mout.gmx.net ([212.227.15.18]:55018) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egEaA-00008C-7b for grub-devel@gnu.org; Mon, 29 Jan 2018 13:55:06 -0500 Received: from scdbackup.webframe.org ([79.222.38.208]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MGj8j-1ebXlO1nUn-00Dac6; Mon, 29 Jan 2018 19:55:03 +0100 Date: Mon, 29 Jan 2018 19:53:54 +0100 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: A thread on grub-bug could need attention Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Cc: michel@bouissou.net References: In-Reply-To: Message-Id: <21287785008382606210@scdbackup.webframe.org> X-Provags-ID: V03:K0:j7dK57n4487RZuZ0cvayHyWRjGY5pceedgxFB1LqjBmVeO+kXRf ira2IeGl3r0KtOFW7cMaV+Fhh8Ni+MfGdLVInIZVVJ3So/uLNBqx03JHaPAUsFGucDX6KJe B/y+RAv81OP21PhxRNOQ+nedpJl9JH6af6gnZtVb4jRQU7WQZ4YL9Vj0D8TSbZHSAQPYX/f uIxHZ1S2Toq3z6tJTALKg== X-UI-Out-Filterresults: notjunk:1;V01:K0:RT3L5Fz9E8A=:7wuvHrVEc4zPio7NCo7s35 RuSZ0hdvatKaIXYFD2cnHLCmlPTBY/4p4aYU+k62kDHxlEIzCUx3m2hW6zbYIXn23NV7m4C5o ezKFecqeswJNPcD9coZ0hxRu+/EOhczGS0cICSFETlbNSk3uCKAtzwUExcQHs+uGANdy64wjC plFgFlA+kL/Q6U7o8xO4ur+yRvju9JfrMcS3UPdlYysrU4s6qf23CiJbC+KP2ncXAoRmVqAvf NeEKgR47UjT41jxGNTAIxBD3oCwyIdocrrd0NyVManbwuJvbqR1JvYFRS/WdVJ/duGUW3M3Mr SOzn4GkJ3Ov8crL+k7K8FDmbO+Qw4l2eHf5fBYdn03eL3Wp1ef1rKGmi3kJL4c/WNq9YmZJ6h DUR93a0/r13KhckYnvrRnskqO7IQSO2Lq4voG6A+tJRkZSdtQWV8x2+NcvH/VETrVdcU8z6NV ZpFb7UXlZ+DUP4ZoRjtvbkl7uZ+TNni/ABHYyp07SjiIrU9LllMPiTS0KmSw70DpyC1iJTmhV KB1wGoTSBR4nZHqrNRRVMoMO+PPTOpodd4fIYih3IscXF9LFp7DlFbnDEqEgVc2cE5s2VuGKT av1n8umAiKwRZSr4m/Kk0PyRpGCaXvVoWpDnSG4KZ11qUZ4TAWL5Em8CkvUbqnnAtco1PgD8Y cdQ/gANs2C35mt/ecqSNjyJHQv72HWuBItBatw2XMQK91qN05U6I442L8k7MfBrs4poV+tYNj f5C/c/+L3UX37VIcgjx533oaiAPNq/qRX/xFK44QTuvVDvS8beUx6m+osmzAqiwyiOBiSWi2V dunhFAIuS3u031zapuTzgnwzIfugoF1G6cr1QwZmd7zNM2eyFg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 18:55:11 -0000 Hi, Daniel Kiper wrote: > > 2) Create EFI System Partition (code EF00) using gdisk. 256.0 MiB will > > suffice. > > 3) Format EFI System Partition > > # mkdosfs /dev/sdb1 > > > >4) Create GRUB2 EFI bootable image > > # mount /dev/sdb1 /mnt > > # mkdir /mnt/efi/boot > > # grub-mkstandalone -O x86_64-efi -o /mnt/efi/boot/bootx64.efi Michel Bouissou wrote: > I tested the USB stick on my son's machine, and I do get a grub prompt. Does this mean that the decisive trick is to use GPT with EFI partition instead of a MBR partition of type 0xEF ? Or is there something missing in the FAT filesystem images of e.g. Debian installation ISOs like https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.3.0-amd64-netinst.iso ? Michel: Does a simple ISO "output.iso" work, when made by mkdir ./minimal echo dummy >./minimal/dummy grub-mkrescue -o output.iso ./minimal and then copied onto the plain USB stick device (e.g. /dev/sdc) ? grub-mkrescue produces valid GPT in ISO 9660. Have a nice day :) Thomas